Button that displays an embedded display widget in a dialog when clicked.
#include <Workspace/Widgets/displaywidgetbutton.h>
Inherits QWidget.
◆ DisplayWidgetButton()
DisplayWidgetButton |
( |
const QString & |
widgetCaption, |
|
|
QWidget * |
embeddedWidget, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
- Parameters
-
widgetCaption | The caption to be displayed in the window that the embedded widget is displayed in. |
embeddedWidget | The widget to display when the button is clicked. The DisplayWidgetButton takes ownership of this widget and will destroy it when it itself is destroyed. |
parent | Parent of this widget. |
Creates a new DisplayWidgetButton.
◆ ~DisplayWidgetButton()
◆ enableEmbeddedWidget()
void enableEmbeddedWidget |
( |
bool |
enabled | ) |
|