Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Related Pages  

ImprovQTApp Class Reference

Application main window class. More...

#include <ImprovQT.h>

Collaboration diagram for ImprovQTApp:

Collaboration graph
[legend]

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


Detailed Description

Application main window class.

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 Documentation

ImprovQTApp::ImprovQTApp  
 

Constructor.

ImprovQTApp::~ImprovQTApp  
 

Destructor.

Deletes the instance of the class.


Member Function Documentation

void ImprovQTApp::initActions  
 

initializes all QActions of the application.

void ImprovQTApp::initMenuBar  
 

initMenuBar creates the menu_bar and inserts the menuitems.

void ImprovQTApp::initStatusBar  
 

setup the statusbar.

void ImprovQTApp::initToolBar  
 

This function creates the toolbars.

Change the toobar look and add new toolbars in this function.

void ImprovQTApp::initView  
 

setup the mainview.

bool ImprovQTApp::queryExit  
 

overloaded for Message box on last window exit.

void ImprovQTApp::slotFileClose   [slot]
 

close the actual file.

void ImprovQTApp::slotFileOptions   [slot]
 

edit the application options.

void ImprovQTApp::slotFileQuit   [slot]
 

exits the application.

void ImprovQTApp::slotFileSaveConfig   [slot]
 

save the configuration.

void ImprovQTApp::slotFileSaveConfigAs   [slot]
 

save the configuration under a different filename.

void ImprovQTApp::slotFileSaveImage   [slot]
 

save a document.

void ImprovQTApp::slotHelp   [slot]
 

shows a help dlg.

void ImprovQTApp::slotHelpAbout   [slot]
 

shows an about dlg.

void ImprovQTApp::slotSetFPS int    fps [slot]
 

long-winded way to set frames per second.

void ImprovQTApp::slotSetUnlimitedFPS bool    toggle [slot]
 

toogle unlimited fps.

void ImprovQTApp::slotViewStatusBar bool    toggle [slot]
 

toggle the statusbar.

void ImprovQTApp::slotViewToolBar bool    toggle [slot]
 

toggle the toolbar.


The documentation for this class was generated from the following files:
Generated on Tue Apr 1 11:01:17 2003 for ImprovQT by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002