Class sh::ui::qt::QtFilePropertyDialogTabActionsView¶
-
class
sh::ui::qt
::
QtFilePropertyDialogTabActionsView
: public QWidget, public sh::ui::FilePropertyDialogTabActionsView¶ A tab view which shows a main widget in the main part and some buttons below.
Public Functions
-
QtFilePropertyDialogTabActionsView
(QWidget *parent = 0)¶ Is intended to be directly constructed from everywhere.
-
void
setContent
(FilePropertyDialogTabViewContent *w)¶ Sets the main widget. .
-
void
setButtons
(QList<QString> buttons)¶ Sets the list of buttons. .
-
void
setVisible
(bool v)¶ Sets the view visible or hidden. .
-
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).
-