--- /dev/null
+import os,re,shutil
+
+#lines2 = [elt.replace("#include <QColor>","#include <QtGui/QColor>") for elt in lines]
+#lines2 = [elt.replace("#include <QHideEvent>","#include <QtGui/QHideEvent>") for elt in lines]
+#something = "QPainterPath"
+#"QHideEvent","QPixmap","QRgb" QtWidgets
+
+pat = re.compile("#include <(Q[A-Z][^\>]+)")
+
+def isQtHeader(f):
+ for r,dirs,fis in os.walk("/usr/include/x86_64-linux-gnu/qt5"):
+ if f in fis:
+ return os.path.join(os.path.basename(r),f)
+ return None
+
+def dealWith(fn):
+ fn2 = "{}.new".format(fn)
+ for something in ["QMainWindow"]:
+ with open(fn) as f:
+ lines = f.readlines()
+ lines2 = []
+ for line in lines:
+ m = pat.match(line)
+ if m:
+ p = m.group(1)
+ if "/" in p:
+ lines2.append(line)
+ else:
+ s = isQtHeader(p)
+ if s:
+ print(p,s)
+ lines2.append(line.replace(p,s))
+ else:
+ lines2.append(line)
+ else:
+ lines2.append(line)
+ pass
+ pass
+ #lines2 = [elt.replace("#include <{}>".format(something),"#include <QtWidgets/{}>".format(something)) for elt in lines]
+ if lines2 != lines:
+ with open(fn2,"w") as f:
+ f.writelines(lines2)
+ shutil.move(fn2,fn)
+
+for r,dirs,fis in os.walk(os.getcwd()):
+ for fi in fis:
+ if os.path.splitext(fi)[1] in [".h",".cxx"]:
+ dealWith(os.path.join(r,fi))
+
+
+
+#QPainterPath
#include <QtxAction.h>
#include <QtxListAction.h>
-#include <QMap>
-#include <QStringList>
+#include <QtCore/QMap>
+#include <QtCore/QStringList>
#include <Resource_Manager.hxx>
#include <TColStd_SequenceOfAsciiString.hxx>
#include <SUIT_MessageBox.h>
#include <SUIT_Application.h>
-#include <QDir>
+#include <QtCore/QDir>
#include <TDF_Delta.hxx>
#include <TDF_ListIteratorOfDeltaList.hxx>
#include <GUI_version.h>
#include <QtWidgets/QApplication>
-#include <QRegExp>
+#include <QtCore/QRegExp>
#ifdef WIN32
#include <windows.h>
#include "CAM.h"
#include <STD_Application.h>
-#include <QList>
+#include <QtCore/QList>
class QMenu;
class CAM_Module;
#include "CAM.h"
-#include <QObject>
-#include <QStringList>
+#include <QtCore/QObject>
+#include <QtCore/QStringList>
class CAM_Module;
class CAM_DataObject;
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
-#include <QMenu>
+#include <QtWidgets/QMenu>
/*!
\class CAM_Module
#include "CAM.h"
-#include <QObject>
+#include <QtCore/QObject>
#include <QtGui/QPixmap>
-#include <QString>
-#include <QMap>
-#include <QPair>
+#include <QtCore/QString>
+#include <QtCore/QMap>
+#include <QtCore/QPair>
#include <QtGui/QKeySequence>
class QAction;
#include "CAM.h"
#include <SUIT_Study.h>
-#include <QList>
+#include <QtCore/QList>
class CAM_DataModel;
//
#include "SALOME_Event.h"
-#include <QSemaphore>
+#include <QtCore/QSemaphore>
#include <QtWidgets/QApplication>
// asv 21.02.05 : introducing multi-platform approach of thread comparison
#include "Event.h"
-#include <QEvent>
+#include <QtCore/QEvent>
//! SALOME custom event type
#define SALOME_EVENT QEvent::Type( QEvent::User + 10000 )
#define SALOME_EVENTFILTER_H
#include "Event.h"
-#include <QObject>
+#include <QtCore/QObject>
#if defined WIN32
#pragma warning( disable: 4251 )
#include "GLViewer_BaseObjects.h"
// Qt includes
-#include <QColor>
+#include <QtGui/QColor>
#if !defined(WIN32) && !defined(__APPLE__)
#include <GL/glx.h>
#include "GLViewer_Group.h"
#include "GLViewer_Drawer.h"
-#include <QFile>
+#include <QtCore/QFile>
/*!
Constructor
#include "GLViewer_ViewFrame.h"
//QT includes
-#include <QRect>
+#include <QtCore/QRect>
#include <TColStd_SequenceOfInteger.hxx>
#ifndef GLVIEWER_DEFS_H
#define GLVIEWER_DEFS_H
-#include <QMap>
-#include <QList>
+#include <QtCore/QMap>
+#include <QtCore/QList>
class GLViewer_Object;
//Selection staus
#include <QtWidgets/QApplication>
#include <QtGui/QImage>
#include <QtGui/QPainter>
-#include <QFile>
+#include <QtCore/QFile>
#if defined(__APPLE__)
#include <OpenGL/CGLCurrent.h>
#include "GLViewer.h"
-#include <QRect>
+#include <QtCore/QRect>
#include <QtOpenGL/QtOpenGL>
#include <math.h>
#include "GLViewer.h"
-#include <QMimeData>
+#include <QtCore/QMimeData>
#ifdef WIN32
#pragma warning( disable:4251 )
#include <GL/gl.h>
#endif
-#include <QString>
+#include <QtCore/QString>
class QFile;
#include "GLViewer.h"
#include "GLViewer_Defs.h"
-#include <QSize>
-#include <QObject>
+#include <QtCore/QSize>
+#include <QtCore/QObject>
class QRect;
#endif
#include <QtGui/QFont>
-#include <QString>
+#include <QtCore/QString>
#include <QtGui/QColor>
#ifdef WIN32
#include "GLViewer_ViewPort2d.h"
#include "GLViewer_ViewFrame.h"
-#include <QLabel>
-#include <QTimer>
+#include <QtWidgets/QLabel>
+#include <QtCore/QTimer>
#include <QtGui/QBitmap>
#include <QtWidgets/QApplication>
-#include <QToolTip>
+#include <QtWidgets/QToolTip>
#include <QtGui/QMouseEvent>
/*!
//#include <qtooltip.h>
//#include <QtxToolTip.h>
-#include <QObject>
-#include <QPoint>
+#include <QtCore/QObject>
+#include <QtCore/QPoint>
#define TIP_TIME 1000
#include <SUIT_ResourceMgr.h>
#include <SUIT_MessageBox.h>
-#include <QColor>
-#include <QFileDialog>
+#include <QtGui/QColor>
+#include <QtWidgets/QFileDialog>
#include <QtGui/QImage>
-#include <QHBoxLayout>
-#include <QString>
-#include <QFrame>
+#include <QtWidgets/QHBoxLayout>
+#include <QtCore/QString>
+#include <QtWidgets/QFrame>
#include <QtGui/QMouseEvent>
#include <QtGui/QKeyEvent>
#include <QtGui/QWheelEvent>
#include "SUIT_ResourceMgr.h"
#include "SUIT_Session.h"
-#include <QRect>
+#include <QtCore/QRect>
#include <QtGui/QCursor>
#include <QtGui/QPainter>
-#include <QMultiHash>
-//#include <QMenu>
-#include <QColorDialog>
-#include <QColormap>
+#include <QtCore/QMultiHash>
+//#include <QtWidgets/QMenu>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QColormap>
#include <QtGui/QMouseEvent>
-#include <QCoreApplication>
+#include <QtCore/QCoreApplication>
#include <stdlib.h>
#if !defined WIN32 && !defined __APPLE__
-#include <QX11Info>
+#include <QtX11Extras/QX11Info>
#include <GL/glx.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
//#include <QList>
#include <QtGui/QColor>
-//#include <QAction>
-#include <QWidget>
+//#include <QtWidgets/QAction>
+#include <QtWidgets/QWidget>
//#include <Aspect_Window.hxx>
// TODO: Porting to Qt4
//#include <QtxToolTip.h>
-#include <QHBoxLayout>
+#include <QtWidgets/QHBoxLayout>
#include <QtGui/QMouseEvent>
-#include <QRect>
-//#include <QMenu>
+#include <QtCore/QRect>
+//#include <QtWidgets/QMenu>
//#include <QToolTip>
#include <QtWidgets/QApplication>
-#include <QClipboard>
+#include <QtGui/QClipboard>
#include <QtGui/QBitmap>
-#include <QLabel>
-#include <QWidget>
-#include <QRubberBand>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QRubberBand>
#define WIDTH 640
#define HEIGHT 480
#include <QtOpenGL/QtOpenGL>
#include <QtGui/QColor>
-#include <QPaintDevice>
+#include <QtGui/QPaintDevice>
#ifdef WIN32
#pragma warning( disable:4251 )
#include "SUIT_ViewManager.h"
#include <QtWidgets/QApplication>
-#include <QMenu>
-#include <QColorDialog>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QColorDialog>
#include <QtGui/QMouseEvent>
#include <QtGui/QWheelEvent>
-#include <QRect>
-#include <QRubberBand>
+#include <QtCore/QRect>
+#include <QtWidgets/QRubberBand>
/* used for sketching */
static QEvent* l_mbPressEvent = 0;
#include <SUIT_ViewModel.h>
#include <QtGui/QCursor>
-#include <QObject>
+#include <QtCore/QObject>
class QMouseEvent;
class QKeyEvent;
#include "SUIT_ViewWindow.h"
#include "SUIT_ViewManager.h"
-#include <QMenu>
-#include <QRect>
-#include <QFile>
-#include <QPolygon>
+#include <QtWidgets/QMenu>
+#include <QtCore/QRect>
+#include <QtCore/QFile>
+#include <QtGui/QPolygon>
#include <QtGui/QMouseEvent>
-#include <QColorDialog>
+#include <QtWidgets/QColorDialog>
/*!
Constructor
#include <cmath>
-#include <QEvent>
+#include <QtCore/QEvent>
#include <QtGui/QPaintEvent>
-#include <QRect>
-#include <QFile>
+#include <QtCore/QRect>
+#include <QtCore/QFile>
#include <QtGui/QImage>
#include <QtWidgets/QApplication>
-#include <QToolTip>
+#include <QtWidgets/QToolTip>
/*!
A constructor
#ifndef GRAPHICSVIEW_DEFS_H
#define GRAPHICSVIEW_DEFS_H
-#include <QList>
+#include <QtCore/QList>
class GraphicsView_Object;
typedef QList<GraphicsView_Object*> GraphicsView_ObjectList;
#include "GraphicsView_Defs.h"
-#include <QGraphicsItemGroup>
+#include <QtWidgets/QGraphicsItemGroup>
class GraphicsView_ViewPort;
#include "GraphicsView_Scene.h"
-#include <QGraphicsLineItem>
-#include <QGraphicsRectItem>
-#include <QGraphicsSceneWheelEvent>
+#include <QtWidgets/QGraphicsLineItem>
+#include <QtWidgets/QGraphicsRectItem>
+#include <QtWidgets/QGraphicsSceneWheelEvent>
//#define VIEWER_DEBUG
#include "GraphicsView.h"
-#include <QGraphicsScene>
+#include <QtWidgets/QGraphicsScene>
class QGraphicsRectItem;
#include "GraphicsView_Defs.h"
-#include <QObject>
-#include <QRectF>
+#include <QtCore/QObject>
+#include <QtCore/QRectF>
class GraphicsView_Viewer;
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
-#include <QColor>
-#include <QFrame>
-#include <QFileDialog>
-#include <QGraphicsSceneMouseEvent>
-#include <QGraphicsSceneWheelEvent>
-#include <QHBoxLayout>
+#include <QtGui/QColor>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QGraphicsSceneMouseEvent>
+#include <QtWidgets/QGraphicsSceneWheelEvent>
+#include <QtWidgets/QHBoxLayout>
#include <QtGui/QImage>
#include <QtGui/QMouseEvent>
-#include <QString>
+#include <QtCore/QString>
#include <QtGui/QWheelEvent>
//=======================================================================
#include "SUIT_Session.h"
#include <QtGui/QCursor>
-#include <QGraphicsSceneMouseEvent>
-#include <QGridLayout>
-#include <QLabel>
-#include <QMoveEvent>
-#include <QRectF>
-#include <QRubberBand>
-#include <QScrollBar>
+#include <QtWidgets/QGraphicsSceneMouseEvent>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QLabel>
+#include <QtGui/QMoveEvent>
+#include <QtCore/QRectF>
+#include <QtWidgets/QRubberBand>
+#include <QtWidgets/QScrollBar>
#include <QtPrintSupport/QPrinter>
#include <QtGui/QPainter>
#include "GraphicsView_Defs.h"
-#include <QGraphicsView>
+#include <QtWidgets/QGraphicsView>
class QGridLayout;
class QRubberBand;
#include "GraphicsView_ViewPort.h"
#include "GraphicsView_Viewer.h"
-#include <QGraphicsSceneMouseEvent>
-#include <QRectF>
-#include <QRubberBand>
+#include <QtWidgets/QGraphicsSceneMouseEvent>
+#include <QtCore/QRectF>
+#include <QtWidgets/QRubberBand>
int GraphicsView_ViewTransformer::panBtn = Qt::MidButton;
int GraphicsView_ViewTransformer::zoomBtn = Qt::LeftButton;
#include "GraphicsView.h"
#include <QtGui/QCursor>
-#include <QObject>
+#include <QtCore/QObject>
class QRectF;
class QRubberBand;
#include <ImageComposer_Image.h>
#include <QtWidgets/QApplication>
-#include <QColorDialog>
-#include <QGraphicsSceneMouseEvent>
-#include <QGraphicsSceneWheelEvent>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QGraphicsSceneMouseEvent>
+#include <QtWidgets/QGraphicsSceneWheelEvent>
#include <QtGui/QKeyEvent>
-#include <QMenu>
+#include <QtWidgets/QMenu>
#include <math.h>
/*
#include "GraphicsView_PrsImage.h"
#include "GraphicsView_PrsPropDlg.h"
-#include <QFileDialog>
+#include <QtWidgets/QFileDialog>
*/
//=======================================================================
// QT Includes
#include <QtGui/QIcon>
-#include <QAction>
+#include <QtWidgets/QAction>
#include <Basics_Utils.hxx>
#include "QtHelper.hxx"
#include "HelpBrowser_Application.h"
-#include <QDir>
-#include <QFile>
-#include <QFileInfo>
-#include <QFileSystemWatcher>
-#include <QLibraryInfo>
-#include <QMessageBox>
-#include <QTextStream>
-#include <QTimer>
+#include <QtCore/QDir>
+#include <QtCore/QFile>
+#include <QtCore/QFileInfo>
+#include <QtCore/QFileSystemWatcher>
+#include <QtCore/QLibraryInfo>
+#include <QtWidgets/QMessageBox>
+#include <QtCore/QTextStream>
+#include <QtCore/QTimer>
#include <QtxResourceMgr.h>
#include <QtxTranslator.h>
#include <QtxWebBrowser.h>
#include "HelpBrowser_Application.h"
-#include <QFile>
-#include <QFileSystemWatcher>
-#include <QTextStream>
-#include <QWidget>
+#include <QtCore/QFile>
+#include <QtCore/QFileSystemWatcher>
+#include <QtCore/QTextStream>
+#include <QtWidgets/QWidget>
/*!
\brief Constructor
#ifndef QTLOCALPEER_H
#define QTLOCALPEER_H
-#include <QLocalServer>
-#include <QLocalSocket>
-#include <QDir>
+#include <QtNetwork/QLocalServer>
+#include <QtNetwork/QLocalSocket>
+#include <QtCore/QDir>
#include "qtlockedfile.h"
#ifndef QTLOCKEDFILE_H
#define QTLOCKEDFILE_H
-#include <QFile>
+#include <QtCore/QFile>
#ifdef Q_OS_WIN
-#include <QVector>
+#include <QtCore/QVector>
#endif
#if defined(Q_OS_WIN)
#include "ImageComposer_ColorMaskOperator.h"
#include "ImageComposer_MetaTypes.h"
-#include <QRectF>
+#include <QtCore/QRectF>
#include <QtGui/QRgb>
#include <QtGui/QPixmap>
#include <QtGui/QPainter>
#include "ImageComposer_CutOperator.h"
#include "ImageComposer_MetaTypes.h"
-#include <QString>
+#include <QtCore/QString>
#include <QtGui/QPixmap>
#include <QtGui/QPainter>
#include "ImageComposer_FuseOperator.h"
#include "ImageComposer_MetaTypes.h"
-#include <QString>
+#include <QtCore/QString>
#include <QtGui/QPixmap>
#include <QtGui/QPainter>
#include "ImageComposer_Image.h"
-#include <QVariant>
+#include <QtCore/QVariant>
#include <QtGui/QPainterPath>
// Here we declare the meta types for classes which used by
#include <QtxGridBox.h>
-#include <QLabel>
-#include <QVBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QVBoxLayout>
#include <QtGui/QPixmap>
#include <QtGui/QIcon>
-#include <QGroupBox>
-#include <QTabWidget>
-#include <QPushButton>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QPushButton>
/*!Constructor.*/
LightApp_AboutDlg::LightApp_AboutDlg( const QString& defName, const QString& defVer, QWidget* parent )
#define VISIBILITY_COLUMN_WIDTH 25
-#include <QDir>
+#include <QtCore/QDir>
#include <QtGui/QImage>
-#include <QString>
-#include <QWidget>
-#include <QStringList>
-#include <QFile>
+#include <QtCore/QString>
+#include <QtWidgets/QWidget>
+#include <QtCore/QStringList>
+#include <QtCore/QFile>
#include <QtWidgets/QApplication>
-#include <QMap>
-#include <QStatusBar>
-#include <QThread>
-#include <QObjectList>
-#include <QComboBox>
-#include <QInputDialog>
+#include <QtCore/QMap>
+#include <QtWidgets/QStatusBar>
+#include <QtCore/QThread>
+#include <QtCore/QObjectList>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QInputDialog>
#include <QtGui/QFontDatabase>
#include <QtGui/QIcon>
-#include <QByteArray>
-#include <QMenu>
-#include <QProcess>
-#include <QTimer>
-#include <QHeaderView>
-#include <QTreeView>
-#include <QMimeData>
-#include <QShortcut>
-#include <QRegExp>
+#include <QtCore/QByteArray>
+#include <QtWidgets/QMenu>
+#include <QtCore/QProcess>
+#include <QtCore/QTimer>
+#include <QtWidgets/QHeaderView>
+#include <QtWidgets/QTreeView>
+#include <QtCore/QMimeData>
+#include <QtWidgets/QShortcut>
+#include <QtCore/QRegExp>
#include <utilities.h>
#include <SUIT_DataObject.h>
#include <CAM_Application.h>
-#include <QPointer>
-#include <QStringList>
+#include <QtCore/QPointer>
+#include <QtCore/QStringList>
class LogWindow;
#ifndef DISABLE_PYCONSOLE
#include <CAM_Module.h>
#include <SUIT_DataObjectKey.h>
-#include <QVariant>
+#include <QtCore/QVariant>
#include <iostream>
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
-#include <QAbstractButton>
-#include <QToolButton>
-#include <QLineEdit>
-#include <QLabel>
+#include <QtWidgets/QAbstractButton>
+#include <QtWidgets/QToolButton>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QLabel>
/*!
Constructor
#include "LightApp.h"
#include <QtxDialog.h>
-#include <QList>
-#include <QMap>
+#include <QtCore/QList>
+#include <QtCore/QMap>
#include <QtGui/QPixmap>
class QLineEdit;
#include <SUIT_ViewModel.h>
#include <SUIT_ViewWindow.h>
-#include <QStringList>
-#include <QString>
+#include <QtCore/QStringList>
+#include <QtCore/QString>
#ifndef DISABLE_SALOMEOBJECT
#include "SALOME_InteractiveObject.hxx"
#endif
#include <OSD_Protection.hxx>
#include <OSD_FileIterator.hxx>
-#include <QFileInfo>
-#include <QDir>
+#include <QtCore/QFileInfo>
+#include <QtCore/QDir>
#include <Qtx.h>
#include "LightApp.h"
-#include <QObject>
+#include <QtCore/QObject>
#if defined WIN32
#pragma warning( disable: 4251 )
#include "LightApp_FileValidator.h"
#include "SUIT_MessageBox.h"
-#include <QFileInfo>
+#include <QtCore/QFileInfo>
/*!
\class LightApp_PyFileValidator
// Created: 04/10/2011 18:44:25 PM
// Author: OCC team
//
-#include <QAction>
-#include <QMenuBar>
-#include <QStatusBar>
-#include <QToolBar>
+#include <QtWidgets/QAction>
+#include <QtWidgets/QMenuBar>
+#include <QtWidgets/QStatusBar>
+#include <QtWidgets/QToolBar>
#include <QtxWorkstack.h>
#include "LightApp.h"
-#include <QMap>
-#include <QDockWidget>
-#include <QToolBar>
+#include <QtCore/QMap>
+#include <QtWidgets/QDockWidget>
+#include <QtWidgets/QToolBar>
class LIGHTAPP_EXPORT LightApp_FullScreenHelper {
#include <GLViewer_Viewer2d.h>
-#include <QObject>
+#include <QtCore/QObject>
class LightApp_DataObject;
#include "LightApp.h"
-#include <QObject>
+#include <QtCore/QObject>
#include <SUIT_Selector.h>
#include <SUIT_DataOwner.h>
#include <GraphicsView_Defs.h>
#include <QtxPopupMgr.h>
-#include <QVariant>
-#include <QString>
-#include <QStringList>
-#include <QAction>
+#include <QtCore/QVariant>
+#include <QtCore/QString>
+#include <QtCore/QStringList>
+#include <QtWidgets/QAction>
#include <iostream>
#include <QtxComboBox.h>
#include <QtxActionSet.h>
-#include <QVBoxLayout>
+#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QApplication>
-#include <QEvent>
+#include <QtCore/QEvent>
/*!
\class LightApp_ModuleAction::ActionSet
//
#include "LightApp_ModuleDlg.h"
-#include <QLabel>
-#include <QPushButton>
-#include <QGridLayout>
-#include <QHBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QHBoxLayout>
/*!
\brief Pixmap used as default icon for the module.
#include <QtWidgets/QDialog>
#include <QtGui/QPixmap>
-#include <QMap>
+#include <QtCore/QMap>
class QPushButton;
class QHBoxLayout;
#include "LightApp_NameDlg.h"
#include <SUIT_Tools.h>
-#include <QGroupBox>
-#include <QLabel>
-#include <QLineEdit>
-#include <QPushButton>
-#include <QHBoxLayout>
-#include <QVBoxLayout>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QVBoxLayout>
/*!
Constructor
#include <SUIT_DataBrowser.h>
#include <SUIT_Session.h>
#include <SUIT_DataObjectIterator.h>
-#include <QTime>
+#include <QtCore/QTime>
#include <time.h>
/*!
#include <SUIT_Selector.h>
#include <SUIT_DataOwner.h>
-#include <QObject>
+#include <QtCore/QObject>
class SUIT_DataBrowser;
class LightApp_DataObject;
#include <SUIT_Selector.h>
#include <SUIT_DataOwner.h>
-#include <QObject>
+#include <QtCore/QObject>
#ifndef DISABLE_OCCVIEWER
#include <OCCViewer_ViewModel.h>
#include "LightApp.h"
#include <SUIT_PreferenceMgr.h>
-#include <QMap>
-#include <QStringList>
+#include <QtCore/QMap>
+#include <QtCore/QStringList>
class QtxResourceMgr;
#include <SUIT_MessageBox.h>
#include <SUIT_FileDlg.h>
-#include <QAbstractButton>
-#include <QVBoxLayout>
-#include <QFileDialog>
+#include <QtWidgets/QAbstractButton>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QFileDialog>
/*!
Constructor.
class SALOME_ListIO;
class TCollection_AsciiString;
#else
-#include <QStringList>
+#include <QtCore/QStringList>
#endif
class LightApp_Application;
#include "vector"
#include <Qtx.h>
-#include <QMap>
-#include <QVariant>
+#include <QtCore/QMap>
+#include <QtCore/QVariant>
class SUIT_Study;
class SUIT_Application;
#include <SUIT_Operation.h>
#include <SUIT_Study.h>
-#include <QEvent>
-#include <QWidget>
-#include <QList>
+#include <QtCore/QEvent>
+#include <QtWidgets/QWidget>
+#include <QtCore/QList>
#include <QtWidgets/QApplication>
/*!
#define LightApp_SwitchOp_H
#include "LightApp.h"
-#include <QObject>
+#include <QtCore/QObject>
class LightApp_Module;
class LightApp_Operation;
#include "LightApp.h"
#include "LightApp_DataOwner.h"
-#include <QObject>
+#include <QtCore/QObject>
class SUIT_Desktop;
//
#include "LogWindow.h"
-#include <QAction>
+#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
-#include <QDate>
-#include <QFile>
-#include <QMenu>
-#include <QTextBlock>
-#include <QTextEdit>
-#include <QTextStream>
-#include <QTime>
-#include <QVBoxLayout>
+#include <QtCore/QDate>
+#include <QtCore/QFile>
+#include <QtWidgets/QMenu>
+#include <QtGui/QTextBlock>
+#include <QtWidgets/QTextEdit>
+#include <QtCore/QTextStream>
+#include <QtCore/QTime>
+#include <QtWidgets/QVBoxLayout>
#include <SUIT_MessageBox.h>
#include <SUIT_ResourceMgr.h>
#include "QtxMsgHandler.h"
#include "SUIT_PopupClient.h"
-#include <QWidget>
-#include <QMap>
-#include <QStringList>
+#include <QtWidgets/QWidget>
+#include <QtCore/QMap>
+#include <QtCore/QStringList>
#ifdef WIN32
#pragma warning( disable:4251 )
#define OCCVIEWER_AISSELECTOR_H
#include "OCCViewer.h"
-#include <QObject>
+#include <QtCore/QObject>
#include <Quantity_NameOfColor.hxx>
#include <AIS_InteractiveContext.hxx>
#include <QtxDoubleSpinBox.h>
-#include <QGroupBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QVBoxLayout>
-#include <QHBoxLayout>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QHBoxLayout>
/*!
\class OCCViewer_AxialScaleDlg
#include <gp_Pln.hxx>
#include <gp_Ax3.hxx>
-#include <QPoint>
+#include <QtCore/QPoint>
#include <vector>
// QT Includes
#include <QtWidgets/QApplication>
-#include <QGroupBox>
-#include <QHBoxLayout>
-#include <QVBoxLayout>
-#include <QGridLayout>
-#include <QLabel>
-#include <QPushButton>
-#include <QComboBox>
-#include <QCheckBox>
-#include <QStackedLayout>
-#include <QSlider>
-#include <QMenu>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QStackedLayout>
+#include <QtWidgets/QSlider>
+#include <QtWidgets/QMenu>
/**********************************************************************************
************************ Internal functions ************************
#include "OCCViewer_CreateRestoreViewDlg.h"
#include "OCCViewer_ViewPort3d.h"
-#include <QPushButton>
-#include <QGridLayout>
-#include <QHBoxLayout>
-#include <QListWidgetItem>
-#include <QEvent>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QListWidgetItem>
+#include <QtCore/QEvent>
#include <QtGui/QKeyEvent>
/*!
#include <SUIT_Application.h>
#include <QtWidgets/QDialog>
-#include <QListWidget>
+#include <QtWidgets/QListWidget>
class OCCViewer_ViewPort3d;
#include <Graphic3d_GraduatedTrihedron.hxx>
-#include <QCheckBox>
-#include <QGroupBox>
-#include <QLineEdit>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLineEdit>
/*!
\class OCCViewer_CubeAxesDlg::AxisWidget
#include <Graphic3d_TextureEnv.hxx>
// QT Includes
-#include <QGroupBox>
-#include <QVBoxLayout>
-#include <QPushButton>
-#include <QComboBox>
-#include <QFileDialog>
-#include <QLineEdit>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QLineEdit>
/*!
\class OCCViewer_EnvTextureDlg
#include "OCCViewer_FontWidget.h"
-#include <QComboBox>
+#include <QtWidgets/QComboBox>
//#include <vtkTextProperty.h>
#include <QtxColorButton.h>
// Qt includes
-#include <QGroupBox>
-#include <QVBoxLayout>
-#include <QHBoxLayout>
-#include <QLabel>
-#include <QPushButton>
-#include <QCheckBox>
-#include <QStackedLayout>
-#include <QRadioButton>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QStackedLayout>
+#include <QtWidgets/QRadioButton>
/*!
\class OCCViewer_LightSourceDlg
#include <QtxIntSpinBox.h>
// QT Includes
-#include <QGroupBox>
-#include <QVBoxLayout>
-#include <QLabel>
-#include <QPushButton>
-#include <QCheckBox>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QCheckBox>
/*!
\class OCCViewer_RayTracingDlg
#include "OCCViewer_ViewWindow.h"
-#include <QLineEdit>
-#include <QGroupBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QMenu>
-#include <QGridLayout>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QGridLayout>
#include <QtGui/QDoubleValidator>
-#include <QCheckBox>
-#include <QHBoxLayout>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QHBoxLayout>
/*!
Constructor
#include "OCCViewer.h"
#include <QtWidgets/QDialog>
-#include <QMap>
+#include <QtCore/QMap>
#include <TopAbs_ShapeEnum.hxx>
// QT includes
#include <QtGui/QImage>
-#include <QAction>
+#include <QtWidgets/QAction>
#include <QtWidgets/QDialog>
Handle(Image_PixMap) OCCViewer_Utilities::imageToPixmap( const QImage& anImage )
#include <Quantity_Length.hxx>
#include <V3d_TypeOfOrientation.hxx>
-#include <QWidget>
+#include <QtWidgets/QWidget>
class Standard_EXPORT OCCViewer_VService
{
#include <QtxResourceMgr.h>
#include <QtxWorkstackAction.h>
-#include <QFrame>
-#include <QLayout>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QLayout>
#include <QtWidgets/QApplication>
OCCViewer_ViewFrame::OCCViewer_ViewFrame(SUIT_Desktop* theDesktop, OCCViewer_Viewer* theModel)
#include <QtGui/QPainter>
#include <QtWidgets/QApplication>
-#include <QColorDialog>
-#include <QFileDialog>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QFileDialog>
#include <QtGui/QPalette>
#include <QtGui/QKeyEvent>
-#include <QMenu>
+#include <QtWidgets/QMenu>
#include <QtGui/QMouseEvent>
-#include <QToolBar>
-#include <QDesktopWidget>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QDesktopWidget>
#include <AIS_Axis.hxx>
#include <Prs3d_Drawer.hxx>
#define OCCVIEWER_VIEWMODEL_H
#include <QtGui/QColor>
-#include <QPoint>
-#include <QVector>
+#include <QtCore/QPoint>
+#include <QtCore/QVector>
#include "OCCViewer.h"
#include "OCCViewer_ClipPlane.h"
#include "SUIT_Session.h"
-#include <QColor>
-#include <QRect>
+#include <QtGui/QColor>
+#include <QtCore/QRect>
#include <QtGui/QPixmap>
#include <QtGui/QPainter>
-#include <QMultiHash>
-#include <QMenu>
-#include <QColorDialog>
-#include <QColormap>
-#include <QCoreApplication>
+#include <QtCore/QMultiHash>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QColormap>
+#include <QtCore/QCoreApplication>
#include <stdlib.h>
#if !defined WIN32 && !defined __APPLE__
-#include <QX11Info>
+#include <QtX11Extras/QX11Info>
#include <GL/glx.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "QtxAction.h"
-#include <QList>
-#include <QWidget>
+#include <QtCore/QList>
+#include <QtWidgets/QWidget>
#include <Aspect_Window.hxx>
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
-#include <QColor>
-#include <QFileInfo>
-#include <QString>
-#include <QRect>
+#include <QtGui/QColor>
+#include <QtCore/QFileInfo>
+#include <QtCore/QString>
+#include <QtCore/QRect>
#include <QtGui/QPaintEvent>
#include <QtGui/QResizeEvent>
#include <QtWidgets/QApplication>
-#include <QTimer>
+#include <QtCore/QTimer>
#include <V3d_View.hxx>
#include <Quantity_Ratio.hxx>
#include <QtWidgets/QApplication>
#include <QtGui/QPainter>
-#include <QPolygon>
+#include <QtGui/QPolygon>
#include <QtGui/QMouseEvent>
#include <QtGui/QKeyEvent>
#include "OCCViewer.h"
-#include <QObject>
+#include <QtCore/QObject>
#include <QtGui/QCursor>
-#include <QSize>
+#include <QtCore/QSize>
class OCCViewer_ViewWindow;
class QKeyEvent;
#include <QtxRubberBand.h>
#include <QtGui/QPainter>
-#include <QTime>
+#include <QtCore/QTime>
#include <QtGui/QImage>
#include <QtGui/QKeyEvent>
#include <QtGui/QMouseEvent>
#include <QtWidgets/QApplication>
-#include <QActionGroup>
-#include <QMenu>
+#include <QtWidgets/QActionGroup>
+#include <QtWidgets/QMenu>
#include <AIS_ListOfInteractive.hxx>
#include <AIS_ListIteratorOfListOfInteractive.hxx>
#ifndef OCCVIEWER_VIEWPORTINPUTFILTER_H
#define OCCVIEWER_VIEWPORTINPUTFILTER_H
-#include <QObject>
+#include <QtCore/QObject>
class OCCViewer_ViewManager;
class OCCViewer_ViewPort3d;
#include <QtxSearchTool.h>
//#include <SUIT_DataObjectIterator.h>
-#include <QAction>
-#include <QMenu>
-#include <QItemSelection>
+#include <QtWidgets/QAction>
+#include <QtWidgets/QMenu>
+#include <QtCore/QItemSelection>
#include <QtGui/QKeyEvent>
-#include <QVBoxLayout>
-#include <QAbstractItemModel>
-#include <QAbstractItemDelegate>
-#include <QHeaderView>
+#include <QtWidgets/QVBoxLayout>
+#include <QtCore/QAbstractItemModel>
+#include <QtWidgets/QAbstractItemDelegate>
+#include <QtWidgets/QHeaderView>
#include <time.h>
#include "OB.h"
-#include <QWidget>
-#include <QMap>
-#include <QModelIndex>
-#include <QItemSelection>
+#include <QtWidgets/QWidget>
+#include <QtCore/QMap>
+#include <QtCore/QModelIndex>
+#include <QtCore/QItemSelection>
#ifdef WIN32
#pragma warning( disable:4251 )
#include "PVViewer_Behaviors.h"
-#include <QMainWindow>
+#include <QtWidgets/QMainWindow>
#include <pqInterfaceTracker.h>
#include <pqApplicationCore.h>
#include "PVViewer.h"
-#include <QObject>
+#include <QtCore/QObject>
class QMainWindow;
class pqPropertiesPanel;
#include <Qtx.h>
#include <QtWidgets/QApplication>
-#include <QStringList>
-#include <QDir>
-#include <QMainWindow>
-#include <QStandardPaths>
+#include <QtCore/QStringList>
+#include <QtCore/QDir>
+#include <QtWidgets/QMainWindow>
+#include <QtCore/QStandardPaths>
#include <string>
#include "PVViewer.h"
-#include <QString>
+#include <QtCore/QString>
class PVServer_ServiceWrapper;
class PVViewer_Behaviors;
#include <vtkPVConfig.h>
-#include <QAction>
-#include <QCoreApplication>
-#include <QLayout>
-#include <QList>
-#include <QMainWindow>
-#include <QMenu>
-#include <QToolBar>
+#include <QtWidgets/QAction>
+#include <QtCore/QCoreApplication>
+#include <QtWidgets/QLayout>
+#include <QtCore/QList>
+#include <QtWidgets/QMainWindow>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QToolBar>
PVViewer_GUIElements * PVViewer_GUIElements::theInstance = 0;
#include "PVViewer.h"
-#include <QObject>
-#include <QList>
+#include <QtCore/QObject>
+#include <QtCore/QList>
class QAction;
class QMainWindow;
#include "PVViewer.h"
-#include <QMap>
+#include <QtCore/QMap>
#include <vtkOutputWindow.h>
/**
#include "PVViewer.h"
#include "SUIT_ViewWindow.h"
-#include <QMap>
+#include <QtCore/QMap>
class SUIT_Desktop;
class PVViewer_Viewer;
#endif
#include <qwt_symbol.h>
-#include <QString>
+#include <QtCore/QString>
#include <QtGui/QColor>
#include <QtGui/QPixmap>
#include "Plot2d.h"
-#include <QPair>
-#include <QList>
-#include <QMap>
+#include <QtCore/QPair>
+#include <QtCore/QList>
+#include <QtCore/QMap>
class Plot2d_Object;
#include <SUIT_Application.h>
//Qt includes
-#include <QListWidget>
-#include <QGroupBox>
-#include <QFrame>
-#include <QHBoxLayout>
-#include <QLabel>
-#include <QLineEdit>
-#include <QCheckBox>
-#include <QComboBox>
-#include <QPushButton>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QPushButton>
//qwt includes
#include <qwt_plot.h>
#include "Plot2d_AnalyticalCurve.h"
#include <QtWidgets/QDialog>
-#include <QMap>
+#include <QtCore/QMap>
class QListWidget;
class QListWidgetItem;
// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
//
#include "Plot2d_FitDataDlg.h"
-#include <QLabel>
-#include <QLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLayout>
#include <QtGui/QValidator>
-#include <QPushButton>
-#include <QRadioButton>
-#include <QGroupBox>
-#include <QLineEdit>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QRadioButton>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLineEdit>
#define SPACING_SIZE 6
#define MARGIN_SIZE 11
// File : Plot2d_NormalizeAlgorithm.cxx
#include "Plot2d_NormalizeAlgorithm.h"
-#include <QMap>
+#include <QtCore/QMap>
#include <algorithm>
#include "Plot2d_Object.h"
#include "Plot2d.h"
#include "Plot2d_Algorithm.h"
-#include <QList>
+#include <QtCore/QList>
class Plot2d_Object;
#include "Plot2d.h"
-#include <QList>
+#include <QtCore/QList>
#include <qwt_plot.h>
#include <QtGui/QPainter>
#include <QtGui/QPalette>
-#include <QLayout>
-#include <QLine>
-#include <QVariant>
-#include <QStyleOption>
+#include <QtWidgets/QLayout>
+#include <QtCore/QLine>
+#include <QtCore/QVariant>
+#include <QtWidgets/QStyleOption>
#include <QtGui/QPaintEvent>
-#include <QTileRules>
+#include <QtWidgets/QTileRules>
#include <qwt_plot.h>
#include <qwt_painter.h>
#include <SUIT_Tools.h>
#endif
-#include <QGridLayout>
-#include <QHBoxLayout>
-#include <QLabel>
-#include <QPushButton>
-#include <QComboBox>
-#include <QSpinBox>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QSpinBox>
#include <QtGui/QPainter>
const int MARGIN_SIZE = 11;
#include <SUIT_Tools.h>
-#include <QGroupBox>
-#include <QHBoxLayout>
-#include <QVBoxLayout>
-#include <QLabel>
-#include <QPushButton>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
#include <QtxDoubleSpinBox.h>
#include <QtxColorButton.h>
#include <QtxFontEdit.h>
-#include <QCheckBox>
-#include <QLineEdit>
-#include <QComboBox>
-#include <QSpinBox>
-#include <QGridLayout>
-#include <QHBoxLayout>
-#include <QGroupBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QTabWidget>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QSpinBox>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QTabWidget>
const int MARGIN_SIZE = 11;
const int SPACING_SIZE = 6;
#include "Plot2d_Curve.h"
#include <QtGui/QFontMetrics>
-#include <QEvent>
+#include <QtCore/QEvent>
#include <QtGui/QMouseEvent>
#include <qwt_plot.h>
#include "SUIT_ResourceMgr.h"
#include "SUIT_Application.h"
#else
-#include <QMessageBox>
+#include <QtWidgets/QMessageBox>
#endif
#include <QtWidgets/QApplication>
-#include <QToolBar>
-#include <QToolButton>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QToolButton>
#include <QtGui/QCursor>
-#include <QColorDialog>
-#include <QLayout>
-#include <QMap>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QLayout>
+#include <QtCore/QMap>
#include <QtGui/QPainter>
-#include <QPaintDevice>
-#include <QEvent>
+#include <QtGui/QPaintDevice>
+#include <QtCore/QEvent>
#include <QtGui/QMouseEvent>
-#include <QContextMenuEvent>
+#include <QtGui/QContextMenuEvent>
#include <QtPrintSupport/QPrinter>
#include <QtGui/QPalette>
-#include <QLocale>
-#include <QXmlStreamWriter>
-#include <QXmlStreamReader>
+#include <QtCore/QLocale>
+#include <QtCore/QXmlStreamWriter>
+#include <QtCore/QXmlStreamReader>
#include <qwt_math.h>
#include <qwt_plot_layout.h>
#endif
#include "Plot2d_NormalizeAlgorithm.h"
-#include <QWidget>
-#include <QMultiHash>
-#include <QMap>
-#include <QList>
+#include <QtWidgets/QWidget>
+#include <QtCore/QMultiHash>
+#include <QtCore/QMap>
+#include <QtCore/QList>
#include <QtGui/QPainter>
#include <qwt_symbol.h>
#include <qwt_scale_draw.h>
#include "Plot2d_ViewFrame.h"
#include "Plot2d_Prs.h"
-#include <QMenu>
-#include <QToolBar>
-#include <QVector>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QToolBar>
+#include <QtCore/QVector>
/*!
Constructor
#include <QtxMultiAction.h>
#include <QtxActionToolMgr.h>
-#include <QStatusBar>
-#include <QLayout>
+#include <QtWidgets/QStatusBar>
+#include <QtWidgets/QLayout>
#include <QtWidgets/QApplication>
-#include <QMenu>
+#include <QtWidgets/QMenu>
#include <QtGui/QImage>
-#include <QToolBar>
+#include <QtWidgets/QToolBar>
#include <QtGui/QPaintEvent>
-#include <QActionGroup>
+#include <QtWidgets/QActionGroup>
#include <QtGui/QPainter>
#include <QtPrintSupport/QPrinter>
#include <QtPrintSupport/QPrintDialog>
#include "Plot2d.h"
#include <SUIT_ViewWindow.h>
-#include <QMap>
+#include <QtCore/QMap>
#ifdef WIN32
#include "QtxActionToolMgr.h"
#include <QtWidgets/QApplication>
-#include <QCloseEvent>
-#include <QFileDialog>
-#include <QMessageBox>
-#include <QTextStream>
-#include <QVBoxLayout>
+#include <QtGui/QCloseEvent>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QMessageBox>
+#include <QtCore/QTextStream>
+#include <QtWidgets/QVBoxLayout>
/*!
\class PyViewer_ViewWindow
#include "QDS_Datum.h"
-#include <QTextCodec>
+#include <QtCore/QTextCodec>
#include <DDS_DicItem.h>
#include <DDS_Dictionary.h>
#pragma warning ( disable:4786 )
#endif
-#include <QString>
-#include <QList>
+#include <QtCore/QString>
+#include <QtCore/QList>
#include <TCollection_HExtendedString.hxx>
#include <TCollection_HAsciiString.hxx>
#include "QDS_CheckBox.h"
-#include <QCheckBox>
+#include <QtWidgets/QCheckBox>
/*
\class QDS_CheckBox
#include <TColStd_HArray1OfInteger.hxx>
#include <TColStd_HArray1OfExtendedString.hxx>
-#include <QLineEdit>
+#include <QtWidgets/QLineEdit>
/*
\class QDS_ComboBox
#include "QDS_Datum.h"
-#include <QMap>
+#include <QtCore/QMap>
#include <QtGui/QPixmap>
-#include <QStringList>
+#include <QtCore/QStringList>
#include <Qtx.h>
#include "QDS_Datum.h"
-#include <QLayout>
-#include <QVariant>
-#include <QTimer>
-#include <QEvent>
-#include <QMessageBox>
+#include <QtWidgets/QLayout>
+#include <QtCore/QVariant>
+#include <QtCore/QTimer>
+#include <QtCore/QEvent>
+#include <QtWidgets/QMessageBox>
#include <QtWidgets/QApplication>
#include "QDS_Validator.h"
#define QDS_DATUM_H
#include "QDS.h"
-#include <QPointer>
-#include <QMap>
-#include <QLabel>
+#include <QtCore/QPointer>
+#include <QtCore/QMap>
+#include <QtWidgets/QLabel>
class QHBoxLayout;
class QVBoxLayout;
#include "QDS_LineEdit.h"
-#include <QLineEdit>
+#include <QtWidgets/QLineEdit>
#include <QtGui/QValidator>
/*!
#include <TColStd_HArray1OfInteger.hxx>
#include <TColStd_HArray1OfExtendedString.hxx>
-#include <QButtonGroup>
-#include <QGroupBox>
-#include <QVBoxLayout>
-#include <QRadioButton>
+#include <QtWidgets/QButtonGroup>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QRadioButton>
/*
\class QDS_RadioBox
#include <Qtx.h>
-#include <QMap>
-#include <QStringList>
+#include <QtCore/QMap>
+#include <QtCore/QStringList>
#ifdef WIN32
#pragma warning( disable:4251 )
#include <QtxTable.h>
-#include <QMap>
-#include <QVector>
+#include <QtCore/QMap>
+#include <QtCore/QVector>
class QDS_EXPORT QDS_Table : public QtxTable
{
#include "QDS_TextEdit.h"
-#include <QTextEdit>
+#include <QtWidgets/QTextEdit>
/*
\class QDS_TextEdit
ADD_DEFINITIONS(${QT_DEFINITIONS})
#/usr/lib/x86_64-linux-gnu/libQt5Widgets.so
# libraries to link to
-SET(_link_LIBRARIES ${QT_LIBRARIES} /usr/lib/x86_64-linux-gnu/libQt5Xml.so ${OPENGL_LIBRARIES})
+SET(_link_LIBRARIES ${QT_LIBRARIES} /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Xml.so ${OPENGL_LIBRARIES})
# --- headers ---
//
#include "Qtx.h"
-#include <QDir>
+#include <QtCore/QDir>
#include <QtWidgets/QMenu>
-#include <QRegExp>
+#include <QtCore/QRegExp>
#include <QtGui/QBitmap>
#include <QtWidgets/QWidget>
#include <QtWidgets/QLayout>
#include <QtGui/QPainter>
#include <QtWidgets/QDirModel>
-#include <QFileInfo>
+#include <QtCore/QFileInfo>
#include <QtWidgets/QCompleter>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDesktopWidget>
#define true 1
#endif
-#include <QString>
-#include <QList>
+#include <QtCore/QString>
+#include <QtCore/QList>
#include <QtGui/QFont>
#include <QtGui/QColor>
#include <QtGui/QImage>
//
#include "QtxAction.h"
-#include <QEvent>
-#include <QPointer>
+#include <QtCore/QEvent>
+#include <QtCore/QPointer>
#include <QtGui/QActionEvent>
#include <QtWidgets/QApplication>
#include "QtxAction.h"
-#include <QMenu>
-#include <QMenuBar>
-#include <QWidget>
-#include <QMainWindow>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QMenuBar>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QMainWindow>
/*!
\class QtxActionMenuMgr::MenuNode
#include "Qtx.h"
#include "QtxActionMgr.h"
-#include <QList>
+#include <QtCore/QList>
class QMenu;
class QMainWindow;
#include "Qtx.h"
#include "QtxActionMgr.h"
#include "QtxAction.h"
-#include <QFile>
-#include <QTimer>
+#include <QtCore/QFile>
+#include <QtCore/QTimer>
#ifndef QT_NO_DOM
#include <QtXml/QDomDocument>
#include <QtXml/QDomNode>
#include "Qtx.h"
-#include <QMap>
-#include <QObject>
-#include <QPointer>
+#include <QtCore/QMap>
+#include <QtCore/QObject>
+#include <QtCore/QPointer>
class QTimer;
class QAction;
#include "QtxAction.h"
-#include <QList>
+#include <QtCore/QList>
#ifdef WIN32
#pragma warning( disable:4251 )
#include <QtWidgets/QApplication>
#include <QtGui/QHideEvent>
-#include <QMainWindow>
+#include <QtWidgets/QMainWindow>
/*!
\class QtxActionToolMgr::ToolNode
#include "Qtx.h"
#include "QtxActionMgr.h"
-#include <QMap>
-#include <QList>
+#include <QtCore/QMap>
+#include <QtCore/QList>
class QToolBar;
class QMainWindow;
#include "QtxBackgroundTool.h"
#include "QtxColorButton.h"
-#include <QCheckBox>
-#include <QComboBox>
-#include <QFileDialog>
-#include <QHBoxLayout>
-#include <QLabel>
-#include <QLineEdit>
-#include <QPushButton>
-#include <QStackedWidget>
-#include <QVBoxLayout>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QStackedWidget>
+#include <QtWidgets/QVBoxLayout>
/*!
#include "Qtx.h"
#include "QtxDialog.h"
-#include <QWidget>
-#include <QMap>
+#include <QtWidgets/QWidget>
+#include <QtCore/QMap>
class QCheckBox;
class QComboBox;
#include "QtxBiColorTool.h"
#include "QtxColorButton.h"
-#include <QHBoxLayout>
-#include <QLabel>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QLabel>
#include <QtGui/QPainter>
-#include <QSlider>
-#include <QStyle>
-#include <QStylePainter>
-#include <QStyleOptionButton>
+#include <QtWidgets/QSlider>
+#include <QtWidgets/QStyle>
+#include <QtWidgets/QStylePainter>
+#include <QtWidgets/QStyleOptionButton>
const int BICOLOR_MAX_DELTA = 100;
#include "Qtx.h"
#include <QtGui/QColor>
-#include <QWidget>
+#include <QtWidgets/QWidget>
class QLabel;
class QSlider;
//
#include "QtxColorButton.h"
-#include <QMenu>
-#include <QStyle>
-#include <QLayout>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QStyle>
+#include <QtWidgets/QLayout>
#include <QtGui/QBitmap>
#include <QtGui/QPainter>
#include <QtGui/QPaintEvent>
-#include <QColorDialog>
-#include <QStyleOptionToolButton>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QStyleOptionToolButton>
/*!
\class QtxColorButton
#include "Qtx.h"
-#include <QMap>
+#include <QtCore/QMap>
#include <QtGui/QColor>
#include <QtGui/QPixmap>
-#include <QToolButton>
+#include <QtWidgets/QToolButton>
class QPaintDevice;
//
#include "QtxColorScale.h"
-#include <QMap>
-#include <QRegExp>
-#include <QStringList>
+#include <QtCore/QMap>
+#include <QtCore/QRegExp>
+#include <QtCore/QStringList>
#include <QtGui/QPixmap>
#include <QtGui/QPainter>
#include <QtGui/QTextDocument>
#include "Qtx.h"
-#include <QFrame>
-#include <QList>
+#include <QtWidgets/QFrame>
+#include <QtCore/QList>
class QTextDocument;
#include "QtxComboBox.h"
#include <QtGui/QStandardItemModel>
-#include <QLineEdit>
-#include <QEvent>
+#include <QtWidgets/QLineEdit>
+#include <QtCore/QEvent>
#include <QtWidgets/QApplication>
/*!
#include "Qtx.h"
-#include <QMap>
+#include <QtCore/QMap>
#include <QtWidgets/QComboBox>
#ifdef WIN32
//
#include "QtxDialog.h"
-#include <QLabel>
-#include <QLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLayout>
#include <QtGui/QKeyEvent>
-#include <QFrame>
-#include <QTabWidget>
-#include <QPushButton>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QPushButton>
#include <QtWidgets/QApplication>
/*!
#include "Qtx.h"
#include <QtWidgets/QDialog>
-#include <QMap>
+#include <QtCore/QMap>
class QFrame;
class QLabel;
//
#include "QtxDockAction.h"
-#include <QMenu>
-#include <QToolBar>
-#include <QDockWidget>
-#include <QMainWindow>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QDockWidget>
+#include <QtWidgets/QMainWindow>
/*!
\class QtxDockAction
#include "QtxAction.h"
-#include <QList>
+#include <QtCore/QList>
class QIcon;
class QString;
//
#include "QtxDockWidget.h"
-#include <QAction>
-#include <QLayout>
-#include <QMainWindow>
+#include <QtWidgets/QAction>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QMainWindow>
#include <QtGui/QResizeEvent>
#include <QtWidgets/QApplication>
#include "Qtx.h"
-#include <QDockWidget>
+#include <QtWidgets/QDockWidget>
class QTX_EXPORT QtxDockWidget : public QDockWidget
{
//
#include "QtxDoubleSpinBox.h"
-#include <QLineEdit>
+#include <QtWidgets/QLineEdit>
#include <QtGui/QDoubleValidator>
-#include <QVariant>
+#include <QtCore/QVariant>
#include <limits>
#include "Qtx.h"
-#include <QDoubleSpinBox>
+#include <QtWidgets/QDoubleSpinBox>
#include <QtGui/QValidator>
class QTX_EXPORT QtxDoubleSpinBox : public QDoubleSpinBox
//
#include "QtxEvalExpr.h"
-#include <QStack>
+#include <QtCore/QStack>
#include <math.h>
#include "Qtx.h"
-#include <QList>
-#include <QVariant>
+#include <QtCore/QList>
+#include <QtCore/QVariant>
#ifdef WIN32
#pragma warning( disable:4251 )
#include "QtxComboBox.h"
-#include <QLayout>
-#include <QToolButton>
-#include <QFontDialog>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QToolButton>
+#include <QtWidgets/QFontDialog>
#include <QtGui/QFontDatabase>
-#include <QFontComboBox>
+#include <QtWidgets/QFontComboBox>
/*!
\class QtxFontEdit
#include "Qtx.h"
-#include <QFrame>
+#include <QtWidgets/QFrame>
class QtxComboBox;
class QComboBox;
//
#include "QtxGridBox.h"
-#include <QGridLayout>
-#include <QChildEvent>
+#include <QtWidgets/QGridLayout>
+#include <QtCore/QChildEvent>
/*!
\class QtxGridBox::Space
#include "Qtx.h"
-#include <QWidget>
+#include <QtWidgets/QWidget>
class QGridLayout;
//
#include "QtxGroupBox.h"
-#include <QVBoxLayout>
-#include <QHBoxLayout>
-#include <QEvent>
-#include <QObjectList>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtCore/QEvent>
+#include <QtCore/QObjectList>
#include <QtWidgets/QApplication>
/*!
#include "Qtx.h"
-#include <QGroupBox>
+#include <QtWidgets/QGroupBox>
class QTX_EXPORT QtxGroupBox : public QGroupBox
{
//
#include "QtxIntSpinBox.h"
-#include <QLineEdit>
+#include <QtWidgets/QLineEdit>
/*!
\class QtxIntSpinBox
\brief Enhanced version of the Qt's spin box.
#include "Qtx.h"
-#include <QSpinBox>
+#include <QtWidgets/QSpinBox>
class QTX_EXPORT QtxIntSpinBox : public QSpinBox
{
//
#include "QtxListAction.h"
-#include <QMenu>
-#include <QLabel>
-#include <QVBoxLayout>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QVBoxLayout>
#include <QtGui/QMouseEvent>
-#include <QListWidget>
-#include <QToolButton>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QToolButton>
#include <QtWidgets/QApplication>
/*!
#include "Qtx.h"
#include "QtxAction.h"
-#include <QStringList>
+#include <QtCore/QStringList>
#ifdef WIN32
#pragma warning( disable:4251 )
// This file isn't yet ported to Qt4 => there are some corrections for OCCViewer porting -->
//#include <qlistbox.h>
-#include <QListWidget>
-#include <QListWidgetItem>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QListWidgetItem>
// <--
#ifdef WIN32
//
#include "QtxLogoMgr.h"
-#include <QLabel>
+#include <QtWidgets/QLabel>
#include <QtGui/QImage>
#include <QtGui/QBitmap>
-#include <QHBoxLayout>
-#include <QMenuBar>
-#include <QPointer>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QMenuBar>
+#include <QtCore/QPointer>
#include <QtWidgets/QApplication>
#include <QtGui/QMovie>
#include "Qtx.h"
-#include <QObject>
-#include <QList>
+#include <QtCore/QObject>
+#include <QtCore/QList>
#include <QtGui/QPixmap>
class QMenuBar;
#include "QtxResourceMgr.h"
-#include <QMenu>
+#include <QtWidgets/QMenu>
#include <QtGui/QIcon>
/*!
#include "QtxAction.h"
-#include <QStringList>
+#include <QtCore/QStringList>
class QtxResourceMgr;
#include "QtxToolBar.h"
-#include <QEvent>
-#include <QPoint>
-#include <QTimer>
-#include <QLayout>
-#include <QMenuBar>
-#include <QStatusBar>
-#include <QRubberBand>
+#include <QtCore/QEvent>
+#include <QtCore/QPoint>
+#include <QtCore/QTimer>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QMenuBar>
+#include <QtWidgets/QStatusBar>
+#include <QtWidgets/QRubberBand>
#include <QtGui/QMouseEvent>
#include <QtWidgets/QApplication>
-#include <QDesktopWidget>
+#include <QtWidgets/QDesktopWidget>
#include <cstdio>
/*!
\class QtxMainWindow::Filter
#include "Qtx.h"
-#include <QMainWindow>
+#include <QtWidgets/QMainWindow>
class QtxResourceMgr;
//
#include "QtxMenu.h"
-#include <QLabel>
-#include <QLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLayout>
#include <QtGui/QPainter>
#include <QtGui/QPaintEvent>
#include <QtGui/QTextDocument>
-#include <QWidgetAction>
+#include <QtWidgets/QWidgetAction>
#include <QtGui/QLinearGradient>
#include <QtGui/QAbstractTextDocumentLayout>
#include "Qtx.h"
-#include <QMenu>
+#include <QtWidgets/QMenu>
class QWidgetAction;
#define QTXMSGHANDLER_H
#include "Qtx.h"
-#include <QList>
+#include <QtCore/QList>
void QTX_EXPORT QtxMsgHandler(QtMsgType, const QMessageLogContext&, const QString&);
//
#include "QtxMultiAction.h"
-#include <QMenu>
-#include <QLayout>
-#include <QToolBar>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QToolBar>
#include <QtGui/QPainter>
#include <QtGui/QHelpEvent>
-#include <QToolButton>
+#include <QtWidgets/QToolButton>
#include <QtWidgets/QApplication>
-#include <QStyleOptionButton>
+#include <QtWidgets/QStyleOptionButton>
/*!
\class QtxMultiAction::Filter
#include "QtxNotify.h"
-#include <QTimer>
+#include <QtCore/QTimer>
#include <QtGui/QPainter>
#include <QtGui/QMouseEvent>
#include <QtWidgets/QApplication>
#include <QtGui/QTextDocument>
-#include <QDesktopWidget>
-#include <QSharedPointer>
-#include <QPropertyAnimation>
-#include <QParallelAnimationGroup>
+#include <QtWidgets/QDesktopWidget>
+#include <QtCore/QSharedPointer>
+#include <QtCore/QPropertyAnimation>
+#include <QtCore/QParallelAnimationGroup>
/*!
\brief QtxNotify::NotifyWidget
#include "Qtx.h"
-#include <QWidget>
+#include <QtWidgets/QWidget>
-#include <QList>
-#include <QAbstractAnimation>
+#include <QtCore/QList>
+#include <QtCore/QAbstractAnimation>
class QTimer;
#include "QtxBackgroundTool.h"
#include "QtxResourceMgr.h"
-#include <QEvent>
-#include <QLayout>
-#include <QToolBox>
-#include <QLineEdit>
-#include <QTextEdit>
-#include <QCheckBox>
-#include <QSplitter>
-#include <QTabWidget>
-#include <QListWidget>
+#include <QtCore/QEvent>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QToolBox>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QTextEdit>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QSplitter>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QListWidget>
#include <QtWidgets/QApplication>
-#include <QDateTimeEdit>
-#include <QStackedWidget>
-#include <QSlider>
-#include <QScrollArea>
+#include <QtWidgets/QDateTimeEdit>
+#include <QtWidgets/QStackedWidget>
+#include <QtWidgets/QSlider>
+#include <QtWidgets/QScrollArea>
#include <stdio.h>
#include "QtxPathEdit.h"
#include "QtxPathListEdit.h"
-#include <QFrame>
-#include <QLabel>
-#include <QPointer>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QLabel>
+#include <QtCore/QPointer>
#include <QtGui/QIcon>
class QtxGridBox;
#include "QtxGridBox.h"
#include "QtxGroupBox.h"
-#include <QDir>
-#include <QLabel>
+#include <QtCore/QDir>
+#include <QtWidgets/QLabel>
#include <QtGui/QPixmap>
-#include <QLayout>
-#include <QLineEdit>
-#include <QObjectList>
-#include <QStringList>
-#include <QFileDialog>
-#include <QMessageBox>
-#include <QPushButton>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QLineEdit>
+#include <QtCore/QObjectList>
+#include <QtCore/QStringList>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QMessageBox>
+#include <QtWidgets/QPushButton>
static const char* open_icon[] = {
"16 16 5 1",
#include "QtxDialog.h"
-#include <QMap>
+#include <QtCore/QMap>
class QFrame;
class QLineEdit;
#include "QtxPathEdit.h"
#include <QtWidgets/QApplication>
-#include <QLayout>
-#include <QDirModel>
-#include <QLineEdit>
-#include <QCompleter>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QDirModel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QCompleter>
#include <QtGui/QKeyEvent>
-#include <QToolButton>
-#include <QFileDialog>
+#include <QtWidgets/QToolButton>
+#include <QtWidgets/QFileDialog>
#include <QtGui/QRegExpValidator>
static const char* browse_icon[] = {
#include "Qtx.h"
-#include <QFrame>
+#include <QtWidgets/QFrame>
class QLineEdit;
#include "QtxPathEdit.h"
-#include <QLayout>
+#include <QtWidgets/QLayout>
#include <QtGui/QPainter>
-#include <QListView>
-#include <QLineEdit>
+#include <QtWidgets/QListView>
+#include <QtWidgets/QLineEdit>
#include <QtGui/QKeyEvent>
-#include <QDirModel>
-#include <QCompleter>
-#include <QToolButton>
-#include <QMessageBox>
-#include <QFileDialog>
-#include <QItemDelegate>
-#include <QStringListModel>
+#include <QtWidgets/QDirModel>
+#include <QtWidgets/QCompleter>
+#include <QtWidgets/QToolButton>
+#include <QtWidgets/QMessageBox>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QItemDelegate>
+#include <QtCore/QStringListModel>
static const char* delete_icon[] = {
"16 16 3 1",
#include "Qtx.h"
-#include <QFrame>
-#include <QPointer>
+#include <QtWidgets/QFrame>
+#include <QtCore/QPointer>
class QLineEdit;
class QListView;
#include "QtxPopupMgr.h"
#include "QtxAction.h"
#include "QtxEvalExpr.h"
-#include <QList>
-#include <QMenu>
-#include <QVariant>
+#include <QtCore/QList>
+#include <QtWidgets/QMenu>
+#include <QtCore/QVariant>
bool operator<( const QList<QVariant>& v1, const QList<QVariant>& v2 )
{
#include "QtxActionMenuMgr.h"
-#include <QMap>
-#include <QVariant>
+#include <QtCore/QMap>
+#include <QtCore/QVariant>
class QtxEvalExpr;
class QtxEvalParser;
#include "QtxResourceMgr.h"
-#include <QEvent>
+#include <QtCore/QEvent>
#include <QtWidgets/QApplication>
/*!
#include <QtGui/QFont>
#include <QtGui/QIcon>
#include <QtGui/QColor>
-#include <QVariant>
+#include <QtCore/QVariant>
class QtxResourceMgr;
class QtxPreferenceMgr;
#include "QtxResourceMgr.h"
#include "QtxTranslator.h"
-#include <QSet>
-#include <QDir>
-#include <QFile>
-#include <QFileInfo>
-#include <QRegExp>
-#include <QTextStream>
+#include <QtCore/QSet>
+#include <QtCore/QDir>
+#include <QtCore/QFile>
+#include <QtCore/QFileInfo>
+#include <QtCore/QRegExp>
+#include <QtCore/QTextStream>
#include <QtWidgets/QApplication>
-#include <QLibraryInfo>
+#include <QtCore/QLibraryInfo>
#include <QtDebug>
#ifndef QT_NO_DOM
#include <QtXml/QDomDocument>
#include "QtxMap.h"
#endif
-#include <QMap>
-#include <QList>
+#include <QtCore/QMap>
+#include <QtCore/QList>
#include <QtGui/QFont>
#include <QtGui/QColor>
#include <QtGui/QPixmap>
-#include <QByteArray>
-#include <QStringList>
+#include <QtCore/QByteArray>
+#include <QtCore/QStringList>
#include <QtGui/QLinearGradient>
#include <QtGui/QRadialGradient>
#include <QtGui/QConicalGradient>
#include <QtGui/QPainter>
#include <QtGui/QPalette>
#include <QtGui/QShowEvent>
-#include <QVectorIterator>
+#include <QtCore/QVectorIterator>
#include <math.h>
#include "Qtx.h"
-#include <QWidget>
+#include <QtWidgets/QWidget>
class QTX_EXPORT QtxAbstractRubberBand : public QWidget
{
#include "QtxSearchTool.h"
#include <QtWidgets/QApplication>
-#include <QCheckBox>
-#include <QEvent>
-#include <QHBoxLayout>
+#include <QtWidgets/QCheckBox>
+#include <QtCore/QEvent>
+#include <QtWidgets/QHBoxLayout>
#include <QtGui/QKeyEvent>
-#include <QLineEdit>
-#include <QPersistentModelIndex>
-#include <QShortcut>
-#include <QTimer>
-#include <QToolButton>
-#include <QTreeView>
+#include <QtWidgets/QLineEdit>
+#include <QtCore/QPersistentModelIndex>
+#include <QtWidgets/QShortcut>
+#include <QtCore/QTimer>
+#include <QtWidgets/QToolButton>
+#include <QtWidgets/QTreeView>
const char* const first_xpm[] = {
"16 16 14 1",
#define QTXSEARCHTOOL_H
#include "Qtx.h"
-#include <QFrame>
-#include <QList>
-#include <QMap>
-#include <QPersistentModelIndex>
-#include <QPointer>
+#include <QtWidgets/QFrame>
+#include <QtCore/QList>
+#include <QtCore/QMap>
+#include <QtCore/QPersistentModelIndex>
+#include <QtCore/QPointer>
class QCheckBox;
class QLineEdit;
#include "QtxShortcutEdit.h"
-#include <QWidget>
-#include <QLayout>
-#include <QList>
-
-#include <QToolButton>
-#include <QLineEdit>
-#include <QTableWidgetItem>
-#include <QMessageBox>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QLayout>
+#include <QtCore/QList>
+
+#include <QtWidgets/QToolButton>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QTableWidgetItem>
+#include <QtWidgets/QMessageBox>
#include <QtGui/QKeyEvent>
#include <QtGui/QKeySequence>
#include "Qtx.h"
-#include <QFrame>
-#include <QTreeWidget>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QTreeWidget>
class QLineEdit;
class QPushButton;
#ifndef QTXSLIDER_H
#define QTXSLIDER_H
-#include <QWidget>
-#include <QHBoxLayout>
-#include <QSlider>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QSlider>
#include "Qtx.h"
#include <QtWidgets/QApplication>
#include <QtGui/QPainter>
-#include <QMessageBox>
-#include <QDesktopWidget>
+#include <QtWidgets/QMessageBox>
+#include <QtWidgets/QDesktopWidget>
/*!
\class ProgressEvent
#include "Qtx.h"
-#include <QWidget>
+#include <QtWidgets/QWidget>
#include <QtGui/QPixmap>
#include <QtGui/QGradient>
-#include <QMap>
+#include <QtCore/QMap>
#ifdef WIN32
#pragma warning( disable:4251 )
//
#include "QtxToolBar.h"
-#include <QAction>
-#include <QMainWindow>
+#include <QtWidgets/QAction>
+#include <QtWidgets/QMainWindow>
#include <QtWidgets/QApplication>
/*!
#include "Qtx.h"
-#include <QToolBar>
+#include <QtWidgets/QToolBar>
class QTX_EXPORT QtxToolBar : public QToolBar
{
#include "Qtx.h"
-#include <QStringList>
-#include <QToolButton>
-#include <QVariant>
+#include <QtCore/QStringList>
+#include <QtWidgets/QToolButton>
+#include <QtCore/QVariant>
class QTX_EXPORT QtxToolButton : public QToolButton
{
#include "QtxToolTip.h"
#include <QtGui/QFont>
-#include <QTimer>
+#include <QtCore/QTimer>
#include <QtGui/QCursor>
#include <QtGui/QFontMetrics>
#include <QtWidgets/QApplication>
#include "Qtx.h"
-#include <QLabel>
+#include <QtWidgets/QLabel>
class QTimer;
#include "Qtx.h"
-#include <QTranslator>
+#include <QtCore/QTranslator>
class QTX_EXPORT QtxTranslator : public QTranslator
{
//
#include "QtxTreeView.h"
-#include <QHeaderView>
-#include <QMenu>
+#include <QtWidgets/QHeaderView>
+#include <QtWidgets/QMenu>
#include <QtGui/QMouseEvent>
/*!
#pragma warning( disable:4251 )
#endif
-#include <QTreeView>
+#include <QtWidgets/QTreeView>
class QTX_EXPORT QtxTreeView : public QTreeView
{
#include "QtxSearchTool.h"
#include <QtWidgets/QApplication>
-#include <QButtonGroup>
-#include <QCheckBox>
-#include <QFileDialog>
-#include <QFileInfo>
-#include <QGridLayout>
-#include <QHBoxLayout>
-#include <QLabel>
-#include <QMenu>
-#include <QMenuBar>
-#include <QMessageBox>
-#include <QPushButton>
-#include <QRadioButton>
-#include <QStatusBar>
-#include <QToolBar>
-#include <QVBoxLayout>
+#include <QtWidgets/QButtonGroup>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QFileDialog>
+#include <QtCore/QFileInfo>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QMenuBar>
+#include <QtWidgets/QMessageBox>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QRadioButton>
+#include <QtWidgets/QStatusBar>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QVBoxLayout>
#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
#include <QWebView>
#else
#include <QWebEngineView>
#endif
-#include <QProcess>
+#include <QtCore/QProcess>
// RNV:
// Since from Qt 5.6.0 version QtWebKit tool was removed,
#include <QtGlobal>
#include <QtWidgets/QDialog>
-#include <QMainWindow>
-#include <QUrl>
+#include <QtWidgets/QMainWindow>
+#include <QtCore/QUrl>
#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
// Web Kit
//
#include "QtxWorkspace.h"
-#include <QMdiSubWindow>
+#include <QtWidgets/QMdiSubWindow>
/*!
\class QtxWorkspace
#include "Qtx.h"
-#include <QMdiArea>
+#include <QtWidgets/QMdiArea>
#ifdef WIN32
#pragma warning( disable:4251 )
#include "QtxWorkspace.h"
-#include <QMenu>
-#include <QMdiSubWindow>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QMdiSubWindow>
/*!
\class QtxWorkspaceAction
#include "QtxAction.h"
-#include <QMenu>
-#include <QStyle>
-#include <QRegExp>
-#include <QLayout>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QStyle>
+#include <QtCore/QRegExp>
+#include <QtWidgets/QLayout>
#include <QtGui/QPainter>
-#include <QDataStream>
+#include <QtCore/QDataStream>
#include <QtGui/QFocusEvent>
#include <QtGui/QMouseEvent>
-#include <QRubberBand>
+#include <QtWidgets/QRubberBand>
#include <QtWidgets/QApplication>
-#include <QStyleOption>
-#include <QInputDialog>
-#include <QStackedWidget>
-#include <QAbstractButton>
+#include <QtWidgets/QStyleOption>
+#include <QtWidgets/QInputDialog>
+#include <QtWidgets/QStackedWidget>
+#include <QtWidgets/QAbstractButton>
/*!
\class QtxWorkstackArea::WidgetEvent
#include "Qtx.h"
-#include <QMap>
-#include <QFrame>
-#include <QEvent>
-#include <QWidget>
-#include <QTabBar>
-#include <QPointer>
-#include <QSplitter>
-#include <QByteArray>
+#include <QtCore/QMap>
+#include <QtWidgets/QFrame>
+#include <QtCore/QEvent>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QTabBar>
+#include <QtCore/QPointer>
+#include <QtWidgets/QSplitter>
+#include <QtCore/QByteArray>
class QAction;
class QDataStream;
#include "QtxWorkstack.h"
-#include <QMenu>
+#include <QtWidgets/QMenu>
#include <QtGui/QWidgetList>
-#include <QGroupBox>
-#include <QVBoxLayout>
-#include <QHBoxLayout>
-#include <QRadioButton>
-#include <QPushButton>
-#include <QListWidget>
-#include <QStackedLayout>
-#include <QToolButton>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QRadioButton>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QStackedLayout>
+#include <QtWidgets/QToolButton>
#include <QtGui/QIcon>
#include <QtGui/QPixmap>
-#include <QButtonGroup>
-#include <QCheckBox>
-#include <QLabel>
-#include <QComboBox>
+#include <QtWidgets/QButtonGroup>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QComboBox>
const char* const prev_xpm[] = {
"16 16 12 1",
#include "SUIT_Session.h"
#include <qcolordialog.h>
-#include <QMenu>
-#include <QToolBar>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QToolBar>
//#define _DEVDEBUG_
#include "DebTrace.hxx"
#include <QtxActionToolMgr.h>
//QT Include
-#include <QToolBar>
-#include <QGraphicsRectItem>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QGraphicsRectItem>
//#define _DEVDEBUG_
#include "DebTrace.hxx"
#include <qaction.h>
-#include <QGraphicsScene>
-#include <QGraphicsView>
+#include <QtWidgets/QGraphicsScene>
+#include <QtWidgets/QGraphicsView>
#ifdef WIN32
#pragma warning ( disable:4251 )
#include <SALOME_LifeCycleCORBA.hxx>
#include <Container_init_python.hxx>
-#include <QCoreApplication>
+#include <QtCore/QCoreApplication>
//
// NB: Python requests.
#include <Container_init_python.hxx>
#endif
-#include <QCoreApplication>
+#include <QtCore/QCoreApplication>
#include <utilities.h>
// Py_ssize_t for old Pythons
#include "LightApp_Module.h"
#include <QtGui/QIcon>
-#include <QMap>
-#include <QStringList>
+#include <QtCore/QMap>
+#include <QtCore/QStringList>
class QMenu;
class PyModuleHelper;
#include <QtXml/QDomDocument>
#include <QtXml/QDomElement>
#include <QtXml/QDomNode>
-#include <QFile>
-#include <QMenu>
-#include <QMutex>
+#include <QtCore/QFile>
+#include <QtWidgets/QMenu>
+#include <QtCore/QMutex>
#include <utilities.h>
#include "PyInterp_Interp.h" // !!! WARNING !!! THIS INCLUDE MUST BE THE VERY FIRST !!!
#include <QtGui/QIcon>
-#include <QList>
-#include <QMap>
-#include <QObject>
-#include <QStringList>
+#include <QtCore/QList>
+#include <QtCore/QMap>
+#include <QtCore/QObject>
+#include <QtCore/QStringList>
class CAM_Application;
class LightApp_DataObject;
#include "SALOME_PYQT_BorrowedDataObjectLight.h"
#include <SUIT_Session.h>
#include <SUIT_DataObjectIterator.h>
-#include <QTime>
+#include <QtCore/QTime>
#include <time.h>
#include <utilities.h>
#include <SUIT_Selector.h>
#include <SUIT_DataOwner.h>
-#include <QObject>
+#include <QtCore/QObject>
class SALOME_PYQT_ModuleLight;
class LightApp_DataObject;
#include "SUIT_ViewWindow.h"
#include "PyConsole_Console.h"
-#include <QAction>
+#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtGui/QPaintEvent>
-#include <QCoreApplication>
-#include <QVBoxLayout>
+#include <QtCore/QCoreApplication>
+#include <QtWidgets/QVBoxLayout>
#include <utilities.h>
#include <Python.h>
-#include <QObject>
-#include <QString>
+#include <QtCore/QObject>
+#include <QtCore/QString>
#include <QtGui/QColor>
#include <LightApp_Application.h>
#include "Plot2d_Curve.h"
#include "SALOME_InteractiveObject.hxx"
-#include <QSet>
+#include <QtCore/QSet>
typedef QSet<QString> OwnerSet;
#include "SALOME_ListIO.hxx"
#include <QtWidgets/QApplication>
-#include <QToolBar>
-#include <QToolButton>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QToolButton>
#include <QtGui/QCursor>
-#include <QColorDialog>
+#include <QtWidgets/QColorDialog>
//#include <qwt_math>
#include <qwt_plot_canvas.h>
#include <QtxActionMenuMgr.h>
#include <QtxActionToolMgr.h>
-#include <QMenu>
-#include <QStatusBar>
-#include <QCloseEvent>
-#include <QFileDialog>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QStatusBar>
+#include <QtGui/QCloseEvent>
+#include <QtWidgets/QFileDialog>
#include <QtWidgets/QApplication>
/*!Create and return new instance of STD_Application*/
#include <QtxNotify.h>
-#include <QList>
-#include <QPointer>
+#include <QtCore/QList>
+#include <QtCore/QPointer>
class QMenu;
class QCloseEvent;
#include <QtxActionMenuMgr.h>
#include <QtxWorkspaceAction.h>
-#include <QFrame>
-#include <QVBoxLayout>
-#include <QMdiSubWindow>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QMdiSubWindow>
#include <stdarg.h>
#include <SUIT_ViewWindow.h>
-#include <QFrame>
-#include <QVBoxLayout>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QVBoxLayout>
/*!Constructor. Create instance of QVBox*/
STD_SDIDesktop::STD_SDIDesktop()
#include <QtxActionMenuMgr.h>
#include <QtxWorkstackAction.h>
-#include <QFrame>
-#include <QVBoxLayout>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QVBoxLayout>
#include <stdarg.h>
#include "SUIT_ViewManager.h"
#include "SUIT_ViewModel.h"
-#include <QCoreApplication>
-#include <QEvent>
+#include <QtCore/QCoreApplication>
+#include <QtCore/QEvent>
#include <QtGui/QKeyEvent>
/*!
#include "SUIT.h"
-#include <QMap>
-#include <QObject>
-#include <QString>
+#include <QtCore/QMap>
+#include <QtCore/QObject>
+#include <QtCore/QString>
class SUIT_EXPORT SUIT_Accel: public QObject
{
#include "SUIT_ResourceMgr.h"
#include "SUIT_ShortcutMgr.h"
-#include <QTimer>
-#include <QLabel>
-#include <QStatusBar>
+#include <QtCore/QTimer>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QStatusBar>
#include <QtWidgets/QApplication>
-#include <QSize>
+#include <QtCore/QSize>
#include <QtxAction.h>
#include <QtxActionMenuMgr.h>
#include "SUIT.h"
-#include <QObject>
-#include <QMap>
+#include <QtCore/QObject>
+#include <QtCore/QMap>
class QIcon;
class QLabel;
#include "SUIT_TreeModel.h"
#include <QtxTreeView.h>
-#include <QShortcut>
+#include <QtWidgets/QShortcut>
/*!
\class SUIT_DataBrowser
// File : SUIT_DataObject.cxx
// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
-#include <QVariant>
+#include <QtCore/QVariant>
#include "SUIT_DataObject.h"
#include "SUIT_DataObjectKey.h"
#include <Qtx.h>
-#include <QList>
-#include <QObject>
-#include <QString>
+#include <QtCore/QList>
+#include <QtCore/QObject>
+#include <QtCore/QString>
#include <QtGui/QPixmap>
#include <QtGui/QFont>
#include "SUIT_SmartPtr.h"
-#include <QMap>
-#include <QList>
-#include <QString>
+#include <QtCore/QMap>
+#include <QtCore/QList>
+#include <QtCore/QString>
#ifdef WIN32
#pragma warning( disable:4251 )
#include <QtxActionMenuMgr.h>
#include <QtxActionToolMgr.h>
-#include <QPointer>
-#include <QCloseEvent>
+#include <QtCore/QPointer>
+#include <QtGui/QCloseEvent>
#include <QtWidgets/QApplication>
/*!\class SUIT_Desktop
#include "SUIT.h"
-#include <QList>
-#include <QEvent>
+#include <QtCore/QList>
+#include <QtCore/QEvent>
#include <QtxMainWindow.h>
#define SUIT_EXCEPTIONHANDLER_H
#include "SUIT.h"
-#include <QList>
+#include <QtCore/QList>
class QEvent;
class QObject;
#include "SUIT_FileValidator.h"
#include "Qtx.h"
-#include <QDir>
-#include <QEvent>
-#include <QRegExp>
-#include <QLabel>
-#include <QComboBox>
-#include <QPushButton>
-#include <QGridLayout>
+#include <QtCore/QDir>
+#include <QtCore/QEvent>
+#include <QtCore/QRegExp>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
#include <QtWidgets/QApplication>
-#include <QListView>
-#include <QLineEdit>
-#include <QUrl>
-#include <QStandardPaths>
+#include <QtWidgets/QListView>
+#include <QtWidgets/QLineEdit>
+#include <QtCore/QUrl>
+#include <QtCore/QStandardPaths>
/*!
\brief Defines extension behavior.
#include "SUIT.h"
-#include <QFileDialog>
+#include <QtWidgets/QFileDialog>
class QLabel;
class QLineEdit;
#include "SUIT_FileValidator.h"
#include "SUIT_MessageBox.h"
#include "SUIT_Tools.h"
-#include <QFileInfo>
+#include <QtCore/QFileInfo>
/*!
\class SUIT_FileValidator
#include "SUIT_LicenseDlg.h"
#include <QtWidgets/QApplication>
-#include <QTextEdit>
-#include <QLayout>
-#include <QPushButton>
-#include <QTextStream>
-#include <QFile>
+#include <QtWidgets/QTextEdit>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QPushButton>
+#include <QtCore/QTextStream>
+#include <QtCore/QFile>
#include <QtPrintSupport/QPrinter>
//#include <QSimpleRichText>
#include <QtGui/QTextDocument>
#include "SUIT_OverrideCursor.h"
-#include <QMessageBox>
-#include <QPushButton>
+#include <QtWidgets/QMessageBox>
+#include <QtWidgets/QPushButton>
#include <QtWidgets/QApplication>
-#include <QString>
+#include <QtCore/QString>
#include <stdarg.h>
#include "SUIT.h"
-#include <QMap>
-#include <QList>
-#include <QMessageBox>
+#include <QtCore/QMap>
+#include <QtCore/QList>
+#include <QtWidgets/QMessageBox>
class SUIT_EXPORT SUIT_MessageBox : public QMessageBox
{
#include "SUIT.h"
-#include <QObject>
-#include <QPointer>
+#include <QtCore/QObject>
+#include <QtCore/QPointer>
class SUIT_Study;
class SUIT_Application;
#include "SUIT.h"
-#include <QList>
+#include <QtCore/QList>
#include <QtGui/QCursor>
/*! \brief Class used for management cursors.*/
#include "SUIT.h"
-#include <QObject>
+#include <QtCore/QObject>
class QMenu;
class QContextMenuEvent;
#include "SUIT_ResourceMgr.h"
#include "SUIT_Session.h"
-#include <QDir>
-#include <QFileInfo>
+#include <QtCore/QDir>
+#include <QtCore/QFileInfo>
#include <QtWidgets/QApplication>
-#include <QRegExp>
+#include <QtCore/QRegExp>
#ifndef WIN32
#include <unistd.h>
#include "SUIT_DataOwner.h"
-#include <QList>
-#include <QObject>
+#include <QtCore/QList>
+#include <QtCore/QObject>
class SUIT_Selector;
class SUIT_SelectionFilter;
#include "SUIT_SelectionMgr.h"
-#include <QObject>
+#include <QtCore/QObject>
/*!\class SUIT_Selector::Destroyer
Class provide the watching for qobject parent class of the selector.
#include "SUIT.h"
-#include <QList>
+#include <QtCore/QList>
class QObject;
#include "SUIT.h"
#include "SUIT_Application.h"
-#include <QList>
-#include <QObject>
-#include <QString>
-#include <QStringList>
+#include <QtCore/QList>
+#include <QtCore/QObject>
+#include <QtCore/QString>
+#include <QtCore/QStringList>
#ifdef WIN32
#include <windows.h>
#include <QtxAction.h>
#include <QtWidgets/QApplication>
-#include <QActionEvent>
+#include <QtGui/QActionEvent>
SUIT_ShortcutMgr* SUIT_ShortcutMgr::myShortcutMgr = NULL;
#include "SUIT.h"
-#include <QObject>
-#include <QMultiMap>
+#include <QtCore/QObject>
+#include <QtCore/QMultiMap>
class QtxAction;
#include "SUIT.h"
-#include <QList>
-#include <QObject>
-#include <QListIterator>
+#include <QtCore/QList>
+#include <QtCore/QObject>
+#include <QtCore/QListIterator>
class SUIT_DataObject;
class SUIT_Application;
#include "SUIT_Tools.h"
-#include <QDir>
+#include <QtCore/QDir>
#include <stdio.h>
#include <stdarg.h>
#include <Qtx.h>
-#include <QRect>
-#include <QString>
+#include <QtCore/QRect>
+#include <QtCore/QString>
#include <QtGui/QFont>
/*!
#include "SUIT_ResourceMgr.h"
#include <QtWidgets/QApplication>
-#include <QHash>
-#include <QMimeData>
+#include <QtCore/QHash>
+#include <QtCore/QMimeData>
SUIT_AbstractModel::SUIT_AbstractModel() : mySearcher( 0 )
{
#include <Qtx.h>
-#include <QAbstractItemModel>
-#include <QSortFilterProxyModel>
-#include <QModelIndex>
-#include <QItemDelegate>
-#include <QVariant>
-#include <QMap>
+#include <QtCore/QAbstractItemModel>
+#include <QtCore/QSortFilterProxyModel>
+#include <QtCore/QModelIndex>
+#include <QtWidgets/QItemDelegate>
+#include <QtCore/QVariant>
+#include <QtCore/QMap>
#ifdef WIN32
#pragma warning( disable:4251 )
#ifndef SUIT_TREESYNC_H
#define SUIT_TREESYNC_H
-#include <QList>
+#include <QtCore/QList>
/*!
\brief The structure representing difference between source and destination items.
#include "SUIT_Study.h"
#include "SUIT_Session.h"
-#include <QMap>
-#include <QRegExp>
+#include <QtCore/QMap>
+#include <QtCore/QRegExp>
#include <QtGui/QIcon>
#ifdef WIN32
#include "SUIT_PopupClient.h"
-#include <QObject>
+#include <QtCore/QObject>
#include <QtGui/QPixmap>
-#include <QVector>
-#include <QPointer>
+#include <QtCore/QVector>
+#include <QtCore/QPointer>
class QMenu;
class QMouseEvent;
#include "SUIT.h"
-#include <QObject>
-#include <QMap>
+#include <QtCore/QObject>
+#include <QtCore/QMap>
class QMenu;
#include "QtxActionToolMgr.h"
#include "QtxMultiAction.h"
-#include <QEvent>
+#include <QtCore/QEvent>
#include <QtGui/QIcon>
-#include <QMenu>
+#include <QtWidgets/QMenu>
#include <QtWidgets/QApplication>
-#include <QContextMenuEvent>
+#include <QtGui/QContextMenuEvent>
/*!\class SUIT_ViewWindow
* Class provide view window.
#include "SUIT.h"
#include "SUIT_CameraProperties.h"
-#include <QMainWindow>
-#include <QList>
-#include <QMap>
+#include <QtWidgets/QMainWindow>
+#include <QtCore/QList>
+#include <QtCore/QMap>
class SUIT_Desktop;
class SUIT_ViewManager;
#endif // USE_SALOME_STYLE
#include "QtxSplash.h"
-#include <QDir>
-#include <QFile>
-#include <QLocale>
-#include <QRegExp>
-#include <QString>
-#include <QStringList>
+#include <QtCore/QDir>
+#include <QtCore/QFile>
+#include <QtCore/QLocale>
+#include <QtCore/QRegExp>
+#include <QtCore/QString>
+#include <QtCore/QStringList>
#include <stdlib.h>
#include <Qtx.h>
-#include <QDir>
+#include <QtCore/QDir>
#ifdef WIN32
#include <windows.h>
// Date : 22/06/2007
//
#include "SUITApp_init_python.hxx"
-#include <QString>
+#include <QtCore/QString>
#if PY_VERSION_HEX < 0x03050000
static char*
#include <TColStd_IndexedMapOfInteger.hxx>
#include <math.h>
-#include <QPoint>
-#include <QVector>
+#include <QtCore/QPoint>
+#include <QtCore/QVector>
#if defined __GNUC__
#if __GNUC__ == 2
#include <vtkAbstractPropPicker.h>
#include <vtkDataSet.h>
-#include <QVector>
-#include <QPoint>
+#include <QtCore/QVector>
+#include <QtCore/QPoint>
class vtkRenderer;
#include "SVTK_ComboAction.h"
-#include <QComboBox>
-#include <QHBoxLayout>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QHBoxLayout>
SVTK_ComboAction::SVTK_ComboAction( QObject* parent )
: QWidgetAction( parent )
#include "SVTK.h"
-#include <QWidgetAction>
+#include <QtWidgets/QWidgetAction>
class QComboBox;
class SVTK_EXPORT SVTK_ComboAction : public QWidgetAction
#include "QtxAction.h"
#include "QtxIntSpinBox.h"
-#include <QCheckBox>
-#include <QGroupBox>
-#include <QLineEdit>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLineEdit>
#include <vtkAxisActor2D.h>
#include <vtkTextProperty.h>
//
#include "SVTK_FontWidget.h"
-#include <QComboBox>
+#include <QtWidgets/QComboBox>
#include <vtkTextProperty.h>
#include <vtkObjectFactory.h>
#include <vtkCommand.h>
-#include <QTimer>
+#include <QtCore/QTimer>
vtkStandardNewMacro(QVTK_GenericRenderWindowInteractor);
#include "SVTK.h"
-#include <QObject>
+#include <QtCore/QObject>
#include <vtkGenericRenderWindowInteractor.h>
#include <vtkSmartPointer.h>
#include "SVTK_ImageWriter.h"
-#include <QSemaphore>
+#include <QtCore/QSemaphore>
#include <vtkAlgorithm.h>
#include <vtkImageData.h>
#ifndef SVTK_IMAGEWRITER_H
#define SVTK_IMAGEWRITER_H
-#include <QThread>
+#include <QtCore/QThread>
#include <string>
class vtkAlgorithm;
#include <vtkAlgorithm.h>
#include <vtkImageData.h>
-#include <QSemaphore>
+#include <QtCore/QSemaphore>
#include <limits>
#include <QtxRubberBand.h>
#include <QtGui/QPixmap>
-#include <QWidget>
-#include <QPolygon>
+#include <QtWidgets/QWidget>
+#include <QtGui/QPolygon>
#include <algorithm>
#include <iostream>
#include "QtxDoubleSpinBox.h"
#include "QtxAction.h"
-#include <QGroupBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QGridLayout>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
/*!
Constructor
#include <QtxDoubleSpinBox.h>
-#include <QCheckBox>
-#include <QComboBox>
-#include <QGroupBox>
-#include <QLabel>
-#include <QLayout>
-#include <QSlider>
-#include <QPushButton>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QSlider>
+#include <QtWidgets/QPushButton>
/*!
* Constructor
#endif
#include <QtWidgets/QApplication>
-#include <QFileInfo>
-#include <QDir>
+#include <QtCore/QFileInfo>
+#include <QtCore/QDir>
//#include "utilities.h"
#include <QtxDoubleSpinBox.h>
#include <QtxIntSpinBox.h>
-#include <QCheckBox>
-#include <QComboBox>
-#include <QGroupBox>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QGroupBox>
#include <QtGui/QKeyEvent>
-#include <QLabel>
-#include <QLayout>
-#include <QLineEdit>
-#include <QPushButton>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLayout>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QPushButton>
/*!
* Constructor
// (see SVTK_SpaceMouse.h) to avoid the compilation error.
#if !defined(WIN32) && !defined(__APPLE__)
#include <xcb/xcb.h>
-#include <QX11Info>
+#include <QtX11Extras/QX11Info>
#endif
#include <QtGui/QMouseEvent>
#include "SVTK_Selection.h"
#include <vtkSmartPointer.h>
-#include <QWidget>
+#include <QtWidgets/QWidget>
// undefining min and max because CASCADE's defines them and
// it clashes with std::min(), std::max()
#define SVTK_SELECTIONEVENT_H
#include "SVTK_Selection.h"
-#include <QPoint>
-#include <QVector>
+#include <QtCore/QPoint>
+#include <QtCore/QVector>
//! The structure is used for passing all infromation necessary for claculation of the selection.
/*!
#include "QtxAction.h"
-#include <QLineEdit>
-#include <QGroupBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QMenu>
-#include <QGridLayout>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QGridLayout>
#include <QtGui/QDoubleValidator>
-#include <QCheckBox>
+#include <QtWidgets/QCheckBox>
#include <vtkCallbackCommand.h>
#include <vtkInteractorStyle.h>
#include <vtkSmartPointer.h>
-#include <QMap>
-#include <QList>
+#include <QtCore/QMap>
+#include <QtCore/QList>
class SVTK_ViewWindow;
class SVTK_RenderWindowInteractor;
#include <sstream>
-#include <QGroupBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QGridLayout>
-#include <QLineEdit>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QLineEdit>
#include <vtkGenericRenderWindowInteractor.h>
#include <vtkCallbackCommand.h>
#include <SALOME_InteractiveObject.hxx>
#include <SALOME_ListIO.hxx>
-#include <QObject>
+#include <QtCore/QObject>
class vtkActorCollection;
class vtkRenderer;
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-#include <QMenu>
-#include <QColorDialog>
-#include <QToolBar>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QToolBar>
#include <vtkCamera.h>
#include <vtkRenderer.h>
#include <SALOME_ListIO.hxx>
#include <QtGui/QColor>
-#include <QMap>
+#include <QtCore/QMap>
class QMouseEvent;
#include "QtxAction.h"
-#include <QLineEdit>
-#include <QGroupBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QGridLayout>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
#include <QtGui/QDoubleValidator>
-#include <QCheckBox>
-#include <QRadioButton>
-#include <QButtonGroup>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QRadioButton>
+#include <QtWidgets/QButtonGroup>
#include <vtkCallbackCommand.h>
#include <vtkRenderer.h>
#include "SALOME_Actor.h"
-#include <QMenu>
-#include <QToolBar>
-#include <QEvent>
-#include <QFileInfo>
-#include <QSignalMapper>
-#include <QXmlStreamWriter>
-#include <QXmlStreamReader>
-#include <QXmlStreamAttributes>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QToolBar>
+#include <QtCore/QEvent>
+#include <QtCore/QFileInfo>
+#include <QtCore/QSignalMapper>
+#include <QtCore/QXmlStreamWriter>
+#include <QtCore/QXmlStreamReader>
+#include <QtCore/QXmlStreamAttributes>
#include <vtkTextProperty.h>
#include <vtkActorCollection.h>
#include <SALOME_LifeCycleCORBA.hxx>
#include <QtWidgets/QApplication>
-#include <QWidget>
-#include <QAction>
-#include <QRegExp>
-#include <QCheckBox>
-#include <QPushButton>
-#include <QLabel>
-#include <QListWidget>
-#include <QGridLayout>
-#include <QMenu>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QAction>
+#include <QtCore/QRegExp>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QMenu>
#include <QtDebug>
#include <SALOMEDSClient_ClientFactory.hxx>
#include "SALOMEDSClient.hxx"
-#include <QPointer>
+#include <QtCore/QPointer>
class LightApp_Preferences;
class SalomeApp_Study;
#include "SalomeApp_CheckFileDlg.h"
-#include <QCheckBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QGridLayout>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
/*!
Constructor
#include <SALOME_LifeCycleCORBA.hxx>
#include <Basics_Utils.hxx>
-#include <QObject>
-#include <QVariant>
+#include <QtCore/QObject>
+#include <QtCore/QVariant>
//VSR: uncomment below macro to support unicode text properly in SALOME
// current commented out due to regressions
#include CORBA_SERVER_HEADER(SALOMEDS)
#include <QtGui/QKeyEvent>
-#include <QLineEdit>
-#include <QToolTip>
-#include <QRegExp>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QToolTip>
+#include <QtCore/QRegExp>
#include <string>
#include <utilities.h>
#include <QtWidgets/QApplication>
-#include <QDir>
-#include <QFile>
+#include <QtCore/QDir>
+#include <QtCore/QFile>
#include <iostream>
#include "SALOME_Component_i.hxx"
-#include <QString>
+#include <QtCore/QString>
#include <vector>
#include <map>
#include <stdexcept>
#include <exception>
-#include <QString>
+#include <QtCore/QString>
#include <Standard_ErrorHandler.hxx>
#include <Standard_Failure.hxx>
//
#include "SalomeApp_ExitDlg.h"
-#include <QLabel>
-#include <QVBoxLayout>
-#include <QHBoxLayout>
-#include <QGridLayout>
-#include <QPushButton>
-#include <QMessageBox>
-#include <QCheckBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QMessageBox>
+#include <QtWidgets/QCheckBox>
/*!
* \brief creates a Exit dialog box
#include CORBA_SERVER_HEADER(SALOMEDS)
#include <QtGui/QKeyEvent>
-#include <QLineEdit>
-#include <QToolTip>
-#include <QRegExp>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QToolTip>
+#include <QtCore/QRegExp>
#include <string>
#include "utilities.h"
#include <QtGui/QValidator>
-#include <QToolButton>
+#include <QtWidgets/QToolButton>
#include <QtGui/QPixmap>
-#include <QHeaderView>
+#include <QtWidgets/QHeaderView>
#include <QtGui/QKeyEvent>
#include <TColStd_ListOfInteger.hxx>
#include <SUIT_PopupClient.h>
-#include <QTreeWidget>
-#include <QTreeWidgetItem>
-#include <QString>
-#include <QLineEdit>
-#include <QComboBox>
+#include <QtWidgets/QTreeWidget>
+#include <QtWidgets/QTreeWidgetItem>
+#include <QtCore/QString>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QComboBox>
#include <TColStd_ListOfInteger.hxx>
#include <TColStd_ListOfReal.hxx>
#include "SalomeApp_LoadStudiesDlg.h"
-#include <QLabel>
-#include <QHBoxLayout>
-#include <QVBoxLayout>
-#include <QListWidget>
-#include <QPushButton>
-#include <QStringList>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QListWidget>
+#include <QtWidgets/QPushButton>
+#include <QtCore/QStringList>
#define SPACING_SIZE 6
#define MARGIN_SIZE 11
#include <SUIT_MessageBox.h>
#include <SUIT_Desktop.h>
-#include <QString>
+#include <QtCore/QString>
/*!Constructor.*/
SalomeApp_Module::SalomeApp_Module( const QString& name )
#include <SUIT_ResourceMgr.h>
#include <SUIT_Session.h>
-#include <QWidget>
-#include <QGridLayout>
-#include <QTableWidget>
-#include <QTableWidgetItem>
-#include <QPushButton>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QTableWidget>
+#include <QtWidgets/QTableWidgetItem>
+#include <QtWidgets/QPushButton>
#include <QtGui/QFont>
-#include <QGroupBox>
-#include <QList>
+#include <QtWidgets/QGroupBox>
+#include <QtCore/QList>
#include <QtWidgets/QApplication>
-#include <QDir>
+#include <QtCore/QDir>
#include <string>
#include <vector>
#include "SALOMEDSClient_ClientFactory.hxx"
#include CORBA_SERVER_HEADER(SALOMEDS)
-#include <QWidget>
-#include <QTableWidget>
-#include <QList>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QTableWidget>
+#include <QtCore/QList>
class QWidget;
class QPushButton;
// temporary commented
//#include <OB_Browser.h>
-#include <QCoreApplication>
-#include <QEvent>
-#include <QFileInfo>
+#include <QtCore/QCoreApplication>
+#include <QtCore/QEvent>
+#include <QtCore/QFileInfo>
#include "SALOME_Event.h"
#include "Basics_Utils.hxx"
#include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
// QT Includes
-#include <QPushButton>
-#include <QGridLayout>
-#include <QHBoxLayout>
-#include <QFrame>
-#include <QLineEdit>
-#include <QLabel>
-#include <QCheckBox>
-#include <QComboBox>
-#include <QTextEdit>
-#include <QTreeWidget>
-#include <QPushButton>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QTextEdit>
+#include <QtWidgets/QTreeWidget>
+#include <QtWidgets/QPushButton>
#include <iostream>
#include <utilities.h>
-#include <QColor>
-#include <QString>
+#include <QtGui/QColor>
+#include <QtCore/QString>
#include <Quantity_Color.hxx>
#ifndef SALOMEAPP_TYPEFILTER_H
#define SALOMEAPP_TYPEFILTER_H
-#include <QString>
+#include <QtCore/QString>
#include "SalomeApp_Filter.h"
#include <STD_TabDesktop.h>
-#include <QList>
+#include <QtCore/QList>
#include <QtWidgets/QApplication>
-#include <QMultiHash>
+#include <QtCore/QMultiHash>
#include <SALOMEDSClient_ClientFactory.hxx>//?
#include <SALOMEDSClient_IParameters.hxx>//?
#include "SalomeApp.h"
-#include <QObject>
+#include <QtCore/QObject>
class SalomeApp_Application;
#include <time.h>
#include <QtWidgets/QApplication>
-#include <QDir>
-#include <QFile>
-#include <QMutex>
-#include <QRegExp>
-#include <QTextStream>
-#include <QWaitCondition>
+#include <QtCore/QDir>
+#include <QtCore/QFile>
+#include <QtCore/QMutex>
+#include <QtCore/QRegExp>
+#include <QtCore/QTextStream>
+#include <QtCore/QWaitCondition>
//! CORBA server for SALOME GUI session
/*!
#include "Qtx.h"
#include <QtWidgets/QApplication>
-#include <QWaitCondition>
-#include <QMutexLocker>
-#include <QStringList>
+#include <QtCore/QWaitCondition>
+#include <QtCore/QMutexLocker>
+#include <QtCore/QStringList>
//
// Default settings
#include "Utils_SALOME_Exception.hxx"
#include "utilities.h"
-#include <QMutex>
-#include <QWaitCondition>
+#include <QtCore/QMutex>
+#include <QtCore/QWaitCondition>
/*!
default constructor not for use
#include <cstdlib>
#include <ctime>
-#include <QMutex>
-#include <QWaitCondition>
+#include <QtCore/QMutex>
+#include <QtCore/QWaitCondition>
const int Session_ServerThread::NB_SRV_TYP = 6;
const char* Session_ServerThread::_serverTypes[NB_SRV_TYP] = {"Container",
#include "Basics_Utils.hxx"
-#include <QMutex>
-#include <QWaitCondition>
+#include <QtCore/QMutex>
+#include <QtCore/QWaitCondition>
// Open CASCADE Includes
#include <OSD_SharedLibrary.hxx>
#include <QtxResourceMgr.h>
#include <QtWidgets/QApplication>
-#include <QColor>
+#include <QtGui/QColor>
#include <QtGui/QFont>
#include <QtGui/QPalette>
#include "Style.h"
-#include <QMap>
-#include <QString>
+#include <QtCore/QMap>
+#include <QtCore/QString>
#include <QtGui/QPalette>
#include <QtGui/QFont>
#include <QtxFontEdit.h>
#include <QtWidgets/QApplication>
-#include <QButtonGroup>
-#include <QCheckBox>
-#include <QColorDialog>
-#include <QComboBox>
-#include <QGridLayout>
-#include <QGroupBox>
-#include <QHBoxLayout>
+#include <QtWidgets/QButtonGroup>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QHBoxLayout>
#include <QtGui/QKeyEvent>
-#include <QLabel>
-#include <QListWidget>
-#include <QMap>
-#include <QMessageBox>
-#include <QPushButton>
-#include <QRadioButton>
-#include <QSlider>
-#include <QSpinBox>
-#include <QStackedWidget>
-#include <QTabWidget>
-#include <QVBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QListWidget>
+#include <QtCore/QMap>
+#include <QtWidgets/QMessageBox>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QRadioButton>
+#include <QtWidgets/QSlider>
+#include <QtWidgets/QSpinBox>
+#include <QtWidgets/QStackedWidget>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QVBoxLayout>
static const int MARGIN = 9;
static const int SPACING = 6;
#include "Style.h"
#include <QtxDialog.h>
-#include <QFrame>
-#include <QMap>
+#include <QtWidgets/QFrame>
+#include <QtCore/QMap>
class QCheckBox;
class QComboBox;
#include <QtWidgets/QApplication>
#include <QtGui/QPainter>
-#include <QMap>
-#include <QPainterPath>
-#include <QWidget>
-#include <QComboBox>
-#include <QStyleOptionFrame>
-#include <QStyleOptionComplex>
-#include <QStyleOptionSpinBox>
-#include <QStyleOptionButton>
-#include <QStyleOptionTab>
-#include <QStyleOptionToolButton>
-#include <QStyleOptionFocusRect>
-#include <QStyleOption>
-#include <QSize>
-#include <QToolBar>
-#include <QMenuBar>
-#include <QToolButton>
-#include <QTabWidget>
-#include <QTabBar>
-#include <QToolTip>
-#include <QDockWidget>
-#include <QTextEdit>
-#include <QTreeView>
-#include <QListView>
-#include <QHeaderView>
-#include <QRadioButton>
-#include <QCheckBox>
-#include <QPushButton>
-#include <QAbstractSpinBox>
-#include <QLineEdit>
-#include <QScrollBar>
-#include <QSlider>
-#include <QMainWindow>
-#include <QPixmapCache>
-#include <QTileRules>
+#include <QtCore/QMap>
+#include <QtGui/QPainterPath>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QStyleOptionFrame>
+#include <QtWidgets/QStyleOptionComplex>
+#include <QtWidgets/QStyleOptionSpinBox>
+#include <QtWidgets/QStyleOptionButton>
+#include <QtWidgets/QStyleOptionTab>
+#include <QtWidgets/QStyleOptionToolButton>
+#include <QtWidgets/QStyleOptionFocusRect>
+#include <QtWidgets/QStyleOption>
+#include <QtCore/QSize>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QMenuBar>
+#include <QtWidgets/QToolButton>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QTabBar>
+#include <QtWidgets/QToolTip>
+#include <QtWidgets/QDockWidget>
+#include <QtWidgets/QTextEdit>
+#include <QtWidgets/QTreeView>
+#include <QtWidgets/QListView>
+#include <QtWidgets/QHeaderView>
+#include <QtWidgets/QRadioButton>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QAbstractSpinBox>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QScrollBar>
+#include <QtWidgets/QSlider>
+#include <QtWidgets/QMainWindow>
+#include <QtGui/QPixmapCache>
+#include <QtWidgets/QTileRules>
#define SHADOW 1
#define LINE_GR_MARGIN 10
#include "Style_Tools.h"
#include <QtGui/QPainter>
-#include <QPainterPath>
-#include <QRect>
-#include <QColor>
-#include <QSize>
-#include <QTabWidget>
+#include <QtGui/QPainterPath>
+#include <QtCore/QRect>
+#include <QtGui/QColor>
+#include <QtCore/QSize>
+#include <QtWidgets/QTabWidget>
/*!
\class Style_Tools
#include "Style.h"
#include <QtGui/QPainterPath>
-#include <QRect>
+#include <QtCore/QRect>
#include <QtGui/QColor>
-#include <QStyle>
+#include <QtWidgets/QStyle>
//
// This class is private for Style package.
#include <stdlib.h>
-#include <QLabel>
-#include <QLineEdit>
-#include <QPushButton>
-#include <QGridLayout>
-#include <QGroupBox>
-#include <QStringList>
-#include <QRegExp>
-#include <QIntValidator>
-#include <QFile>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QGridLayout>
+#include <QtWidgets/QGroupBox>
+#include <QtCore/QStringList>
+#include <QtCore/QRegExp>
+#include <QtGui/QIntValidator>
+#include <QtCore/QFile>
#include <Qtx.h>
# include "ToolsGUI_RegWidget.h"
#include <QtWidgets/QApplication>
-#include <QInputDialog>
-#include <QMenuBar>
-#include <QStatusBar>
-#include <QTabWidget>
-#include <QTextEdit>
-#include <QTimer>
-#include <QToolBar>
-#include <QTreeWidget>
-#include <QVBoxLayout>
+#include <QtWidgets/QInputDialog>
+#include <QtWidgets/QMenuBar>
+#include <QtWidgets/QStatusBar>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QTextEdit>
+#include <QtCore/QTimer>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QTreeWidget>
+#include <QtWidgets/QVBoxLayout>
#include <Qtx.h>
#include "ToolsGUI.h"
-#include <QMainWindow>
-#include <QMap>
+#include <QtWidgets/QMainWindow>
+#include <QtCore/QMap>
#include <SALOMEconfig.h>
#include CORBA_CLIENT_HEADER(SALOME_Registry)
#include "DockWidgets.hxx"
// Qt includes
-#include <QMainWindow>
+#include <QtWidgets/QMainWindow>
// SALOME includes
#include <SUIT_Desktop.h>
//
#include <QtWidgets/QApplication>
-#include <QMainWindow>
-#include <QDockWidget>
-#include <QTreeView>
+#include <QtWidgets/QMainWindow>
+#include <QtWidgets/QDockWidget>
+#include <QtWidgets/QTreeView>
#include <Basics_Utils.hxx>
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-#include <QInputDialog>
-#include <QContextMenuEvent>
+#include <QtWidgets/QInputDialog>
+#include <QtGui/QContextMenuEvent>
#include "mainwindow.hxx"
#include "TreeModel.hxx"
#include "testhelper.hxx"
-#include <QFile>
-#include <QString>
+#include <QtCore/QFile>
+#include <QtCore/QString>
#include "QtHelper.hxx"
#include "MyDataModel.hxx"
#include "TreeGuiManager.hxx"
// SALOME includes
-#include <QStringList>
+#include <QtCore/QStringList>
// XCAD includes
#include "TreeView.hxx"
// Author: Guillaume Boulant (EDF/R&D)
-#include <QStringList>
+#include <QtCore/QStringList>
#include "TreeItem.hxx"
TreeItem::TreeItem(const QString &nameId,
// include Qt
-#include <QString>
-#include <QMenu>
-#include <QModelIndex>
-#include <QAbstractItemView>
+#include <QtCore/QString>
+#include <QtWidgets/QMenu>
+#include <QtCore/QModelIndex>
+#include <QtWidgets/QAbstractItemView>
// include Xcad
#include "TreeView.hxx"
#include <vtkViewport.h>
#include <vtkWindow.h>
-#include <QStringList>
+#include <QtCore/QStringList>
#define TEXT_MARGIN 4
#define OFFSET_SPACING 2
#include <vtkProperty.h>
#include <QtWidgets/QApplication>
-#include <QRubberBand>
+#include <QtWidgets/QRubberBand>
#include <algorithm>
class vtkRenderWindowInteractor;
class vtkTDxInteractorStyle;
-#include <QObject>
+#include <QtCore/QObject>
#include <QtGui/QCursor>
class QRubberBand;
#include <SUIT_ResourceMgr.h>
#include <SUIT_Session.h>
-#include <QFrame>
-#include <QVBoxLayout>
+#include <QtWidgets/QFrame>
+#include <QtWidgets/QVBoxLayout>
#include <QtGui/QKeyEvent>
/*!
#include <vtkImageData.h>
// QT Includes
-#include <QFile>
+#include <QtCore/QFile>
#include <QtGui/QImage>
-#include <QString>
-#include <QTextStream>
+#include <QtCore/QString>
+#include <QtCore/QTextStream>
namespace VTK
{
#include <vtkImageData.h>
-#include <QComboBox>
-#include <QHBoxLayout>
-#include <QLabel>
-#include <QSpinBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QSpinBox>
const int SPACING = 6;
enum { TypeRole = Qt::UserRole, IdRole };
#include "VTKViewer.h"
#include "VTKViewer_MarkerDef.h"
-#include <QWidget>
+#include <QtWidgets/QWidget>
class QComboBox;
class QLabel;
#include <utilities.h>
-#include <QString>
+#include <QtCore/QString>
#include <vtkCellArray.h>
#include <vtkXMLImageDataReader.h>
#include "VTKViewer_RenderWindow.h"
-#include <QColorDialog>
-#include <QContextMenuEvent>
+#include <QtWidgets/QColorDialog>
+#include <QtGui/QContextMenuEvent>
#include <stdlib.h>
#include <math.h>
#include <vtkRendererCollection.h>
#include <vtkCamera.h>
#if !defined WIN32 && !defined __APPLE__
-#include <QX11Info>
+#include <QtX11Extras/QX11Info>
#include <vtkXOpenGLRenderWindow.h>
#endif
#include <vtkRenderWindow.h>
-#include <QWidget>
+#include <QtWidgets/QWidget>
class VTKVIEWER_EXPORT VTKViewer_RenderWindow : public QWidget
{
#include <vtkProperty.h>
// QT Includes
-#include <QTimer>
+#include <QtCore/QTimer>
#include <QtGui/QMouseEvent>
#include <QtGui/QKeyEvent>
-#include <QContextMenuEvent>
+#include <QtGui/QContextMenuEvent>
/*! Create new instance of VTKViewer_RenderWindowInteractor*/
VTKViewer_RenderWindowInteractor* VTKViewer_RenderWindowInteractor::New()
#include "VTKViewer.h"
#include "VTKViewer_Actor.h"
-#include <QObject>
+#include <QtCore/QObject>
class QTimer;
class QMouseEvent;
#include "SUIT_Desktop.h"
#include "SUIT_Session.h"
-#include <QColorDialog>
-#include <QMenu>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QMenu>
#include <QtGui/QMouseEvent>
-#include <QToolBar>
+#include <QtWidgets/QToolBar>
// VSR: Uncomment below line to allow texture background support in VTK viewer
#define VTK_ENABLE_TEXTURED_BACKGROUND
#include <SUIT_Tools.h>
#include <SUIT_ResourceMgr.h>
-#include <QFileInfo>
+#include <QtCore/QFileInfo>
#include <QtGui/QImage>
#include <vtkCamera.h>
#include "QtxAction.h"
#include "QtxIntSpinBox.h"
-#include <QHBoxLayout>
-#include <QVBoxLayout>
-#include <QPushButton>
-#include <QTabWidget>
-#include <QCheckBox>
-#include <QGroupBox>
-#include <QLineEdit>
-#include <QLabel>
+#include <QtWidgets/QHBoxLayout>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QTabWidget>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QLabel>
/*!
* Class : ViewerTools_AxisWidgetBase
#include "ViewerTools_DialogBase.h"
-#include <QFrame>
+#include <QtWidgets/QFrame>
class QWidget;
class QPushButton;
#include "ViewerTools_FontWidgetBase.h"
-#include <QToolButton>
-#include <QComboBox>
-#include <QColorDialog>
-#include <QCheckBox>
-#include <QHBoxLayout>
+#include <QtWidgets/QToolButton>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QColorDialog>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QHBoxLayout>
/*!
* Class : ViewerTools_FontWidgetBase
#include "ViewerTools.h"
-#include <QWidget>
+#include <QtWidgets/QWidget>
class QToolButton;
class QComboBox;
#include <PyInterp_Interp.h> // GUI
#include <QtWidgets/QApplication>
-#include <QDesktopWidget>
-#include <QMainWindow>
-#include <QList>
-#include <QWidget>
-#include <QVBoxLayout>
-#include <QDockWidget>
-#include <QPushButton>
+#include <QtWidgets/QDesktopWidget>
+#include <QtWidgets/QMainWindow>
+#include <QtCore/QList>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QVBoxLayout>
+#include <QtWidgets/QDockWidget>
+#include <QtWidgets/QPushButton>
using namespace CURVEPLOT;
#include "PyConsole_Console.h"
#include "PyConsole_Editor.h"
-#include <QAction>
+#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
-#include <QClipboard>
-#include <QContextMenuEvent>
-#include <QMenu>
-#include <QVBoxLayout>
+#include <QtGui/QClipboard>
+#include <QtGui/QContextMenuEvent>
+#include <QtWidgets/QMenu>
+#include <QtWidgets/QVBoxLayout>
/*!
\class PyConsole_Console
#include "PyConsole.h"
-#include <QWidget>
-#include <QMap>
+#include <QtWidgets/QWidget>
+#include <QtCore/QMap>
class QMenu;
#include "PyConsole_Request.h"
#include <QtWidgets/QApplication>
-#include <QClipboard>
-#include <QDropEvent>
-#include <QEvent>
+#include <QtGui/QClipboard>
+#include <QtGui/QDropEvent>
+#include <QtCore/QEvent>
#include <QtGui/QKeyEvent>
-#include <QMimeData>
+#include <QtCore/QMimeData>
#include <QtGui/QMouseEvent>
-#include <QScrollBar>
-#include <QTextBlock>
-#include <QTextCursor>
-#include <QTextStream>
-#include <QChar>
-#include <QFileDialog>
-#include <QMessageBox>
+#include <QtWidgets/QScrollBar>
+#include <QtGui/QTextBlock>
+#include <QtGui/QTextCursor>
+#include <QtCore/QTextStream>
+#include <QtCore/QChar>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QMessageBox>
//VSR: uncomment below macro to support unicode text properly in SALOME
// current commented out due to regressions
#include "PyInterp_RefCounterObj.h"
-#include <QTextEdit>
-#include <QQueue>
+#include <QtWidgets/QTextEdit>
+#include <QtCore/QQueue>
class PyConsole_Interp;
class PyInterp_Request;
#include "PyConsole.h"
#include "PyInterp_Event.h"
-#include <QEvent>
-#include <QString>
-#include <QStringList>
+#include <QtCore/QEvent>
+#include <QtCore/QString>
+#include <QtCore/QStringList>
class PyConsole_PrintEvent : public QEvent
{
#include "PyInterp_Interp.h"
#include "PyConsole.h"
-#include <QStringList>
+#include <QtCore/QStringList>
class PYCONSOLE_EXPORT PyConsole_Interp : public PyInterp_Interp
{
#include "PyConsole_Interp.h"
#include "PyConsole_Event.h"
-#include <QCoreApplication>
+#include <QtCore/QCoreApplication>
/*!
\class PyConsole_ExecCommand
#include "PyInterp_Request.h"
-#include <QString>
-#include <QStringList>
+#include <QtCore/QString>
+#include <QtCore/QStringList>
class QEvent;
class PyInterp_Interp;
#include "PyEditor_StdSettings.h"
#include <QtWidgets/QApplication>
-#include <QCommandLineParser>
-#include <QDir>
-#include <QLibraryInfo>
-#include <QLocale>
-#include <QStringList>
-#include <QTranslator>
+#include <QtCore/QCommandLineParser>
+#include <QtCore/QDir>
+#include <QtCore/QLibraryInfo>
+#include <QtCore/QLocale>
+#include <QtCore/QStringList>
+#include <QtCore/QTranslator>
QString qtTrDir()
{
#include "PyEditor_Editor.h"
#include "PyEditor_Keywords.h"
-#include <QSet>
-#include <QTimer>
-#include <QTextBlock>
-#include <QTextCursor>
+#include <QtCore/QSet>
+#include <QtCore/QTimer>
+#include <QtGui/QTextBlock>
+#include <QtGui/QTextCursor>
#include <QtWidgets/QApplication>
-#include <QAbstractItemView>
+#include <QtWidgets/QAbstractItemView>
#include <QtGui/QStandardItemModel>
/*!
#ifndef PYEDITOR_COMPLETER_H
#define PYEDITOR_COMPLETER_H
-#include <QCompleter>
+#include <QtWidgets/QCompleter>
class QTimer;
class PyEditor_Editor;
#include "PyEditor_Settings.h"
#include "PyEditor_Keywords.h"
-#include <QMenu>
+#include <QtWidgets/QMenu>
#include <QtGui/QPainter>
-#include <QTextBlock>
-#include <QScrollBar>
+#include <QtGui/QTextBlock>
+#include <QtWidgets/QScrollBar>
#include <iostream>
#include "PyEditor.h"
#include "PyEditor_Settings.h"
-#include <QPlainTextEdit>
+#include <QtWidgets/QPlainTextEdit>
class PyEditor_Keywords;
class PyEditor_Completer;
#include "PyEditor_FindTool.h"
#include "PyEditor_Editor.h"
-#include <QAction>
-#include <QCompleter>
-#include <QEvent>
-#include <QGridLayout>
+#include <QtWidgets/QAction>
+#include <QtWidgets/QCompleter>
+#include <QtCore/QEvent>
+#include <QtWidgets/QGridLayout>
#include <QtGui/QIcon>
-#include <QLabel>
-#include <QLineEdit>
-#include <QMenu>
-#include <QSignalMapper>
-#include <QToolButton>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QLineEdit>
+#include <QtWidgets/QMenu>
+#include <QtCore/QSignalMapper>
+#include <QtWidgets/QToolButton>
/*!
\class PyEditor_FindTool
#include "PyEditor.h"
#include <QtGui/QTextDocument>
-#include <QStringListModel>
-#include <QWidget>
+#include <QtCore/QStringListModel>
+#include <QtWidgets/QWidget>
class PyEditor_Editor;
class QAction;
#include "PyEditor_Keywords.h"
-#include <QSet>
+#include <QtCore/QSet>
/*!
\brief PyEditor_Keywords
#ifndef PYEDITOR_KEYWORDS_H
#define PYEDITOR_KEYWORDS_H
-#include <QObject>
+#include <QtCore/QObject>
#include <QtGui/QColor>
-#include <QList>
-#include <QMap>
+#include <QtCore/QList>
+#include <QtCore/QMap>
class PyEditor_Keywords : public QObject
{
#ifndef PYEDITOR_LINENUMBERAREA_H
#define PYEDITOR_LINENUMBERAREA_H
-#include <QWidget>
+#include <QtWidgets/QWidget>
class PyEditor_Editor;
#include "PyEditor_Keywords.h"
-#include <QSet>
+#include <QtCore/QSet>
#define NORMAL 0
#define TRIPLESINGLE 1
#ifndef PYEDITOR_PYHIGHLIGHTER_H
#define PYEDITOR_PYHIGHLIGHTER_H
-#include <QSyntaxHighlighter>
+#include <QtGui/QSyntaxHighlighter>
class QTextDocument;
class PyEditor_Keywords;
#include "PyEditor_Editor.h"
#include "PyEditor_Settings.h"
-#include <QCheckBox>
-#include <QComboBox>
-#include <QFontComboBox>
-#include <QGroupBox>
-#include <QLabel>
-#include <QPushButton>
-#include <QSpinBox>
-#include <QVBoxLayout>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QFontComboBox>
+#include <QtWidgets/QGroupBox>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QPushButton>
+#include <QtWidgets/QSpinBox>
+#include <QtWidgets/QVBoxLayout>
/*!
\class PyEditor_SettingsDlg
#include "PyEditor.h"
#include "PyEditor_Settings.h"
-#include <QSettings>
+#include <QtCore/QSettings>
class PYEDITOR_EXPORT PyEditor_StdSettings : public PyEditor_Settings
{
#include "PyEditor_FindTool.h"
#include "PyEditor_Widget.h"
-#include <QVBoxLayout>
+#include <QtWidgets/QVBoxLayout>
/*!
\class PyEditor_Widget
#include "PyEditor.h"
#include "PyEditor_Settings.h"
-#include <QWidget>
+#include <QtWidgets/QWidget>
class PyEditor_Editor;
class PyEditor_FindTool;
#include "PyEditor_Settings.h"
#include "PyEditor_SettingsDlg.h"
-#include <QAction>
+#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
-#include <QCloseEvent>
-#include <QFileDialog>
-#include <QMenuBar>
-#include <QMessageBox>
-#include <QStatusBar>
-#include <QTextStream>
-#include <QToolBar>
+#include <QtGui/QCloseEvent>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QMenuBar>
+#include <QtWidgets/QMessageBox>
+#include <QtWidgets/QStatusBar>
+#include <QtCore/QTextStream>
+#include <QtWidgets/QToolBar>
/*!
\class PyEditor_Window
#include "PyEditor.h"
-#include <QMainWindow>
-#include <QMap>
+#include <QtWidgets/QMainWindow>
+#include <QtCore/QMap>
class QAction;
class PyEditor_Widget;
#include "PyInterp_Request.h" // full include instead of forward declaration
// everyone inc'ing the Dispatcher will get the requests for free.
-#include <QMutex>
-#include <QThread>
-#include <QQueue>
+#include <QtCore/QMutex>
+#include <QtCore/QThread>
+#include <QtCore/QQueue>
class PYINTERP_EXPORT PyInterp_Dispatcher : protected QThread
{
#include "PyInterp.h"
-#include <QEvent>
+#include <QtCore/QEvent>
class PyInterp_Request;
#include <sstream>
#include <algorithm>
-#include <QRegExp>
-#include <QStringList>
+#include <QtCore/QRegExp>
+#include <QtCore/QStringList>
#define TOP_HISTORY_PY "--- top of history ---"
#define BEGIN_HISTORY_PY "--- begin of history ---"
#include "PyInterp_Request.h"
#include "PyInterp_Utils.h"
-#include <QCoreApplication>
+#include <QtCore/QCoreApplication>
void PyInterp_Request::process()
{
#include "PyInterp.h"
#include "PyInterp_Event.h"
-#include <QMutex>
+#include <QtCore/QMutex>
class QObject;
class PyInterp_Interp;
#include "RemoteFileBrowser.h"
-#include <QWidget>
-#include <QComboBox>
+#include <QtWidgets/QWidget>
+#include <QtWidgets/QComboBox>
class QPushButton;
class QLineEdit;
//
#include "GenericDialog.h"
-#include <QDebug>
+#include <QtCore/QDebug>
GenericDialog::GenericDialog(QDialog* parent) : QDialog(parent)
{
#include "__CLASSNAME__.h"
-#include <QDebug>
+#include <QtCore/QDebug>
__CLASSNAME__::__CLASSNAME__(QDialog* parent) : QDialog(parent)
{