#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 () | |
Public Member Functions inherited from CMainWindowInterface | |
virtual void | SetSize (int width, int height, WIDGET_HANDLE widget=0) |
virtual | ~CMainWindowInterface () |
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.
CQtMainWindow::~CQtMainWindow | ( | ) |
Definition at line 67 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 95 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 133 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 208 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 241 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 80 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 115 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 174 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 154 of file QtMainWindow.cpp.
|
protected |
Definition at line 601 of file QtMainWindow.cpp.
|
inline |
Definition at line 71 of file QtMainWindow.h.
|
virtual |
Implements CMainWindowInterface.
Definition at line 574 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 270 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 361 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 489 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 454 of file QtMainWindow.cpp.
|
inlinevirtual |
Implements CMainWindowInterface.
Definition at line 68 of file QtMainWindow.h.
|
virtual |
Implements CMainWindowInterface.
Definition at line 345 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 309 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 397 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 476 of file QtMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 433 of file QtMainWindow.cpp.
|
private |
Definition at line 78 of file QtMainWindow.h.
|
staticprivate |
Definition at line 82 of file QtMainWindow.h.
|
private |
Definition at line 80 of file QtMainWindow.h.