Qt GUI: made the Qt4 main window native Qt4 (no more use of Q3MainWindow)

This commit is contained in:
Jean-Francois Dockes
2010-01-30 14:09:40 +01:00
parent 4802ec53ed
commit 7f8c086f4a
6 changed files with 367 additions and 27 deletions
+2 -7
View File
@@ -10,9 +10,11 @@
#include <qwidget.h>
#include <qstring.h>
#if QT_VERSION < 0x040000
#include <qgroupbox.h>
#include <qtabdialog.h>
#define QTABDIALOG QTabDialog
#else // Qt4 ->
#include <Q3GroupBox>
#include <Q3TabDialog>
#define QTABDIALOG Q3TabDialog
#endif // QT 3/4
@@ -26,7 +28,6 @@ class ConfNull;
class RclConfig;
class ConfParamW;
class ConfParamDNLW;
class QGroupBox;
namespace confgui {
@@ -54,12 +55,6 @@ public:
ConfTopPanelW(QWidget *parent, ConfNull *config);
};
#if QT_VERSION < 0x040000
#include <qgroupbox.h>
#else
#include <Q3GroupBox>
#endif
/**
* A panel for the parameters that can be changed in subdirectories:
*/