Singleton BpsGui object as application global. More...
#include <bpsgui.h>
Inheritance diagram for BpsGui:Public Member Functions | |
| void | applyValidator (BpsDatastore *aDatastore, const QString &aTable, const QString &aColumn, QLineEdit *aEdit) |
| Apply constraints to a line edit control. More... | |
| QIcon | icon (const QString &aName) |
| Get one of the built in icons. More... | |
| QPixmap | pixmap (const QString &aName, int aSize) |
| Get one of the built in pix maps. More... | |
Public Member Functions inherited from QObject | |
| bool | blockSignals (bool block) |
| const QObjectList & | children () const const |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
| bool | disconnect (const QObject *receiver, const char *method) const const |
| void | dumpObjectInfo () |
| void | dumpObjectInfo () const const |
| void | dumpObjectTree () |
| void | dumpObjectTree () const const |
| QList< QByteArray > | dynamicPropertyNames () const const |
| virtual bool | event (QEvent *e) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| T | findChild (const QString &name, Qt::FindChildOptions options) const const |
| QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const const |
| QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
| QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
| bool | inherits (const char *className) const const |
| void | installEventFilter (QObject *filterObj) |
| bool | isWidgetType () const const |
| bool | isWindowType () const const |
| void | killTimer (int id) |
| virtual const QMetaObject * | metaObject () const const |
| void | moveToThread (QThread *targetThread) |
| QString | objectName () const const |
| void | objectNameChanged (const QString &objectName) |
| QObject * | parent () const const |
| QVariant | property (const char *name) const const |
| Q_CLASSINFO (Name, Value) | |
| Q_DISABLE_COPY (Class) | |
| Q_DISABLE_COPY_MOVE (Class) | |
| Q_DISABLE_MOVE (Class) | |
| Q_EMIT Q_EMIT | |
| Q_ENUM (...) | |
| Q_ENUM_NS (...) | |
| Q_ENUMS (...) | |
| Q_FLAG (...) | |
| Q_FLAG_NS (...) | |
| Q_FLAGS (...) | |
| Q_GADGET Q_GADGET | |
| Q_INTERFACES (...) | |
| Q_INVOKABLE Q_INVOKABLE | |
| Q_NAMESPACE Q_NAMESPACE | |
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) | |
| Q_OBJECT Q_OBJECT | |
| Q_PROPERTY (...) | |
| Q_REVISION Q_REVISION | |
| Q_SET_OBJECT_NAME (Object) | |
| Q_SIGNAL Q_SIGNAL | |
| Q_SIGNALS Q_SIGNALS | |
| Q_SLOT Q_SLOT | |
| Q_SLOTS Q_SLOTS | |
| T | qFindChild (const QObject *obj, const QString &name) |
| QList< T > | qFindChildren (const QObject *obj, const QRegExp ®Exp) |
| QList< T > | qFindChildren (const QObject *obj, const QString &name) |
| QObject (QObject *parent) | |
| T | qobject_cast (const QObject *object) |
| T | qobject_cast (QObject *object) |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| void | removeEventFilter (QObject *obj) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| bool | setProperty (const char *name, const QVariant &value) |
| bool | signalsBlocked () const const |
| int | startTimer (int interval, Qt::TimerType timerType) |
| int | startTimer (std::chrono::milliseconds time, Qt::TimerType timerType) |
| QThread * | thread () const const |
Static Public Member Functions | |
| static BpsGui * | instance () |
Static Public Member Functions inherited from QObject | |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
| bool | disconnect (const QMetaObject::Connection &connection) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Related Functions | |
(Note that these are not member functions.) | |
| #define | bpsGui BpsGui::instance() |
| Convenience notation for BpsGui::instance() | |
Additional Inherited Members | |
Public Attributes inherited from QObject | |
| typedef | QObjectList |
Protected Member Functions inherited from QObject | |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const QMetaMethod &signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const QMetaMethod &signal) |
| bool | isSignalConnected (const QMetaMethod &signal) const const |
| int | receivers (const char *signal) const const |
| QObject * | sender () const const |
| int | senderSignalIndex () const const |
| virtual void | timerEvent (QTimerEvent *event) |
Properties inherited from QObject | |
| objectName | |
Singleton BpsGui object as application global.
| void BpsGui::applyValidator | ( | BpsDatastore * | aDatastore, |
| const QString & | aTable, | ||
| const QString & | aColumn, | ||
| QLineEdit * | aEdit | ||
| ) |
Apply constraints to a line edit control.
The validator mask is looked up in the central setting at Validators/table/column.mask. If no mask (or an empty one) is found for the table/column, no validator is applied allowing any input without restriction.
| aDatastore | Opened and checked in datastore object. |
| aTable | The table name. |
| aColumn | The column name. |
| aEdit | The edit control to apply validator or mask to. |
Get one of the built in icons.
The built in icons have native pixmaps of size 16x16, 24x24 and 32x32 for best quality display.
| Name | Sizes | Icons |
|---|---|---|
| about | 16, 24, 32, 48, 64 |
|
| add | 16, 24, 32 |
|
| agent | 16, 24, 32 |
|
| agent_add | 16, 24, 32 |
|
| agent_delete | 16, 24, 32 |
|
| agent_edit | 16, 24, 32 |
|
| align_bottom | 16, 24, 32 |
|
| align_center | 16, 24, 32 |
|
| align_left | 16, 24, 32 |
|
| align_middle | 16, 24, 32 |
|
| align_right | 16, 24, 32 |
|
| align_top | 16, 24, 32 |
|
| application-exit | 16, 24, 32 |
|
| application-pdf | 16, 24, 32 |
|
| arrow_left_blue | 16, 24, 32 |
|
| arrow_left_red | 16, 24, 32 |
|
| arrow_right_blue | 16, 24, 32 |
|
| arrow_right_green | 16, 24, 32 |
|
| arrow_up_down | 16, 24, 32 |
|
| barcode | 16, 24, 32, 48, 64 |
|
| box_into | 16, 24, 32, 48, 64 |
|
| box_white_closed | 16, 24, 32, 48, 64 |
|
| box_white_closed_preferences | 16, 24, 32, 48, 64 |
|
| box_white_closed_star_yellow | 16, 24, 32, 48, 64 |
|
| breakbulk | 16, 24, 32, 48, 64 |
|
| bug_yellow_run | 16, 24, 32 |
|
| bullet_ball_blue | 16, 24, 32 |
|
| bullet_ball_green | 16, 24, 32 |
|
| bullet_ball_grey | 16, 24, 32 |
|
| bullet_ball_red | 16, 24, 32 |
|
| bullet_ball_yellow | 16, 24, 32 |
|
| bullet_square_red | 16, 24, 32 |
|
| bullet_triangle_blue | 16, 24, 32 |
|
| bullet_triangle_green | 16, 24, 32 |
|
| businessman | 16, 24, 32 |
|
| cabinet_open | 16, 24, 32, 48, 64 |
|
| calendar | 16, 24, 32, 48, 64 |
|
| chart_dot | 16, 24, 32, 48, 64 |
|
| chartpie | 16, 24, 32, 48, 64 |
|
| check | 16, 24, 32 |
|
| checkbox | 16, 24, 32 |
|
| checkbox_unchecked | 16, 24, 32 |
|
| cloud | 16, 24, 32 |
|
| construction_barrier | 16, 24, 32 |
|
| containership_star_yellow | 16, 24, 32, 48, 64 |
|
| control_panel | 16, 24, 32, 48, 64 |
|
| control_panel2 | 16, 24, 32, 48, 64 |
|
| copy | 16, 24, 32 |
|
| correction_fluid | 16, 24, 32 |
|
| cubes_star_yellow | 16, 24, 32, 48, 64 |
|
| cut | 16, 24, 32 |
|
| data_into | 16, 24, 32 |
|
| data_ok | 16, 24, 32 |
|
| data_out | 16, 24, 32 |
|
| delete | 16, 24, 32 |
|
| digisys | 16, 24, 32 |
|
| document | 16, 24, 32 |
|
| document_add | 16, 24, 32 |
|
| document_attachment | 16, 24, 32 |
|
| document_delete | 16, 24, 32 |
|
| document_edit | 16, 24, 32 |
|
| document_into | 16, 24, 32 |
|
| document_lock | 16, 24, 32 |
|
| document_new | 16, 24, 32 |
|
| document_out | 16, 24, 32 |
|
| document_plain | 16, 24, 32 |
|
| document_view | 16, 24, 32 |
|
| document_warning | 16, 24, 32 |
|
| drawing_utensils | 16, 24, 32, 48, 64 |
|
| earth | 16, 24, 32, 48, 64 |
|
| edit | 16, 24, 32, 48, 64 |
|
| element_copy | 16, 24, 32 |
|
| element_delete | 16, 24, 32 |
|
| element_down | 16, 24, 32 |
|
| element_new | 16, 24, 32 |
|
| element_next | 16, 24, 32 |
|
| element_up | 16, 24, 32 |
|
| emergency_stop_button | 16, 24, 32 |
|
| eraser2 | 16, 24, 32 |
|
| exit | 16, 24, 32 |
|
| erp | 16, 24, 32, 48, 64 |
|
| error | 16, 24, 32 |
|
| export | 16, 24, 32 |
|
| export2 | 16, 24, 32 |
|
| eye | 16, 24, 32 |
|
| factory | 16, 24, 32, 48, 64 |
|
| factory_into | 16, 24, 32, 48, 64 |
|
| find | 16, 24, 32 |
|
| fit-page | 16, 24, 32 |
|
| fit-width | 16, 24, 32 |
|
| floppy_disk | 16, 24, 32 |
|
| floppy_disks | 16, 24, 32 |
|
| folder | 16, 24, 32 |
|
| folder_add | 16, 24, 32 |
|
| folder_closed | 16, 24, 32 |
|
| folder_closed_lock | 16, 24, 32 |
|
| folder_delete | 16, 24, 32 |
|
| folder_lock | 16, 24, 32 |
|
| folder_out | 16, 24, 32 |
|
| font | 16, 24, 32 |
|
| form_clone | 16, 24, 32 |
|
| funnel | 16, 24, 32 |
|
| gauge2 | 16, 24, 32 |
|
| gear | 16, 24, 32 |
|
| gear_add | 16, 24, 32 |
|
| gear_refresh | 16, 24, 32 |
|
| gears | 16, 24, 32, 48, 64 |
|
| gears_add | 16, 24, 32 |
|
| gears_run | 16, 24, 32, 48, 64 |
|
| gears_star_yellow | 16, 24, 32, 48, 64 |
|
| go-first-view | 16, 24, 32 |
|
| go-last-view | 16, 24, 32 |
|
| go-next-view | 16, 24, 32 |
|
| go-previous-view | 16, 24, 32 |
|
| graph_edge | 16, 24, 32 |
|
| hand_grab2 | 16, 24, 32 |
|
| hand_stop | 16, 24, 32, 48, 64 |
|
| hand_thumb_up | 16, 24, 32 | |
| handsaw | 16, 24, 32 |
|
| handshake | 16, 24, 32, 48, 64 |
|
| handshake_play | 16, 24, 32, 48, 64 |
|
| handshake_preferences | 16, 24, 32, 48, 64 |
|
| handshake_star_yellow | 16, 24, 32, 48, 64 |
|
| headset | 16, 24, 32, 48, 64 |
|
| hscales | 16, 24, 32 |
|
| import | 16, 24, 32 |
|
| inv | 16, 24, 32 |
|
| inv_ok | 16, 24, 32 |
|
| inv_unknown | 16, 24, 32 |
|
| key2 | 16, 24, 32, 48, 64 |
|
| keyboard_key | 16, 24, 32 |
|
| keyboard_numkey | 16, 24, 32 |
|
| knife | 16, 24, 32 |
|
| labeler | 16, 24, 32, 48, 64 |
|
| link | 16, 24, 32 |
|
| lock | 16, 24, 32 |
|
| lock_open | 16, 24, 32 |
|
| lock_view | 16, 24, 32 |
|
| medal | 16, 24, 32, 48, 64 |
|
| menuopen | 16, 24, 32, 48, 64 |
|
| minus | 16, 24, 32 |
|
| move | 16, 24, 32 |
|
| multibbulk | 16, 24, 32, 48, 64 |
|
| navigate_cross | 16, 24, 32 |
|
| office_building | 16, 24, 32, 48, 64 |
|
| osiris | 16, 24, 32, 48 |
|
| package | 16, 24, 32, 48, 64 |
|
| package_new | 16, 24, 32 |
|
| package_preferences | 16, 24, 32, 48, 64 |
|
| packline | 16, 24, 32, 48, 64 |
|
| packline_tool | 16, 24, 32, 48, 64 |
|
| paint_brush | 16, 24, 32 |
|
| palempty | 16, 24, 32, 48, 64 |
|
| palmixed | 16, 24, 32, 48, 64 |
|
| palmixed_warning | 16, 24, 32, 48, 64 |
|
| palmono | 16, 24, 32, 48, 64 |
|
| panel_tool | 16, 24, 32, 48, 64 |
|
| paste | 16, 24, 32 |
|
| pencil | 16, 24, 32 |
|
| photo_landscape | 16, 24, 32 |
|
| photo_portrait | 16, 24, 32 |
|
| pickcart | 16, 24, 32, 48, 64 |
|
| pickstock | 16, 24, 32, 48, 64 |
|
| pipette | 16, 24, 32 |
|
| plus | 16, 24, 32 |
|
| plug_lan_forbidden | 16, 24, 32 |
|
| plug_lan_ok | 16, 24, 32 |
|
| preferences | 16, 24, 32, 48, 64 |
|
| preferences_into | 16, 24, 32 |
|
| preferences_out | 16, 24, 32 |
|
| printer | 16, 24, 32, 48, 64 |
|
| printer2 | 16, 24, 32, 48, 64 |
|
| printer2_gear | 16, 24, 32, 48, 64 |
|
| printer2_play | 16, 24, 32, 48, 64 |
|
| printer2_tool | 16, 24, 32, 48, 64 |
|
| pylon | 16, 24, 32 |
|
| radar | 16, 24, 32, 48, 64 |
|
| redo | 16, 24, 32 |
|
| refresh | 16, 24, 32 |
|
| replace2 | 16, 24, 32 |
|
| rfid_chip | 16, 24, 32 |
|
| robot_delete | 16, 24, 32 |
|
| robot_finish | 16, 24, 32 |
|
| robot_in | 16, 24, 32, 48, 64 |
|
| robot_out | 16, 24, 32, 48, 64 |
|
| robot_play | 16, 24, 32 |
|
| robot_refresh | 16, 24, 32 |
|
| robot_start | 16, 24, 32 |
|
| robot_stop | 16, 24, 32 |
|
| robots_delete | 16, 24, 32 |
|
| robots_play | 16, 24, 32 |
|
| robots_stop | 16, 24, 32 |
|
| selection | 16, 24, 32 |
|
| scales | 16, 24, 32, 48, 64 |
|
| shape_ellipse | 16, 24, 32 |
|
| shape_rectangle | 16, 24, 32 |
|
| shelf | 16, 24, 32 |
|
| shelf_empty | 16, 24, 32, 48, 64 |
|
| shelf_empty_new | 16, 24, 32 |
|
| shelf_empty_preferences | 16, 24, 32, 48, 64 |
|
| shopping_basket_add | 16, 24, 32 |
|
| shopping_basket_delete | 16, 24, 32 |
|
| shopping_basket_empty_forbidden | 16, 24, 32 |
|
| shopping_basket_empty_star_yellow | 16, 24, 32, 48, 64 |
|
| shopping_basket_ok | 16, 24, 32 |
|
| shopping_cart | 16, 24, 32, 48, 64 |
|
| signal_flag_checkered | 16, 24, 32 |
|
| sign_stop | 16, 24, 32 |
|
| symbol_dollar_star_yellow | 16, 24, 32, 48, 64 |
|
| symbol_percent | 16, 24, 32, 48, 64 |
|
| symbol_questionmark | 16, 24, 32, 48, 64 |
|
| table2_selection_rows | 16, 24, 32 |
|
| table_cell | 16, 24, 32 |
|
| table_column | 16, 24, 32 |
|
| table_row | 16, 24, 32 |
|
| table_row_add | 16, 24, 32 |
|
| table_row_delete | 16, 24, 32 |
|
| tag | 16, 24, 32 |
|
| tarebutton | 16, 24, 32 |
|
| text_align_center | 16, 24, 32 |
|
| text_align_justified | 16, 24, 32 |
|
| text_align_left | 16, 24, 32 |
|
| text_align_right | 16, 24, 32 |
|
| text_bold | 16, 24, 32 |
|
| text_italics | 16, 24, 32 |
|
| text_rich_colored | 16, 24, 32 |
|
| text_underlined | 16, 24, 32 |
|
| text_tree | 16, 24, 32 |
|
| text_tree_into | 16, 24, 32 |
|
| text_tree_out | 16, 24, 32 |
|
| toolbox | 16, 24, 32 |
|
| tractor_red | 16, 24, 32, 48, 64 |
|
| trafficlight_green | 16, 24, 32 |
|
| truck_blue | 16, 24, 32, 48, 64 |
|
| truck_blue_clock | 16, 24, 32, 48, 64 |
|
| truck_blue_star_yellow | 16, 24, 32, 48, 64 |
|
| truck_red | 16, 24, 32 |
|
| truck_red_clock | 16, 24, 32, 48, 64 |
|
| tscales | 16, 24, 32 |
|
| undo | 16, 24, 32 |
|
| user | 16, 24, 32, 48, 64 |
|
| user_add | 16, 24, 32 |
|
| user_delete | 16, 24, 32 |
|
| user_earth | 16, 24, 32, 48, 64 |
|
| user_edit | 16, 24, 32 |
|
| user_message | 16, 24, 32, 48, 64 |
|
| users2 | 16, 24, 32, 48, 64 |
|
| warning | 16, 24, 32, 48, 64 |
|
| warning_toxic | 16, 24, 32, 48, 64 |
|
| window_colors2 | 16, 24, 32 |
|
| window_font | 16, 24, 32 |
|
| window_gear | 16, 24, 32 |
|
| window_next | 16, 24, 32 |
|
| window_star | 16, 24, 32 |
|
| window_view | 16, 24, 32 |
|
| worker | 16, 24, 32 |
|
| worker2_clock | 16, 24, 32, 48, 64 |
|
| zerobutton | 16, 24, 32 |
|
| aName | The name of the icon. |
Get one of the built in pix maps.
| aName | The name of the image. |
| aSize | The size as 16, 24, 32, 48 or 64. |