Helper containing utility methods for dialog. More...
Inherits QObject.
Static Public Member Functions | |
static void | AddItemCombo (String name, String text, String icon="") |
static GO2SEnum::GO2SError | AddWidgetToTable (String tableName, String widgetName, Number row, Number col) |
static GO2SXYZ | AskCoordinates () |
static String | AskDirectory (String startingDir="c:\\") |
static Number | AskDouble (String title, String label, Number min=-DBL_MAX, Number max=DBL_MAX, Number init=0.0) |
static Number | AskInt (String title, String label, Number min=-INT_MAX, Number max=INT_MAX, Number init=0) |
static String | AskOpenFileName (String startingDir="c:\\", Array< String > extensions={ "All Files (.)" }, String text="Open a file") |
static Boolean | AskQuestion (String message, String title="") |
static String | AskSaveFileName (String startingDir="c:\\", Array< String > extensions={ "All Files (.)" }, String text="Save a file") |
static String | AskText (String title, String label, String init="") |
static void | ClearCombo (String name) |
static void | CreateMessageBox (String message, String title="", GO2SEnum::GO2SMessageType type=GO2SEnum::GO2SMessageType::info) |
static GO2SEnum::GO2SError | CreatePushButton (String name, String text="Button", String icon="") |
static void | ExecDialog (String uiName) |
static void | FillRowFromArray (String name, Array< String > data, Number indRow=-1) |
static void | FillTableFromArray (String name, Array< Array< String > > data, Boolean haveLabel=false) |
static void | FillTableFromCSV (String name, String path, QChar separator=';') |
static Number | GetColumnCount (String name) |
static Array< String > | GetComboData (String name) |
static Number | GetComboIndex (String name) |
static String | GetComboText (String name) |
static Number | GetCurrentColumnIndex (String name) |
static Number | GetCurrentRowIndex (String name) |
static Number | GetDouble (String name) |
static Number | GetInt (String name) |
static Number | GetRowCount (String name) |
static Array< String > | GetSelectedColumn (String name) |
static Array< String > | GetSelectedRow (String name) |
static Number | GetStackedWidgetIndex (String name) |
static Number | GetTabIndex (String name) |
static Array< String > | GetTableColumn (String name, Number col) |
static Array< String > | GetTableColumnByName (String name, String col) |
static Array< String > | GetTableRow (String name, Number row) |
static Array< String > | GetTableRowByName (String row, String name) |
static String | GetTableValue (String name, Number row, Number col) |
static Array< Array< String > > | GetTableValues (String name) |
static String | GetTabName (String name) |
static String | GetText (String name) |
static Boolean | IsChecked (String name) |
static Boolean | IsEnabled (String name) |
static Boolean | IsVisible (String name) |
static void | RemoveColumn (String name, Number indCol) |
static void | RemoveItemCombo (String name, Number index) |
static void | RemoveRow (String name, Number indRow) |
static void | SetCellReadOnly (String name, Number row, Number col, Boolean readOnly=true) |
static void | SetChecked (String name, Boolean bChecked) |
static void | SetColumnCount (String name, Number number) |
static void | SetColumnWidth (String name, Number col, Number size) |
static void | SetComboIndex (String name, Number index) |
static void | SetComboText (String name, String item) |
static void | SetDouble (String name, Number value) |
static void | SetEnabled (String name, Boolean bEnabled) |
static void | SetFocus (String name) |
static void | SetIconButton (String name, String icon) |
static void | SetInt (String name, Number value) |
static Boolean | SetLabelPixmap (String name, String path) |
static void | SetRowCount (String name, Number number) |
static void | SetStackedWidgetIndex (String name, Number index) |
static void | SetTableColumnNames (String name, Array< String > value) |
static void | SetTableRowNames (String name, Array< String > value) |
static void | SetTableValue (String name, Number row, Number col, String value) |
static void | SetText (String name, String value) |
static void | SetTextButton (String name, String text) |
static void | SetVisible (String name, Boolean bVisible) |
Helper containing utility methods for dialog.