class DSC(QMainWindow) This class is the main part of the GUI. It
contains all functions to create the GUI interface. It is the only class
in the project, which uses the PyQT Framework. The interfaces to other
classes is based on Python standard data types as dictionary, list, etc.
To start the GUI create an object of the DSC class and the GUI will
start.
Attention: The DSC starts an event bases loop. So the python programm
which started the GUI will be terminated when the GUI is closed! An
interactive console mode in the GUI is planned but not yet
implemented.
|
|
|
|
|
keyPressEvent(QEvent)
overrides original keyPressEvent() |
source code
|
|
|
timerEvent(QEvent)
overrides original timerEvent() |
source code
|
|
|
__createDataView()
builds the content of the Evaluator tab |
source code
|
|
|
__createPlaner()
builds the content of the Planer tab |
source code
|
|
|
__createSettingSection()
builds the content of the parameter section of the Planer Tab |
source code
|
|
|
__changeParamLayout()
switches between the different algorithm parameter layouts |
source code
|
|
|
|
|
__newFile(string)
this function creates a new XML file either for datafiles or plots |
source code
|
|
|
__newXMLDataFile()
a transmission function for correct call of __newFile(string) |
source code
|
|
|
__newXMLPlotFile()
a transmission function for correct call of __newFile(string) |
source code
|
|
|
|
|
__openXMLFile(path)
opens the XMLFile under path |
source code
|
|
|
__infoText(string)
shows the string in the information area in planer tab |
source code
|
|
|
__generate()
generates a table entry in planer tab with the selected parameters |
source code
|
|
|
__refreshPlaner()
this function is used to display the generated trials in the table of
the planer tab |
source code
|
|
|
__plannedChangeIndex(string)
this function is used to change the order in the table of the planer
tab |
source code
|
|
|
__refreshBrowser(parser)
this function is used to read the data from the given XML file as
parser |
source code
|
|
|
__dataview_fit()
fits the data explorer column size to content |
source code
|
|
|
__datainfo()
this function shows the information about a datafile |
source code
|
|
|
__popUp(warn_text)
displays a dialog with the text given by warn_text |
source code
|
|
|
__startCalc()
starts the preparation for the calculation of data files |
source code
|
|
|
|
|
__runCalc()
runs calculation in seperate thread |
source code
|
|
|
__finishCalc()
writes new content into XML file |
source code
|
|
|
__evaluate(buttonname)
in this version it shows a dialog to adjust diagram option |
source code
|
|
|
__showDiagram()
calls the evaluation function |
source code
|
|
|
__gen_info_func(string)
defines a dynamic function for the call of __infoText(string) |
source code
|
|
|
__gen_eval_func(string)
defines a dynamic function for the call of __evaluate(string) |
source code
|
|
|
__gen_index_change_func(string)
defines a dynamic function for the call of plannedChangeIndex(string) |
source code
|
|