Public Member Functions | |
| def | __init__ |
| Constructor. | |
| def | createSignalSlots |
| Set up initial signal-slot connections. | |
| def | setupDataReader |
| Sets up a datareader instance,. | |
| def | addWindow |
| Add a widget as a MDI window to the MDI area. | |
| def | updateProgressBar |
| Display progress on the status bar: text1progresstext2. | |
| def | addParticlePropertiesWindow |
| create a new particle properties window. | |
| def | statusBarMessage |
| def | loadxpfFile |
| Loads an xpf file. | |
Public Attributes | |
| ui | |
| mdiArea | |
| optionWidget | |
| optionWindow | |
| prefWin | |
| dataWindow | |
| runInfo | |
| plotterInfo | |
| anal | |
| progressBar | |
| def CMainWindowModule::CMainWindow::__init__ | ( | self | ) |
Constructor.
Sets up some child widgets, and signals<-->slots
| def CMainWindowModule::CMainWindow::addParticlePropertiesWindow | ( | self, | ||
particleIndex = 0 | ||||
| ) |
create a new particle properties window.
Don't do any bookkeeping: it's a child widget of the main window so we let Qt handle things.
| particleID | if a valid index (i.e. >= 0) is specified then this particle is loaded immediately. Otherwise the user must specify a number |
| def CMainWindowModule::CMainWindow::addWindow | ( | self, | ||
| widget | ||||
| ) |
Add a widget as a MDI window to the MDI area.
| def CMainWindowModule::CMainWindow::loadxpfFile | ( | self, | ||
| xpffile | ||||
| ) |
Loads an xpf file.
Based on that file:
| def CMainWindowModule::CMainWindow::setupDataReader | ( | self | ) |
Sets up a datareader instance,.
A datareader instance of CDataReader (actually an instance from a derived class, e.g. CDataGadget) is created. If the user can choose which reader type he/she/it wants (e.g. when multiple readers are implemented) this _and_ createSignalSlots should be the only place where something needs to be changed (if construction for instantiating glob.globals.datareader).
1.5.8