Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

MainWindowGUI Class Reference

#include <mainwindowgui.h>

List of all members.

Public Types

enum  {
  SAVE, SAVE_AS, UNDO, REDO,
  CUT, COPY, PASTE, GOTO
}

Public Slots

void modelSizeChanged (int modelSize)
void activateMenuOptions ()
void closeEvent (QCloseEvent *ce)

Public Member Functions

 MainWindowGUI (QApplication *stApp)
 ~MainWindowGUI ()
void mousePressEvent (QMouseEvent *e)
void keyPressEvent (QKeyEvent *k)


Detailed Description

The main window class for the stopmotion application. This class sets up the main GUI and connects the buttons.

Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Constructor & Destructor Documentation

MainWindowGUI::MainWindowGUI QApplication *  stApp  ) 
 

Sets up the program main GUI and connect the widgets and handlers.

Parameters:
stApp the application class for changing translator on runtime.

MainWindowGUI::~MainWindowGUI  ) 
 

Cleans up after the mainwindowgui.


Member Function Documentation

void MainWindowGUI::activateMenuOptions  )  [slot]
 

Sets differents buttons such as undo, save as and copy to be enabled.

void MainWindowGUI::closeEvent QCloseEvent *  ce  )  [slot]
 

Notified when closing the application.

Parameters:
ce information about the close event.

void MainWindowGUI::keyPressEvent QKeyEvent *  k  ) 
 

Overloaded event listener which recieves information when a keyboard key is pressed.

Parameters:
k information about the key event.

void MainWindowGUI::modelSizeChanged int  modelSize  )  [slot]
 

This slot is notified when the size of the model changes so that menuframe menu options can be adjusted (activated/deactivated, etc).

Parameters:
modelSize the new size of the model.

void MainWindowGUI::mousePressEvent QMouseEvent *  e  ) 
 

Overloaded mouse listener. Closes the embedded menues when the user clicks inside the main window.

Parameters:
e information about the event.


The documentation for this class was generated from the following files:
Generated on Thu May 19 01:51:21 2005 for stopmotion.kdevelop by  doxygen 1.4.2