eVaf
isdiwindow.h
Go to the documentation of this file.
1 
20 #ifndef __SDIWINDOW_ISDIWINDOW_H
21 # define __SDIWINDOW_ISDIWINDOW_H
22 
23 #include "libsdiwindow.h"
24 
25 #include <QString>
26 #include <QtPlugin>
27 
28 class QWidget;
29 class QLayout;
30 
31 namespace eVaf {
32 
33 namespace Gui {
34  class Panel;
35 } // namespace eVaf::Gui
36 
37 namespace SdiWindow {
38 
45 {
54  static iSdiWindow * instance();
55 
65  virtual void addPanel(QString const & name, Gui::Panel * panel) = 0;
66 
74  virtual Gui::Panel * panel(QString const & name) const = 0;
75 
83  virtual bool showPanel(QString const & name) = 0;
84 
85 };
86 
87 } // namespace eVaf::SdiWindow
88 } // namespace eVaf
89 
90 Q_DECLARE_INTERFACE(eVaf::SdiWindow::iSdiWindow, "eVaf.SdiWindow.iSdiWindow/1.1")
91 
92 #endif // isdiwindow.h
#define SDIWINDOW_EXPORT
Definition: libsdiwindow.h:27
eVaf GUI panel class.
Definition: panel.h:49
Single Document Interface window manager for eVaf applications.
Definition: isdiwindow.h:44
Global eVaf namespace.
Definition: engine.h:37