VPTissue Reference Manual
|
A dock widget containing visual output of a viewer. More...
#include <ViewerDockWidget.h>
Public Member Functions | |
ViewerDockWidget (Qt::DockWidgetArea, const std::shared_ptr< Ws::MergedPreferences > &, QWidget *parent=nullptr, std::function< void()> on_close=std::function< void()>()) | |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *) |
overrides QWidget::closeEvent More... | |
Protected Attributes | |
std::shared_ptr< Ws::MergedPreferences > | m_preferences |
A dock widget containing visual output of a viewer.
(e.g. LOG viewer) A callback can be performed when the window is closed.
Definition at line 34 of file ViewerDockWidget.h.
SimShell::Gui::ViewerDockWidget::ViewerDockWidget | ( | Qt::DockWidgetArea | , |
const std::shared_ptr< Ws::MergedPreferences > & | , | ||
QWidget * | parent = nullptr , |
||
std::function< void()> | on_close = std::function<void()>() |
||
) |
parent | Parent widget. |
on_close | Callback to be performed when widget is closed. |
Definition at line 31 of file ViewerDockWidget.cpp.
|
protectedvirtual |
overrides QWidget::closeEvent
Definition at line 54 of file ViewerDockWidget.cpp.