#include <vgui_qt_dialog_impl.h>
Inheritance diagram for vgui_qt_dialog_impl:

Definition at line 22 of file vgui_qt_dialog_impl.h.
Public Types | |
| enum | element_type { bool_elem, int_elem, long_elem, float_elem, double_elem, string_elem, choice_elem, text_msg, file_bsr, color_csr, inline_file_bsr, inline_color_csr, inline_tabl, dir_bsr, line_br, unknown } |
| Enum of possible element types. More... | |
Public Member Functions | |
| vgui_qt_dialog_impl (const char *name) | |
| ~vgui_qt_dialog_impl () | |
| void * | bool_field_widget (const char *, bool &) |
| Pointer to a GUI widget for a bool field. | |
| void * | int_field_widget (const char *, int &) |
| Pointer to a GUI widget for a integer field. | |
| void * | long_field_widget (const char *, long &) |
| Pointer to a GUI widget for a long integer field. | |
| void * | float_field_widget (const char *, float &) |
| Pointer to a GUI widget for a float field. | |
| void * | double_field_widget (const char *, double &) |
| Pointer to a GUI widget for a double field. | |
| void * | string_field_widget (const char *, vcl_string &) |
| Pointer to a GUI widget for a string field. | |
| void * | choice_field_widget (const char *, const vcl_vector< vcl_string > &, int &) |
| Pointer to a GUI widget for a choice field. | |
| void * | text_message_widget (const char *) |
| Pointer to a GUI widget for a text message. | |
| void * | file_browser_widget (const char *, vcl_string &, vcl_string &) |
| Pointer to a GUI widget for a file browser. | |
| void * | inline_file_browser_widget (const char *, vcl_string &, vcl_string &) |
| Pointer to a GUI widget for an inline file browser. | |
| void * | color_chooser_widget (const char *, vcl_string &) |
| Pointer to a GUI widget for a colour chooser. | |
| void * | inline_color_chooser_widget (const char *, vcl_string &) |
| Pointer to a GUI widget for an inline colour chooser. | |
| void * | inline_tableau_widget (const vgui_tableau_sptr tab, unsigned int width, unsigned int height) |
| void | modal (bool m) |
| Set the modality of the dialog box. | |
| bool | ask () |
| Display the dialog box and collect data from the user. | |
| vgui_qt_dialog_impl (const char *name) | |
| ~vgui_qt_dialog_impl () | |
| void * | bool_field_widget (const char *, bool &) |
| Pointer to a GUI widget for a bool field. | |
| void * | int_field_widget (const char *, int &) |
| Pointer to a GUI widget for a integer field. | |
| void * | long_field_widget (const char *, long &) |
| Pointer to a GUI widget for a long integer field. | |
| void * | float_field_widget (const char *, float &) |
| Pointer to a GUI widget for a float field. | |
| void * | double_field_widget (const char *, double &) |
| Pointer to a GUI widget for a double field. | |
| void * | string_field_widget (const char *, vcl_string &) |
| Pointer to a GUI widget for a string field. | |
| void * | choice_field_widget (const char *, const vcl_vector< vcl_string > &, int &) |
| Pointer to a GUI widget for a choice field. | |
| void * | text_message_widget (const char *) |
| Pointer to a GUI widget for a text message. | |
| void * | file_browser_widget (const char *, vcl_string &, vcl_string &) |
| Pointer to a GUI widget for a file browser. | |
| void * | inline_file_browser_widget (const char *, vcl_string &, vcl_string &) |
| Pointer to a GUI widget for an inline file browser. | |
| void * | color_chooser_widget (const char *, vcl_string &) |
| Pointer to a GUI widget for a colour chooser. | |
| void * | inline_color_chooser_widget (const char *, vcl_string &) |
| Pointer to a GUI widget for an inline colour chooser. | |
| void * | inline_tableau_widget (const vgui_tableau_sptr tab, unsigned int width, unsigned int height) |
| void | modal (bool m) |
| Set the modality of the dialog box. | |
| bool | ask () |
| Display the dialog box and collect data from the user. | |
| void | bool_field (const char *, bool &) |
| Add a boolean field to the dialog box. | |
| void | int_field (const char *, int &) |
| Add an integer field to the dialog box. | |
| void | long_field (const char *, long &) |
| Add a long integer field to the dialog box. | |
| void | float_field (const char *, float &) |
| Add a float field to the dialog box. | |
| void | double_field (const char *, double &) |
| Add a double field to the dialog box. | |
| void | string_field (const char *, vcl_string &) |
| Add a vcl_string field to the dialog box. | |
| void | choice_field (const char *, const vcl_vector< vcl_string > &, int &) |
| Add a choice (selection box) to the dialog box. | |
| void | text_message (const char *) |
| Add a text message to the dialog box. | |
| void | file_browser (const char *, vcl_string &, vcl_string &) |
| Add a popup file browser to the dialog box. | |
| void | inline_file_browser (const char *, vcl_string &, vcl_string &) |
| Add an inline file browser to the dialog box. | |
| void | color_chooser (const char *, vcl_string &) |
| Add a popup colour chooser to the dialog box. | |
| void | inline_color_chooser (const char *, vcl_string &) |
| Add an inline colour chooser to the dialog box. | |
| void | inline_tab (const vgui_tableau_sptr tab, unsigned width, unsigned height) |
| Add a tableau (OpenGL area) to the dialog box. | |
| virtual void * | inline_tableau_widget (const vgui_tableau_sptr tab, unsigned width, unsigned height) |
| Pointer to a GUI widget for a tableau (OpenGL area). | |
| virtual void | set_cancel_button (const char *msg) |
| Set the text on the cancel button. | |
| virtual void | set_ok_button (const char *msg) |
| Set the text on the OK button. | |
Protected Attributes | |
| vcl_string | name |
| vcl_vector< element > | elements |
| vcl_string | cancel_button_text_ |
| vcl_string | ok_button_text_ |
enum vgui_dialog_impl::element_type [inherited] |
Enum of possible element types.
| bool_elem | |
| int_elem | |
| long_elem | |
| float_elem | |
| double_elem | |
| string_elem | |
| choice_elem | |
| text_msg | |
| file_bsr | |
| color_csr | |
| inline_file_bsr | |
| inline_color_csr | |
| inline_tabl | |
| dir_bsr | |
| line_br | |
| unknown |
Definition at line 141 of file vgui_dialog_impl.h.
| vgui_qt_dialog_impl::vgui_qt_dialog_impl | ( | const char * | name | ) |
Definition at line 27 of file vgui_qt_dialog_impl.cxx.
| vgui_qt_dialog_impl::~vgui_qt_dialog_impl | ( | ) | [inline] |
Definition at line 29 of file vgui_qt_dialog_impl.h.
| vgui_qt_dialog_impl::vgui_qt_dialog_impl | ( | const char * | name | ) |
| vgui_qt_dialog_impl::~vgui_qt_dialog_impl | ( | ) | [inline] |
Definition at line 37 of file vgui_qt_dialog_impl.h.
| void * vgui_qt_dialog_impl::bool_field_widget | ( | const char * | , | |
| bool & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a bool field.
Reimplemented from vgui_dialog_impl.
Definition at line 170 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::int_field_widget | ( | const char * | , | |
| int & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a integer field.
Reimplemented from vgui_dialog_impl.
Definition at line 179 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::long_field_widget | ( | const char * | , | |
| long & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a long integer field.
Reimplemented from vgui_dialog_impl.
Definition at line 188 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::float_field_widget | ( | const char * | , | |
| float & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a float field.
Reimplemented from vgui_dialog_impl.
Definition at line 198 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::double_field_widget | ( | const char * | , | |
| double & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a double field.
Reimplemented from vgui_dialog_impl.
Definition at line 208 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::string_field_widget | ( | const char * | , | |
| vcl_string & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a string field.
Reimplemented from vgui_dialog_impl.
Definition at line 218 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::choice_field_widget | ( | const char * | , | |
| const vcl_vector< vcl_string > & | , | |||
| int & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a choice field.
Reimplemented from vgui_dialog_impl.
Definition at line 226 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::text_message_widget | ( | const char * | ) | [virtual] |
Pointer to a GUI widget for a text message.
Reimplemented from vgui_dialog_impl.
Definition at line 239 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::file_browser_widget | ( | const char * | , | |
| vcl_string & | , | |||
| vcl_string & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a file browser.
Reimplemented from vgui_dialog_impl.
Definition at line 247 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::inline_file_browser_widget | ( | const char * | , | |
| vcl_string & | , | |||
| vcl_string & | ||||
| ) | [virtual] |
Pointer to a GUI widget for an inline file browser.
Reimplemented from vgui_dialog_impl.
Definition at line 255 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::color_chooser_widget | ( | const char * | , | |
| vcl_string & | ||||
| ) | [virtual] |
Pointer to a GUI widget for a colour chooser.
Reimplemented from vgui_dialog_impl.
Definition at line 263 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::inline_color_chooser_widget | ( | const char * | , | |
| vcl_string & | ||||
| ) | [virtual] |
Pointer to a GUI widget for an inline colour chooser.
Reimplemented from vgui_dialog_impl.
Definition at line 280 of file vgui_qt_dialog_impl.cxx.
| void * vgui_qt_dialog_impl::inline_tableau_widget | ( | const vgui_tableau_sptr | tab, | |
| unsigned int | width, | |||
| unsigned int | height | |||
| ) |
Definition at line 271 of file vgui_qt_dialog_impl.cxx.
| void vgui_qt_dialog_impl::modal | ( | bool | m | ) | [virtual] |
Set the modality of the dialog box.
True makes the dialog modal (i.e. the dialog 'grabs' all events) and this is the default. WARNING: It is dangerous to make a dialog that changes data non-modal, only messages should be non-modal.
Reimplemented from vgui_dialog_impl.
Definition at line 24 of file vgui_qt_dialog_impl.cxx.
| bool vgui_qt_dialog_impl::ask | ( | ) | [virtual] |
Display the dialog box and collect data from the user.
Implements vgui_dialog_impl.
Definition at line 35 of file vgui_qt_dialog_impl.cxx.
| void* vgui_qt_dialog_impl::bool_field_widget | ( | const char * | , | |
| bool & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::int_field_widget | ( | const char * | , | |
| int & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::long_field_widget | ( | const char * | , | |
| long & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::float_field_widget | ( | const char * | , | |
| float & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::double_field_widget | ( | const char * | , | |
| double & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::string_field_widget | ( | const char * | , | |
| vcl_string & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::choice_field_widget | ( | const char * | , | |
| const vcl_vector< vcl_string > & | , | |||
| int & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::text_message_widget | ( | const char * | ) | [virtual] |
| void* vgui_qt_dialog_impl::file_browser_widget | ( | const char * | , | |
| vcl_string & | , | |||
| vcl_string & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::inline_file_browser_widget | ( | const char * | , | |
| vcl_string & | , | |||
| vcl_string & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::color_chooser_widget | ( | const char * | , | |
| vcl_string & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::inline_color_chooser_widget | ( | const char * | , | |
| vcl_string & | ||||
| ) | [virtual] |
| void* vgui_qt_dialog_impl::inline_tableau_widget | ( | const vgui_tableau_sptr | tab, | |
| unsigned int | width, | |||
| unsigned int | height | |||
| ) |
| void vgui_qt_dialog_impl::modal | ( | bool | m | ) | [virtual] |
Set the modality of the dialog box.
True makes the dialog modal (i.e. the dialog 'grabs' all events) and this is the default. WARNING: It is dangerous to make a dialog that changes data non-modal, only messages should be non-modal.
Reimplemented from vgui_dialog_impl.
| bool vgui_qt_dialog_impl::ask | ( | ) | [virtual] |
| void vgui_dialog_impl::bool_field | ( | const char * | , | |
| bool & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::int_field | ( | const char * | , | |
| int & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::long_field | ( | const char * | , | |
| long & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::float_field | ( | const char * | , | |
| float & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::double_field | ( | const char * | , | |
| double & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::string_field | ( | const char * | , | |
| vcl_string & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::choice_field | ( | const char * | , | |
| const vcl_vector< vcl_string > & | , | |||
| int & | ||||
| ) | [inherited] |
Add a choice (selection box) to the dialog box.
Definition at line 124 of file vgui_dialog_impl.cxx.
| void vgui_dialog_impl::text_message | ( | const char * | ) | [inherited] |
| void vgui_dialog_impl::file_browser | ( | const char * | , | |
| vcl_string & | , | |||
| vcl_string & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::inline_file_browser | ( | const char * | , | |
| vcl_string & | , | |||
| vcl_string & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::color_chooser | ( | const char * | , | |
| vcl_string & | ||||
| ) | [inherited] |
| void vgui_dialog_impl::inline_color_chooser | ( | const char * | , | |
| vcl_string & | ||||
| ) | [inherited] |
Add an inline colour chooser to the dialog box.
Definition at line 174 of file vgui_dialog_impl.cxx.
| void vgui_dialog_impl::inline_tab | ( | const vgui_tableau_sptr | tab, | |
| unsigned | width, | |||
| unsigned | height | |||
| ) | [inherited] |
| void * vgui_dialog_impl::inline_tableau_widget | ( | const vgui_tableau_sptr | tab, | |
| unsigned | width, | |||
| unsigned | height | |||
| ) | [virtual, inherited] |
Pointer to a GUI widget for a tableau (OpenGL area).
Reimplemented in vgui_gtk_dialog_impl, vgui_gtk2_dialog_impl, vgui_mfc_dialog_extensions_impl, and vgui_mfc_dialog_impl.
Definition at line 228 of file vgui_dialog_impl.cxx.
| virtual void vgui_dialog_impl::set_cancel_button | ( | const char * | msg | ) | [inline, virtual, inherited] |
Set the text on the cancel button.
Reimplemented in vgui_gtk_dialog_impl, and vgui_gtk2_dialog_impl.
Definition at line 132 of file vgui_dialog_impl.h.
| virtual void vgui_dialog_impl::set_ok_button | ( | const char * | msg | ) | [inline, virtual, inherited] |
Set the text on the OK button.
Reimplemented in vgui_gtk_dialog_impl, and vgui_gtk2_dialog_impl.
Definition at line 135 of file vgui_dialog_impl.h.
vcl_string vgui_dialog_impl::name [protected, inherited] |
Definition at line 169 of file vgui_dialog_impl.h.
vcl_vector<element> vgui_dialog_impl::elements [protected, inherited] |
Definition at line 170 of file vgui_dialog_impl.h.
vcl_string vgui_dialog_impl::cancel_button_text_ [protected, inherited] |
Definition at line 171 of file vgui_dialog_impl.h.
vcl_string vgui_dialog_impl::ok_button_text_ [protected, inherited] |
Definition at line 172 of file vgui_dialog_impl.h.
1.5.1