/**
- * @file Gui/window.cpp
+ * @file Gui/panel.cpp
* @brief Version information for eVaf modules
* @author Enar Vaikene
*
* Agreement provided with the Software.
*/
-#include "window.h"
+#include "panel.h"
using namespace eVaf;
//-------------------------------------------------------------------
-Gui::Window::Window(QWidget * parent)
- : QWidget(parent)
+Gui::Panel::Panel(QWidget * parent, Qt::WindowFlags f)
+ : QWidget(parent, f)
{}
-Gui::Window::~Window()
+Gui::Panel::~Panel()
{}
/**
- * @file Gui/window.h
+ * @file Gui/panel.h
* @brief Version information for eVaf modules
* @author Enar Vaikene
*
* Agreement provided with the Software.
*/
-#ifndef __GUI_WINDOW_H
-# define __GUI_WINDOW_H
+#ifndef __GUI_PANEL_H
+# define __GUI_PANEL_H
#include "libgui.h"
namespace Gui {
/**
- * eVaf GUI window class.
- * @code#include <Gui/Window>@endcode
+ * eVaf GUI panel class.
+ * @code#include <Gui/Panel>@endcode
*
- * The Gui::Window class is a common ancestor for all the eVaf windows. eVaf applications can have different window managers
- * that manage Gui::Window objects.
+ * The Gui::Panel class is the generic widget for eVaf GUI applications. It is an empty
+ * widget that can be filled with actual user interface elements like labels, edit boxes etc.
+ * Gui::Panel acts like a normal widget, which can be shown as a stand-alone window or added to other
+ * user interface layouts.
+ *
+ * The main purpose of Gui::Panel is that it can be added to one of the eVaf document interface
+ * managers.
*/
-class GUI_EXPORT Window : public QWidget
+class GUI_EXPORT Panel : public QWidget
{
Q_OBJECT
public:
- Window(QWidget * parent = 0);
+ Panel(QWidget * parent = 0, Qt::WindowFlags f = 0);
- virtual ~Window();
+ virtual ~Panel();
};
} // namespace eVaf
-#endif // window.h
+#endif // panel.h
/**
* Module/library version number in the form major,minor,release,build
*/
-#define VER_FILE_VERSION 0,1,1,1
+#define VER_FILE_VERSION 0,2,1,3
/**
* Module/library version number in the string format (shall end with \0)
*/
-#define VER_FILE_VERSION_STR "0.1.1.1\0"
+#define VER_FILE_VERSION_STR "0.2.1.3\0"
/**
* Module/library name (shall end with \0)