Signals | |
| void | message (const QString &, int) |
| signal used to send strings to the status bar | |
Public Methods | |
| MDIWindow (int multWin, QWidget *parent, const char *name, int wflags) | |
| ~MDIWindow () | |
| void | load (const QString filename) |
| GLWidget * | getGLWidget () |
| void | multiWindow () |
| QSize | sizeHint () const |
| arbitrary advised size | |
| QSize | minimumSizeHint () const |
| arbitrary minimum size | |
Data Fields | |
| ObjProperties * | op |
| dialog opened if picking succeeds to shos the object properties | |
Protected Methods | |
| void | closeEvent (QCloseEvent *) |
Private Methods | |
| void | keyPressEvent (QKeyEvent *e) |
Private Attributes | |
| GLWidget * | glw |
| this is the main GLWidget | |
| GLWidget * | hd |
| GLWidget * | bg |
| GLWidget * | bd |
| these 3 GLWidgets serve in case of a multiwindow | |
|
||||||||||||||||||||
|
Constructor
|
|
|
Destroys the MDI window. Don't need to call explicitly the destruction of GLWidget objproperties or other widgets since they are child of the MDI window |
|
|
The window is asked to close itself and accepts |
|
|
|
|
|
Dispatches the keypress events to the class glw->engine->mouse->camera->vm for camera movement or others |
|
|
The window is asked to load a file, it uses glw->engine->loadFile to do the real work writes a warning if the extension is strange and updates the status bar and the glw->engine->ready status |
|
||||||||||||
|
signal used to send strings to the status bar
|
|
|
arbitrary minimum size
|
|
|
This procedure allocates 4 gl widgets and produces an equal layout, using QFrames and QGridLayout |
|
|
arbitrary advised size
|
|
|
these 3 GLWidgets serve in case of a multiwindow
|
|
|
|
|
|
this is the main GLWidget
|
|
|
|
|
|
dialog opened if picking succeeds to shos the object properties
|
1.2.18