Class sh::ui::web::WebFilePropertyDialog::WebFilePropertyDialogTabActionsViewΒΆ
-
class
sh::ui::web::WebFilePropertyDialog
::
WebFilePropertyDialogTabActionsView
: public sh::ui::FilePropertyDialogTabActionsView, public sh::tools::Jsonable, public sh::ui::web::WebFilePropertyDialog::WebFilePropertyDialogChild Public Functions
-
WebFilePropertyDialogTabActionsView
(WebFilePropertyDialog *dlg)
-
void
setVisible
(bool v) override Sets the view visible or hidden. .
-
void
setContent
(FilePropertyDialogTabViewContent *cnt) override Sets the main widget. .
-
void
setButtons
(QList<QString> buttons) override Sets the list of buttons. .
-
void
setLabelText
(QString text)
-
QJsonObject
toJson
() override Returns the json respesentation as QJsonObject.
-
FilePropertyDialogTabViewContent *
content
() The main widget.
The list of buttons.
-
void
onButtonTriggered
(std::function<void(int i)> fct, QObject *owner = 0, ) Sets a handler for a click on one of the buttons (optionally bound to an owner lifetime).
Private Members
-
bool
_visible
= false
-
QString
_labelText
Friends
- friend class WebFilePropertyDialog
-