#include <QtMainWindow.h>

Public Member Functions | |
| WIDGET_HANDLE | AddButton (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddCheckBox (int x, int y, int width, int height, const char *text, bool checked, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddComboBox (int x, int y, int width, int height, int num_entries, const char **entries, int current_entry, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddGLWidget (int x, int y, int width, int height, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddImage (int x, int y, int width, int height, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddLabel (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddSlider (int x, int y, int width, int height, int min_value, int max_value, int step, int value, WIDGET_HANDLE parent=0) |
| WIDGET_HANDLE | AddTextEdit (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
| CQtMainWindow (int x, int y, int width, int height, const char *title) | |
| CQtMainWindow (int x, int y, int width, int height, QWidget *pParent) | |
| CMainWindowEventInterface * | GetEventCallback () |
| int | GetModifierKeyState () |
| bool | GetText (WIDGET_HANDLE widget, char *text, int len) |
| bool | GetValue (WIDGET_HANDLE widget, int &value) |
| void | Hide (WIDGET_HANDLE widget=0) |
| bool | MakeCurrentGLWidget (WIDGET_HANDLE widget) |
| void | SetEventCallback (CMainWindowEventInterface *callback) |
| bool | SetImage (WIDGET_HANDLE widget, const CByteImage *pImage) |
| bool | SetText (WIDGET_HANDLE widget, const char *text) |
| bool | SetValue (WIDGET_HANDLE widget, int value) |
| void | Show (WIDGET_HANDLE widget=0) |
| bool | SwapBuffersGLWidget (WIDGET_HANDLE widget) |
| ~CQtMainWindow () | |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *e) |
Private Attributes | |
| CMainWindowEventInterface * | m_event_callback |
| std::vector < CQtMainWindowWidget * > | m_widgets |
Static Private Attributes | |
| static int | m_ref_count = 0 |
Definition at line 33 of file QtMainWindow.h.
| CQtMainWindow::CQtMainWindow | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | title | ||
| ) |
Definition at line 36 of file QtMainWindow.cpp.
| CQtMainWindow::CQtMainWindow | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| QWidget * | pParent | ||
| ) |
Definition at line 57 of file QtMainWindow.cpp.
Definition at line 67 of file QtMainWindow.cpp.
| WIDGET_HANDLE CQtMainWindow::AddButton | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 95 of file QtMainWindow.cpp.
| WIDGET_HANDLE CQtMainWindow::AddCheckBox | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| bool | checked, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 133 of file QtMainWindow.cpp.
| WIDGET_HANDLE CQtMainWindow::AddComboBox | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | num_entries, | ||
| const char ** | entries, | ||
| int | current_entry, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 208 of file QtMainWindow.cpp.
| WIDGET_HANDLE CQtMainWindow::AddGLWidget | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 241 of file QtMainWindow.cpp.
| WIDGET_HANDLE CQtMainWindow::AddImage | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 80 of file QtMainWindow.cpp.
| WIDGET_HANDLE CQtMainWindow::AddLabel | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 115 of file QtMainWindow.cpp.
| WIDGET_HANDLE CQtMainWindow::AddSlider | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | min_value, | ||
| int | max_value, | ||
| int | step, | ||
| int | value, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 174 of file QtMainWindow.cpp.
| WIDGET_HANDLE CQtMainWindow::AddTextEdit | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| WIDGET_HANDLE | parent = 0 |
||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 154 of file QtMainWindow.cpp.
| void CQtMainWindow::closeEvent | ( | QCloseEvent * | e | ) | [protected] |
Definition at line 601 of file QtMainWindow.cpp.
| CMainWindowEventInterface* CQtMainWindow::GetEventCallback | ( | ) | [inline] |
Definition at line 71 of file QtMainWindow.h.
| int CQtMainWindow::GetModifierKeyState | ( | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 574 of file QtMainWindow.cpp.
| bool CQtMainWindow::GetText | ( | WIDGET_HANDLE | widget, |
| char * | text, | ||
| int | len | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 270 of file QtMainWindow.cpp.
| bool CQtMainWindow::GetValue | ( | WIDGET_HANDLE | widget, |
| int & | value | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 361 of file QtMainWindow.cpp.
| void CQtMainWindow::Hide | ( | WIDGET_HANDLE | widget = 0 | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 489 of file QtMainWindow.cpp.
| bool CQtMainWindow::MakeCurrentGLWidget | ( | WIDGET_HANDLE | widget | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 454 of file QtMainWindow.cpp.
| void CQtMainWindow::SetEventCallback | ( | CMainWindowEventInterface * | callback | ) | [inline, virtual] |
Implements CMainWindowInterface.
Definition at line 68 of file QtMainWindow.h.
| bool CQtMainWindow::SetImage | ( | WIDGET_HANDLE | widget, |
| const CByteImage * | pImage | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 345 of file QtMainWindow.cpp.
| bool CQtMainWindow::SetText | ( | WIDGET_HANDLE | widget, |
| const char * | text | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 309 of file QtMainWindow.cpp.
| bool CQtMainWindow::SetValue | ( | WIDGET_HANDLE | widget, |
| int | value | ||
| ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 397 of file QtMainWindow.cpp.
| void CQtMainWindow::Show | ( | WIDGET_HANDLE | widget = 0 | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 476 of file QtMainWindow.cpp.
| bool CQtMainWindow::SwapBuffersGLWidget | ( | WIDGET_HANDLE | widget | ) | [virtual] |
Implements CMainWindowInterface.
Definition at line 433 of file QtMainWindow.cpp.
Definition at line 78 of file QtMainWindow.h.
int CQtMainWindow::m_ref_count = 0 [static, private] |
Definition at line 82 of file QtMainWindow.h.
std::vector<CQtMainWindowWidget*> CQtMainWindow::m_widgets [private] |
Definition at line 80 of file QtMainWindow.h.