1 #ifndef VIEWER_WINDOW_H_INCLUDED
2 #define VIEWER_WINDOW_H_INCLUDED
24 #include <QMainWindow>
42 ViewerWindow(
const std::shared_ptr<Ws::MergedPreferences>&,
44 std::function<
void()> on_close = std::function<
void()>());
52 std::shared_ptr<Ws::MergedPreferences> m_preferences;
56 std::function<void()> m_on_close;
62 #endif // end_of_inclde_guard
A window containing visual output of a viewer.
ViewerWindow(const std::shared_ptr< Ws::MergedPreferences > &, QWidget *parent=nullptr, std::function< void()> on_close=std::function< void()>())
Interface for MergedPreferences.
see the online Qt documentation
see the online Qt documentation
virtual void closeEvent(QCloseEvent *)
overrides QWidget::closeEvent
Namespace for generic graphical shell for simulators.