#include <mainwindowgui.h>
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) |
|
Sets up the program main GUI and connect the widgets and handlers.
|
|
Cleans up after the mainwindowgui. |
|
Sets differents buttons such as undo, save as and copy to be enabled. |
|
Notified when closing the application.
|
|
Overloaded event listener which recieves information when a keyboard key is pressed.
|
|
This slot is notified when the size of the model changes so that menuframe menu options can be adjusted (activated/deactivated, etc).
|
|
Overloaded mouse listener. Closes the embedded menues when the user clicks inside the main window.
|