Classes | |
| class | mainPanel |
Functions | |
| def | __init__ |
| def | GetCdb |
| def | GetVisWindow |
| def | GetSelectWindow |
| def | GetAreaWindow |
| def | CloseAreaWindow |
| def | OnDbUpdate |
| def | OnSashDrag |
| def | OnSize |
Variables | |
| int | ID_SELECT_WINDOW = 5101 |
| int | ID_SELECT_SASH = 5102 |
| int | ID_VIS_WINDOW = 5103 |
| int | ID_WINDOW_LEFT1 = 5104 |
| int | ID_RIGHT_SASH = 5106 |
| int | ID_RIGHT_PANEL = 5107 |
| main | |
| def mainPanel::__init__ | ( | self, | ||
main = None, |
||||
parent = None, |
||||
name = None, |
||||
modal = 0, |
||||
fl = 0 | ||||
| ) |
Constructor.
- parent window (usually mainWindow) - window id set by parent - reference to the MainWindow instance
Definition at line 49 of file mainPanel.py.
| def mainPanel::CloseAreaWindow | ( | self, | ||
| close | ||||
| ) |
Close or open the miniature window.
- True if the miniature window should be closed, False if it should be shown
Definition at line 120 of file mainPanel.py.
| def mainPanel::GetAreaWindow | ( | self | ) |
Return the miniature window instance
!return - instance of the miniature window
Definition at line 112 of file mainPanel.py.
| def mainPanel::GetCdb | ( | self | ) |
Return reference to the ConfDB
!return - reference to the ConfDB.
Definition at line 87 of file mainPanel.py.
| def mainPanel::GetSelectWindow | ( | self | ) |
Return the selection window instance
!return - instance of the selection window
Definition at line 104 of file mainPanel.py.
| def mainPanel::GetVisWindow | ( | self | ) |
Return the visual window instance
!return - instance of the visual window
Definition at line 95 of file mainPanel.py.
| def mainPanel::OnDbUpdate | ( | self, | ||
| evtReason, | ||||
| cdb | ||||
| ) |
Inform other windows that the state of the database changed Inherited from dbUpdate interface class
- constant telling current state of ConfDB (DB_DISCONNECTED or DB_CONNECTED) - reference to the ConfDB class
Definition at line 135 of file mainPanel.py.
| def mainPanel::OnSashDrag | ( | self, | ||
| event | ||||
| ) |
When the sash between the visual window and the selection window is being dragged; the size of the two windows are being resized.
Definition at line 144 of file mainPanel.py.
| def mainPanel::OnSize | ( | self, | ||
| event | ||||
| ) |
Resize the windows on resize event The visWindow should get all the space left.
Definition at line 165 of file mainPanel.py.
int mainPanel::ID_RIGHT_PANEL = 5107 [static] |
Definition at line 33 of file mainPanel.py.
int mainPanel::ID_RIGHT_SASH = 5106 [static] |
Definition at line 32 of file mainPanel.py.
int mainPanel::ID_SELECT_SASH = 5102 [static] |
Definition at line 29 of file mainPanel.py.
int mainPanel::ID_SELECT_WINDOW = 5101 [static] |
Definition at line 28 of file mainPanel.py.
int mainPanel::ID_VIS_WINDOW = 5103 [static] |
Definition at line 30 of file mainPanel.py.
int mainPanel::ID_WINDOW_LEFT1 = 5104 [static] |
Definition at line 31 of file mainPanel.py.
Definition at line 52 of file mainPanel.py.
1.5.3