#include <ImprovQT.h>
Collaboration diagram for ImprovQTApp:

Public Slots | |
| void | slotFileSaveImage () |
| save a document. More... | |
| void | slotFileSaveConfig () |
| save the configuration. More... | |
| void | slotFileSaveConfigAs () |
| save the configuration under a different filename. More... | |
| void | slotFileClose () |
| close the actual file. More... | |
| void | slotFileOptions () |
| edit the application options. More... | |
| void | slotFileQuit () |
| exits the application. More... | |
| void | slotViewToolBar (bool toggle) |
| toggle the toolbar. More... | |
| void | slotViewStatusBar (bool toggle) |
| toggle the statusbar. More... | |
| void | slotHelp () |
| shows a help dlg. More... | |
| void | slotHelpAbout () |
| shows an about dlg. More... | |
| void | slotSetFPS (int fps) |
| long-winded way to set frames per second. More... | |
| void | slotSetUnlimitedFPS (bool toggle) |
| toogle unlimited fps. More... | |
Public Methods | |
| ImprovQTApp () | |
| Constructor. More... | |
| ~ImprovQTApp () | |
| Destructor. More... | |
| void | initActions () |
| initializes all QActions of the application. More... | |
| void | initMenuBar () |
| initMenuBar creates the menu_bar and inserts the menuitems. More... | |
| void | initToolBar () |
| This function creates the toolbars. More... | |
| void | initStatusBar () |
| setup the statusbar. More... | |
| void | initView () |
| setup the mainview. More... | |
| bool | queryExit () |
| overloaded for Message box on last window exit. More... | |
This Class is the base class for the application. It sets up the main window and providing a menubar, toolbar and statusbar. For the main view, an instance of class ImprovQTView is created which creates your view.
|
|
Constructor.
|
|
|
Destructor. Deletes the instance of the class. |
|
|
initializes all QActions of the application.
|
|
|
initMenuBar creates the menu_bar and inserts the menuitems.
|
|
|
setup the statusbar.
|
|
|
This function creates the toolbars. Change the toobar look and add new toolbars in this function. |
|
|
setup the mainview.
|
|
|
overloaded for Message box on last window exit.
|
|
|
close the actual file.
|
|
|
edit the application options.
|
|
|
exits the application.
|
|
|
save the configuration.
|
|
|
save the configuration under a different filename.
|
|
|
save a document.
|
|
|
shows a help dlg.
|
|
|
shows an about dlg.
|
|
|
long-winded way to set frames per second.
|
|
|
toogle unlimited fps.
|
|
|
toggle the statusbar.
|
|
|
toggle the toolbar.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002