#include <OpenMS/APPLICATIONS/INIFileEditorWindow.h>
Public Slots | |
bool | openFile (const String &filename="") |
loads the xml-file into a Param object and loads Param into ParamEditor | |
bool | saveFile () |
saves the users changes in a xml-file if the Param object is valid | |
bool | saveFileAs () |
like saveFile but with a file dialog to choose a filename | |
void | updateWindowTitle (bool) |
if the user changes data in ParamEditor the title shows a '*' | |
Public Member Functions | |
INIFileEditorWindow (QWidget *parent=0) | |
menu is created here | |
void | closeEvent (QCloseEvent *event) |
when user closes window a message box asks the user if he wants to save | |
Private Attributes | |
ParamEditor * | editor_ |
ParamEditor object for visualization. | |
Param | param_ |
Param object for storing data. | |
QString | filename_ |
filename of xml-file to store the Param object |
INIFileEditorWindow | ( | QWidget * | parent = 0 |
) |
menu is created here
void closeEvent | ( | QCloseEvent * | event | ) |
when user closes window a message box asks the user if he wants to save
bool openFile | ( | const String & | filename = "" |
) | [slot] |
loads the xml-file into a Param object and loads Param into ParamEditor
bool saveFile | ( | ) | [slot] |
saves the users changes in a xml-file if the Param object is valid
bool saveFileAs | ( | ) | [slot] |
like saveFile but with a file dialog to choose a filename
void updateWindowTitle | ( | bool | ) | [slot] |
if the user changes data in ParamEditor the title shows a '*'
ParamEditor* editor_ [private] |
ParamEditor object for visualization.
Generated Tue Apr 1 15:36:42 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |