QT implementation of vgui_window. More...
#include <vgui_qt_window.h>

| Public Member Functions | |
| vgui_qt_window (int w, int h, const vgui_menu &menu, const char *title) | |
| vgui_qt_window (int w, int h, const char *title) | |
| ~vgui_qt_window () | |
| void | set_menubar (const vgui_menu &menu) | 
| Put the given menu in the menubar (if it exists). | |
| vgui_statusbar * | get_statusbar () | 
| Get the status bar (if it exists). | |
| vgui_adaptor * | get_adaptor () | 
| Get the default adaptor (if it exists). | |
| void | show () | 
| Display the window. | |
| void | hide () | 
| Hide the window from view. | |
| vgui_qt_window (int w, int h, const vgui_menu &menu, const char *title) | |
| vgui_qt_window (int w, int h, const char *title) | |
| ~vgui_qt_window () | |
| void | set_menubar (const vgui_menu &menu) | 
| Put the given menu in the menubar (if it exists). | |
| vgui_statusbar * | get_statusbar () | 
| Get the status bar (if it exists). | |
| vgui_adaptor * | get_adaptor () | 
| Get the default adaptor (if it exists). | |
| void | show () | 
| Display the window. | |
| void | hide () | 
| Hide the window from view. | |
| virtual void | set_statusbar (bool) | 
| If true, activate the statusbar (if it exists). | |
| virtual void | set_adaptor (vgui_adaptor *) | 
| Set the default adaptor (if it exists) to the given vgui_adaptor. | |
| virtual void | iconify () | 
| Turn the window into an icon. | |
| virtual void | enable_hscrollbar (bool) | 
| If true, activate horizontal scrollbar (if it exists). | |
| virtual void | enable_vscrollbar (bool) | 
| If true, activate vertical scrollbar (if it exists). | |
| virtual void | reshape (unsigned, unsigned) | 
| Change window shape to new given width and height. | |
| virtual void | reposition (int, int) | 
| Move the window to the new given x,y position. | |
| virtual void | set_title (vcl_string const &) | 
| Use the given text as the window title (if the window has a title). | |
| virtual int | set_hscrollbar (int pos) | 
| Set the position of the horizontal scrollbar, returns old position. | |
| virtual int | set_vscrollbar (int pos) | 
| Set the position of the vertical scrollbar, returns old position. | |
| Private Member Functions | |
| void | setup_widget (int w, int h, const char *title) | 
| void | setup_widget (int w, int h, const char *title) | 
| Private Attributes | |
| vgui_qt_adaptor * | adaptor | 
| vgui_qt_statusbar | statusbar | 
| bool | use_menubar | 
| bool | use_statusbar | 
QT implementation of vgui_window.
Definition at line 27 of file vgui_qt_window.h.
| vgui_qt_window::vgui_qt_window | ( | int | w, | 
| int | h, | ||
| const vgui_menu & | menu, | ||
| const char * | title | ||
| ) | 
Definition at line 57 of file vgui_qt_window.cxx.
| vgui_qt_window::vgui_qt_window | ( | int | w, | 
| int | h, | ||
| const char * | title | ||
| ) | 
Definition at line 46 of file vgui_qt_window.cxx.
| vgui_qt_window::~vgui_qt_window | ( | ) |  [inline] | 
Definition at line 34 of file vgui_qt_window.h.
| vgui_qt_window::vgui_qt_window | ( | int | w, | 
| int | h, | ||
| const vgui_menu & | menu, | ||
| const char * | title | ||
| ) | 
| vgui_qt_window::vgui_qt_window | ( | int | w, | 
| int | h, | ||
| const char * | title | ||
| ) | 
| vgui_qt_window::~vgui_qt_window | ( | ) |  [inline] | 
Definition at line 35 of file vgui_qt_window.h.
| void vgui_window::enable_hscrollbar | ( | bool | ) |  [virtual, inherited] | 
If true, activate horizontal scrollbar (if it exists).
Reimplemented in vgui_wx_window, vgui_win32_window, and vgui_mfc_window.
Definition at line 50 of file vgui_window.cxx.
| void vgui_window::enable_vscrollbar | ( | bool | ) |  [virtual, inherited] | 
If true, activate vertical scrollbar (if it exists).
Reimplemented in vgui_wx_window, vgui_win32_window, and vgui_mfc_window.
Definition at line 55 of file vgui_window.cxx.
| vgui_adaptor* vgui_qt_window::get_adaptor | ( | void | ) |  [inline, virtual] | 
Get the default adaptor (if it exists).
Reimplemented from vgui_window.
Definition at line 39 of file vgui_qt_window.h.
| vgui_adaptor* vgui_qt_window::get_adaptor | ( | void | ) |  [inline, virtual] | 
Get the default adaptor (if it exists).
Reimplemented from vgui_window.
Definition at line 40 of file vgui_qt_window.h.
| vgui_statusbar* vgui_qt_window::get_statusbar | ( | void | ) |  [inline, virtual] | 
Get the status bar (if it exists).
Reimplemented from vgui_window.
Definition at line 38 of file vgui_qt_window.h.
| vgui_statusbar* vgui_qt_window::get_statusbar | ( | void | ) |  [inline, virtual] | 
Get the status bar (if it exists).
Reimplemented from vgui_window.
Definition at line 39 of file vgui_qt_window.h.
| void vgui_qt_window::hide | ( | ) |  [inline, virtual] | 
Hide the window from view.
Reimplemented from vgui_window.
Definition at line 42 of file vgui_qt_window.h.
| void vgui_qt_window::hide | ( | ) |  [inline, virtual] | 
Hide the window from view.
Reimplemented from vgui_window.
Definition at line 43 of file vgui_qt_window.h.
| void vgui_window::iconify | ( | ) |  [virtual, inherited] | 
Turn the window into an icon.
Reimplemented in vgui_wx_window, vgui_win32_window, vgui_mfc_window, and vgui_glut_window.
Definition at line 65 of file vgui_window.cxx.
| void vgui_window::reposition | ( | int | , | 
| int | |||
| ) |  [virtual, inherited] | 
Move the window to the new given x,y position.
Reimplemented in vgui_wx_window, vgui_win32_window, vgui_mfc_window, and vgui_glut_window.
Definition at line 75 of file vgui_window.cxx.
| void vgui_window::reshape | ( | unsigned | , | 
| unsigned | |||
| ) |  [virtual, inherited] | 
Change window shape to new given width and height.
Reimplemented in vgui_wx_window, vgui_win32_window, vgui_mfc_window, vgui_gtk2_window, and vgui_glut_window.
Definition at line 70 of file vgui_window.cxx.
| void vgui_window::set_adaptor | ( | vgui_adaptor * | ) |  [virtual, inherited] | 
Set the default adaptor (if it exists) to the given vgui_adaptor.
These refer to the default/current adaptor, if that makes sense. It is not a requirement that it should make sense.
Reimplemented in vgui_gtk2_window, vgui_gtk_window, vgui_wx_window, and vgui_win32_window.
Definition at line 25 of file vgui_window.cxx.
| int vgui_window::set_hscrollbar | ( | int | pos | ) |  [virtual, inherited] | 
Set the position of the horizontal scrollbar, returns old position.
Reimplemented in vgui_win32_window, vgui_wx_window, and vgui_mfc_window.
Definition at line 85 of file vgui_window.cxx.
| void vgui_qt_window::set_menubar | ( | const vgui_menu & | ) |  [virtual] | 
Put the given menu in the menubar (if it exists).
Reimplemented from vgui_window.
Definition at line 69 of file vgui_qt_window.cxx.
| void vgui_qt_window::set_menubar | ( | const vgui_menu & | ) |  [virtual] | 
Put the given menu in the menubar (if it exists).
Reimplemented from vgui_window.
| virtual void vgui_window::set_statusbar | ( | bool | ) |  [inline, virtual, inherited] | 
If true, activate the statusbar (if it exists).
Reimplemented in vgui_gtk2_window, vgui_gtk_window, vgui_wx_window, and vgui_win32_window.
Definition at line 46 of file vgui_window.h.
| void vgui_window::set_title | ( | vcl_string const & | ) |  [virtual, inherited] | 
Use the given text as the window title (if the window has a title).
Reimplemented in vgui_win32_window, vgui_wx_window, vgui_mfc_window, vgui_gtk2_window, vgui_gtk_window, and vgui_glut_window.
Definition at line 80 of file vgui_window.cxx.
| int vgui_window::set_vscrollbar | ( | int | pos | ) |  [virtual, inherited] | 
Set the position of the vertical scrollbar, returns old position.
Reimplemented in vgui_win32_window, vgui_wx_window, and vgui_mfc_window.
Definition at line 91 of file vgui_window.cxx.
| void vgui_qt_window::setup_widget | ( | int | w, | 
| int | h, | ||
| const char * | title | ||
| ) |  [private] | 
Definition at line 17 of file vgui_qt_window.cxx.
| void vgui_qt_window::setup_widget | ( | int | w, | 
| int | h, | ||
| const char * | title | ||
| ) |  [private] | 
| void vgui_qt_window::show | ( | ) |  [inline, virtual] | 
| void vgui_qt_window::show | ( | ) |  [inline, virtual] | 
| vgui_qt_adaptor * vgui_qt_window::adaptor  [private] | 
Definition at line 47 of file vgui_qt_window.h.
| vgui_qt_statusbar vgui_qt_window::statusbar  [private] | 
Definition at line 48 of file vgui_qt_window.h.
| bool vgui_qt_window::use_menubar  [private] | 
Definition at line 50 of file vgui_qt_window.h.
| bool vgui_qt_window::use_statusbar  [private] | 
Definition at line 51 of file vgui_qt_window.h.
 1.7.5.1
 1.7.5.1