]> vaikene.ee Git - evaf/blobdiff - src/plugins/LogView/logview.h
The LogView widget is now subclassed from Gui::Panel and adds itself to the document...
[evaf] / src / plugins / LogView / logview.h
index 1bfe6a8228b62c30943efa09787ee95fd3ecfa25..dd768585587f7e7cf5e8a19ffc6ea5f34409f4f7 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <Plugins/iPlugin>
 #include <Common/iLogger>
+#include <Gui/Panel>
 
 #include <QObject>
 #include <QString>
@@ -171,13 +172,13 @@ private:
 /**
  * The log view window
  */
-class Window : public QWidget
+class Window : public Gui::Panel
 {
     Q_OBJECT
 
 public:
 
-    Window(QWidget * parent = 0, Qt::WindowFlags flags = 0);
+    Window(QString const & args, QWidget * parent = 0, Qt::WindowFlags flags = 0);
 
     virtual ~Window();
 
@@ -195,6 +196,8 @@ private: // Methods
 
     void restoreSettings();
 
+    QString getPanelName(QString const & args) const;
+
 
 private: // Members