|
ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
|
#include <WidgetActionWidget.h>
Public Types | |
| enum | WidgetFlag { PopupLayout = 0x00100 } |
Public Member Functions | |
| WidgetActionWidget (QWidget *parent, WidgetAction *action, const std::int32_t &widgetFlags=0) | |
| virtual bool | isPopup () const final |
| QSize | sizeHint () const override |
| void | setLayout (QLayout *layout) |
Public Member Functions inherited from hdps::gui::WidgetActionViewWidget | |
| WidgetActionViewWidget (QWidget *parent, WidgetAction *action) | |
| virtual WidgetAction * | getAction () final |
| virtual void | setAction (WidgetAction *widgetAction) |
Protected Attributes | |
| std::int32_t | _widgetFlags |
Additional Inherited Members | |
Protected Member Functions inherited from hdps::gui::WidgetActionViewWidget | |
| void | dragEnterEvent (QDragEnterEvent *dragEnterEvent) override |
| void | dragLeaveEvent (QDragLeaveEvent *dragLeaveEvent) override |
| void | dropEvent (QDropEvent *dropEvent) override |
Widget action widget class
Base class for widgets that interact with a widget action
| hdps::gui::WidgetActionWidget::WidgetActionWidget | ( | QWidget * | parent, |
| WidgetAction * | action, | ||
| const std::int32_t & | widgetFlags = 0 |
||
| ) |
Constructor
| parent | Parent widget |
| action | Pointer to the widget action that will be displayed |
| widgetFlags | Widget flags for the configuration of the widget (type) |
|
finalvirtual |
Get whether the widget is in a popup state
| void hdps::gui::WidgetActionWidget::setLayout | ( | QLayout * | layout | ) |
Override to allow for popup layouts
| layout | Pointer to layout |
|
override |
Override the size hint to account for popups
|
protected |