Method |
Description |
|
GetItem ( string caption, string label, List list ) : string |
|
|
GetItem ( string caption, string label, List list, int current ) : string |
|
|
GetItem ( string caption, string label, List list, int current, bool editable ) : string |
|
|
GetItem ( string caption, string label, List list, int current, bool editable, bool &ok ) : string |
|
|
GetItem ( string caption, string label, List list, int current, bool editable, bool &ok, QWidget parent ) : string |
Static convenience function to let the user select an item from a list. caption is the text that is displayed in the title bar. label is the text that appears as the label for the list. list is the string list which is inserted into the list, and current is the number of the item which should be the selected item. If editable is true, the user can enter his own text. name="caption" Caption of the dialog name="label" Text of the label for the list name="list" List of item for user to choose from name="current" Index of the selected item name="editable" If true, user can enter own text name="ok" This bool would be set to true if user pressed Ok name="parent" Parent of the dialog widget |
|
GetItemList ( string caption, string label ) : List |
|
|
GetItemList ( string caption, string label, List list ) : List |
|
|
GetItemList ( string caption, string label, List list, List select ) : List |
|
|
GetItemList ( string caption, string label, List list, List select, bool multiple ) : List |
|
|
GetItemList ( string caption, string label, List list, List select, bool multiple, bool &ok ) : List |
|
|
GetItemList ( string caption, string label, List list, List select, bool multiple, bool &ok, QWidget parent ) : List |
Static convenience function to let the user select one or more items from a listbox. caption is the text that is displayed in the title bar. label is the text that appears as the label for the listbox. list is the string list which is inserted into the listbox, select is the list of item(s) that should be the selected. If multiple is true, the user can select multiple items. name="caption" Caption of the dialog name="label" Text of the label for the list name="list" List of item for user to choose from name="select" List of item(s) that should be selected name="multiple" If true, user can select multiple items name="ok" This bool would be set to true if user pressed Ok name="parent" Parent of the dialog widget |
|
GetMultiLineText ( string caption, string label ) : string |
|
|
GetMultiLineText ( string caption, string label, string value ) : string |
|
|
GetMultiLineText ( string caption, string label, string value, bool &ok ) : string |
|
|
GetMultiLineText ( string caption, string label, string value, bool &ok, QWidget parent ) : string |
Static convenience function to get a multiline string from the user. caption is the text that is displayed in the title bar. label is the text that appears as a label for the line edit. value is the initial value of the line edit. ok will be set to true if user pressed Ok and false if user pressed Cancel. name="caption" Caption of the dialog name="label" Text of the label for the line edit name="value" Initial value of the line edit name="ok" This bool would be set to true if user pressed Ok name="parent" Parent of the dialog widget |
|
GetText ( string caption, string label ) : string |
|
|
GetText ( string caption, string label, string value ) : string |
|
|
GetText ( string caption, string label, string value, bool &ok ) : string |
|
|
GetText ( string caption, string label, string value, bool &ok, QWidget parent ) : string |
|
|
GetText ( string caption, string label, string value, bool &ok, QWidget parent, QValidator validator ) : string |
|
|
GetText ( string caption, string label, string value, bool &ok, QWidget parent, QValidator validator, string mask ) : string |
|
|
GetText ( string caption, string label, string value, bool &ok, QWidget parent, QValidator validator, string mask, string whatsThis ) : string |
|
|
GetText ( string caption, string label, string value, bool &ok, QWidget parent, QValidator validator, string mask, string whatsThis, List completionList ) : string |
Static convenience function to get a string from the user. caption is the text that is displayed in the title bar. label is the text that appears as a label for the line edit. value is the initial value of the line edit. ok will be set to true if user pressed Ok and false if user pressed Cancel. If you provide a validator, the Ok button is disabled as long as the validator doesn't return Acceptable. If there is no validator, the Ok button is enabled whenever the line edit isn't empty. If you want to accept empty input, create a trivial QValidator that always returns acceptable, e.g. QRegExpValidator with a regexp of ".*". name="caption" Caption of the dialog name="label" Text of the label for the line edit name="value" Initial value of the line edit name="ok" This bool would be set to true if user pressed Ok name="parent" Parent of the dialog widget name="validator" A to be associated with the line edit name="mask" Mask associated with the line edit. See the documentation for about masks name="whatsThis" a QWhatsThis text for the input widget. name="completionList" a list of items which should be used for input completion |
|