MagicSmoke  $VERSION$
MOdfEditor Class Reference

An editor for ticket templates. More...

#include <odfedit.h>

Inheritance diagram for MOdfEditor:

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...
 

Detailed Description

An editor for ticket templates.

Constructor & Destructor Documentation

MOdfEditor::MOdfEditor ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

instantiates the editor

References displayColorHelper(), openFile(), openFile2(), saveFile(), saveFileAs(), and switchStack().

MOdfEditor::~MOdfEditor ( )
virtual

clean it up

Member Function Documentation

void MOdfEditor::getEvent ( int &  ,
bool &   
)
signal

used to select an event

void MOdfEditor::loadFile ( QString  fn,
bool  isTemplate = true 
)
slot

loads a template file, this is a helper for openFile and download

Referenced by openFile().

void MOdfEditor::openFile ( bool  isTemplate = true)
slot

shows a file open dialog and then opens the selected file

References currentDir(), loadFile(), and setCurrentDir().

Referenced by MOdfEditor(), and openFile2().

void MOdfEditor::openFile2 ( )
slot

shows a file open dialog and then opens the selected file

References openFile().

Referenced by MOdfEditor().

void MOdfEditor::saveFile ( )
slot

saves the file - if it is local, otherwise calls saveFileAs

References saveFileAs().

Referenced by MOdfEditor(), and saveFileAs().

void MOdfEditor::saveFile ( QString  fn)
slot

helper for saveFile and upload

void MOdfEditor::saveFileAs ( )
slot

asks for a new file name

References saveFile(), and setCurrentDir().

Referenced by MOdfEditor(), and saveFile().

void MOdfEditor::switchStack ( int  )
signal

used to switch to the correct editor widget

Referenced by MOdfEditor().


The documentation for this class was generated from the following files: