# define __FILEFINDER_GUI_GUI_H
#include <Plugins/iPlugin>
-#include <Gui/Window>
+#include <Gui/Panel>
#include <QObject>
#include <QString>
/**
* Main widget for the FileFinder window
*/
-class MainWidget : public Gui::Window
+class MainWidget : public Gui::Panel
{
Q_OBJECT
public:
MainWidget(QWidget * parent = 0)
- : Gui::Window(parent)
+ : Gui::Panel(parent)
{}
virtual void keyPressEvent(QKeyEvent * e);
/**
* Module/library version number in the form major,minor,release,build
*/
-#define VER_FILE_VERSION 0,1,3,3
+#define VER_FILE_VERSION 0,1,4,4
/**
* Module/library version number in the string format (shall end with \0)
*/
-#define VER_FILE_VERSION_STR "0.1.3.3\0"
+#define VER_FILE_VERSION_STR "0.1.4.4\0"
/**
* Module/library name (shall end with \0)
#include <Common/iLogger>
#include <Common/iRegistry>
#include <SdiWindow/iSdiWindow>
-#include <Gui/Window>
+#include <Gui/Panel>
#include <QtGui>
SdiWindow::iSdiWindow * win = evafQueryInterface<SdiWindow::iSdiWindow>("iSdiWindow");
EVAF_TEST_X(win, "No iSdiWindow interface");
- Gui::Window * masterWidget = new Gui::Window;
- win->addWindow(masterWidget);
+ Gui::Panel * panel = new Gui::Panel;
+ win->addPanel("PswGen", panel);
QVBoxLayout * v = new QVBoxLayout;
- masterWidget->setLayout(v);
+ panel->setLayout(v);
QGridLayout * g = new QGridLayout;
v->addLayout(g);
}
connect(wName, SIGNAL(textChanged(QString)), this, SLOT(textChanged(QString)));
g->addWidget(wName, 1, 1, 1, 2);
- masterWidget->setFocusProxy(wName);
+ panel->setFocusProxy(wName);
l = new QLabel(tr("&Length of the password:", VER_MODULE_NAME_STR));
l->setAlignment(Qt::AlignRight);
connect(wCopy, SIGNAL(clicked()), this, SLOT(copyClicked()));
h->addWidget(wCopy);
- QAction * a = new QAction(masterWidget);
+ QAction * a = new QAction(panel);
a->setShortcut(Qt::Key_Return);
connect(a, SIGNAL(triggered()), this, SLOT(generateClicked()));
- masterWidget->addAction(a);
+ panel->addAction(a);
- a = new QAction(masterWidget);
+ a = new QAction(panel);
a->setShortcut(Qt::Key_Escape);
connect(a, SIGNAL(triggered()), qApp, SLOT(quit()));
- masterWidget->addAction(a);
+ panel->addAction(a);
mReady = true;
/**
* Module/library version number in the form major,minor,release,build
*/
-#define VER_FILE_VERSION 0,1,4,5
+#define VER_FILE_VERSION 0,1,5,6
/**
* Module/library version number in the string format (shall end with \0)
*/
-#define VER_FILE_VERSION_STR "0.1.4.5\0"
+#define VER_FILE_VERSION_STR "0.1.5.6\0"
/**
* Module/library name (shall end with \0)