WidgetActionCollapsedWidget
Qualified name: mv::gui::WidgetActionCollapsedWidget
-
class WidgetActionCollapsedWidget : public mv::gui::WidgetActionViewWidget
Widget action collapsed widget class.
Displays a tool button that shows the widget in a popup
Note: This action is developed for internal use only
- Author
Thomas Kroes
Public Functions
-
WidgetActionCollapsedWidget(QWidget *parent, WidgetAction *action)
Construct with pointer to \parent widget and pointer to owning
action.- Parameters:
parent – Parent widget
action – Pointer to the widget action that will be displayed in a popup
-
WidgetActionCollapsedWidget(QWidget *parent, WidgetAction *action, WidgetConfigurationFunction widgetConfigurationFunction)
Construct with pointer to \parent widget, pointer to owning
actionandwidgetConfigurationFunction.- Parameters:
parent – Parent widget
action – Pointer to the widget action that will be displayed in a popup
widgetConfigurationFunction – This function is called right after the popup action widget is created
-
virtual void setAction(WidgetAction *action) override
Set the action to
action.- Parameters:
widgetAction – Pointer to action
-
inline WidgetActionToolButton &getToolButton()
Get tool button.
- Returns:
Get reference to the tool button