include_directories(${eVaf_INCLUDE})
# Required eVaf libraries
-set(eVaf_LIBRARIES CommonLib PluginsLib)
+set(eVaf_LIBRARIES CommonLib PluginsLib GuiLib)
# Source files
set(SRCS
// Create the main widget for this window
wMain = new Internal::MainWidget;
connect(wMain, SIGNAL(quit()), qApp, SLOT(quit()));
- win->addWidget(wMain);
+ win->addWindow(wMain);
// Create actions for the window and widgets on it
createActions();
# define __FILEFINDER_GUI_GUI_H
#include <Plugins/iPlugin>
+#include <Gui/Window>
#include <QObject>
#include <QString>
/**
* Main widget for the FileFinder window
*/
-class MainWidget : public QWidget
+class MainWidget : public Gui::Window
{
Q_OBJECT
public:
MainWidget(QWidget * parent = 0)
- : QWidget(parent)
+ : Gui::Window(parent)
{}
virtual void keyPressEvent(QKeyEvent * e);
/**
* Module/library version number in the form major,minor,release,build
*/
-#define VER_FILE_VERSION 0,1,2,2
+#define VER_FILE_VERSION 0,1,3,3
/**
* Module/library version number in the string format (shall end with \0)
*/
-#define VER_FILE_VERSION_STR "0.1.2.2\0"
+#define VER_FILE_VERSION_STR "0.1.3.3\0"
/**
* Module/library name (shall end with \0)
include_directories(${eVaf_INCLUDE})
# Required eVaf libraries
-set(eVaf_LIBRARIES CommonLib PluginsLib)
+set(eVaf_LIBRARIES CommonLib PluginsLib GuiLib)
# Source files
set(SRCS
#include <Common/iLogger>
#include <Common/iRegistry>
#include <SdiWindow/iSdiWindow>
+#include <Gui/Window>
#include <QtGui>
SdiWindow::iSdiWindow * win = evafQueryInterface<SdiWindow::iSdiWindow>("iSdiWindow");
EVAF_TEST_X(win, "No iSdiWindow interface");
- QWidget * masterWidget = new QWidget;
- win->addWidget(masterWidget);
+ Gui::Window * masterWidget = new Gui::Window;
+ win->addWindow(masterWidget);
QVBoxLayout * v = new QVBoxLayout;
masterWidget->setLayout(v);
/**
* Module/library version number in the form major,minor,release,build
*/
-#define VER_FILE_VERSION 0,1,3,4
+#define VER_FILE_VERSION 0,1,4,5
/**
* Module/library version number in the string format (shall end with \0)
*/
-#define VER_FILE_VERSION_STR "0.1.3.4\0"
+#define VER_FILE_VERSION_STR "0.1.4.5\0"
/**
* Module/library name (shall end with \0)