8 #ifndef _QT_MAIN_WINDOW_H_ 9 #define _QT_MAIN_WINDOW_H_ 37 CQtMainWindow(
int x,
int y,
int width,
int height, QWidget *pParent);
void Show(WIDGET_HANDLE widget=0)
WIDGET_HANDLE AddCheckBox(int x, int y, int width, int height, const char *text, bool checked, WIDGET_HANDLE parent=0)
CMainWindowEventInterface * m_event_callback
WIDGET_HANDLE AddTextEdit(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)
WIDGET_HANDLE AddButton(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)
bool SwapBuffersGLWidget(WIDGET_HANDLE widget)
void Hide(WIDGET_HANDLE widget=0)
CMainWindowEventInterface * GetEventCallback()
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
CQtMainWindow(int x, int y, int width, int height, const char *title)
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)
bool SetImage(WIDGET_HANDLE widget, const CByteImage *pImage)
WIDGET_HANDLE AddLabel(int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0)
std::vector< CQtMainWindowWidget * > m_widgets
WIDGET_HANDLE AddImage(int x, int y, int width, int height, WIDGET_HANDLE parent=0)
int GetModifierKeyState()
GLsizei const GLfloat * value
bool SetValue(WIDGET_HANDLE widget, int value)
Interface for the creation of GUIs with the GUI toolkit of the IVT.
void SetEventCallback(CMainWindowEventInterface *callback)
GLenum GLsizei GLsizei height
bool GetText(WIDGET_HANDLE widget, char *text, int len)
void closeEvent(QCloseEvent *e)
WIDGET_HANDLE AddComboBox(int x, int y, int width, int height, int num_entries, const char **entries, int current_entry, WIDGET_HANDLE parent=0)
bool SetText(WIDGET_HANDLE widget, const char *text)
bool MakeCurrentGLWidget(WIDGET_HANDLE widget)
bool GetValue(WIDGET_HANDLE widget, int &value)
Interface for the event mechanism of GUIs using the GUI toolkit of the IVT.
static void callback(IplImage *pIplImage)
WIDGET_HANDLE AddGLWidget(int x, int y, int width, int height, WIDGET_HANDLE parent=0)