MagicSmoke
$VERSION$
|
An editor for ticket templates. More...
#include <odfedit.h>
Public Slots | |
void | loadFile (QString, bool isTemplate=true) |
loads a template file, this is a helper for openFile and download More... | |
void | openFile (bool isTemplate=true) |
shows a file open dialog and then opens the selected file More... | |
void | openFile2 () |
shows a file open dialog and then opens the selected file More... | |
void | saveFile () |
saves the file - if it is local, otherwise calls saveFileAs More... | |
void | saveFile (QString) |
helper for saveFile and upload More... | |
void | saveFileAs () |
asks for a new file name More... | |
Signals | |
void | getEvent (int &, bool &) |
used to select an event More... | |
void | switchStack (int) |
used to switch to the correct editor widget More... | |
Public Member Functions | |
MOdfEditor (QWidget *parent=0, Qt::WindowFlags f=0) | |
instantiates the editor More... | |
virtual | ~MOdfEditor () |
clean it up More... | |
An editor for ticket templates.
MOdfEditor::MOdfEditor | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
instantiates the editor
References displayColorHelper(), openFile(), openFile2(), saveFile(), saveFileAs(), and switchStack().
|
virtual |
clean it up
|
signal |
used to select an event
|
slot |
loads a template file, this is a helper for openFile and download
Referenced by openFile().
|
slot |
shows a file open dialog and then opens the selected file
References currentDir(), loadFile(), and setCurrentDir().
Referenced by MOdfEditor(), and openFile2().
|
slot |
shows a file open dialog and then opens the selected file
References openFile().
Referenced by MOdfEditor().
|
slot |
saves the file - if it is local, otherwise calls saveFileAs
References saveFileAs().
Referenced by MOdfEditor(), and saveFileAs().
|
slot |
helper for saveFile and upload
|
slot |
asks for a new file name
References saveFile(), and setCurrentDir().
Referenced by MOdfEditor(), and saveFile().
|
signal |
used to switch to the correct editor widget
Referenced by MOdfEditor().