Class sh::ui::qt::QtSearchPanelConfiguration¶
-
class
sh::ui::qt
::
QtSearchPanelConfiguration
: public sh::ui::SearchPanelConfiguration¶ Search panel configuration for usage in a Qt ui.
Public Functions
-
QtSearchPanelConfiguration
(QtSearchPanel *owner, QHBoxLayout *editors)¶
-
SearchPanelButton *
addMenuButton
(QString text, QStringList menu, std::function<void(int)> onchanged)¶ Adds and returns a button for a menu. .
-
SearchPanelButton *
addActionButton
(QString text, std::function<void()> action)¶ Adds and returns a button for an action. .
-
SearchPanelTextEditor *
addTextEditor
()¶ Adds and returns a text editor. .
-
SearchPanelDateTimeEditor *
addDateTimeEditor
()¶ Adds and returns a date/time editor. .
-
SearchPanelLabelEditor *
addLabel
()¶ Adds and returns a label. .
-
SearchPanelSpacerEditor *
addSpacer
()¶ Adds and returns a spacer. .
-
SearchPanelAbstractEditor *
getEditorAt
(int i)¶ Returns the editor widget at a given position. .
-
void
onDestroyed
(std::function<void()> fctQObject *owner = 0, )¶ Sets a handler for panel removal (optionally bound to an owner lifetime).
Public Members
-
_SearchPanelConfiguration_HelperQObject
myqobject
¶
-