Salome HOME
Update from V7_dev V8_0_0_BR V8_0_0 V8_0_0rc2
authorvsr <vsr@opencascade.com>
Fri, 12 Feb 2016 11:20:23 +0000 (14:20 +0300)
committervsr <vsr@opencascade.com>
Sat, 20 Feb 2016 08:12:24 +0000 (11:12 +0300)
src/HEXABLOCKGUI/HEXABLOCKGUI.cxx
src/HEXABLOCKGUI/HEXABLOCKGUI.hxx
src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx
src/HEXABLOCKGUI/HEXABLOCKGUI_Resource.cxx
src/HEXABLOCKGUI/HEXABLOCKGUI_Resource.hxx
src/HEXABLOCKGUI/MyBasicGUI_PointDlg.cxx
src/HEXABLOCKGUI/klinkitemselectionmodel.cxx
src/HEXABLOCKGUI/klinkitemselectionmodel.hxx
src/HEXABLOCKGUI/kmodelindexproxymapper.cxx

index ce168b51c1196d0cef5462ef110f406a473de88d..f7f508bc48d74f4b4ec8ed8c05ceab61c61a7723 100755 (executable)
@@ -21,7 +21,7 @@
 
 #include <cassert>
 
-
+#include <QDir>
 #include <QInputDialog>
 #include <QIcon>
 #include <QStackedWidget>
index e0c6e37c907136b5ed2dbeaa5eaadc8356d90c93..13f961708f4fccc93c82ae656e2a29148882beb1 100755 (executable)
@@ -45,6 +45,7 @@
 #include "HEXABLOCKGUI_OCCSelector.h"
 #include "hexa_base.hxx"
 
+class QDir;
 
 // #include CORBA_CLIENT_HEADER(HEXABLOCK_Gen)  // Abu Juin 2013
 
index 2b2e9841a0519b2670277e916586c3e6158440bc..9ec2dd28af4497a1cec52f4082da5eb4e0439105 100755 (executable)
@@ -25,8 +25,8 @@
 
 #include "Hex.hxx"
 #include <iostream>
-#include <QtGui>
 #include <QFlags>
+#include <QKeyEvent>
 #include <QStyledItemDelegate>
 
 #include <SalomeApp_Application.h>
index 36629d1e5d9294f5bfee13a360b4e24ba138596b..7a6260248c3fe926101c97dff0ccaebfb062f77b 100755 (executable)
@@ -55,11 +55,11 @@ bool HEXABLOCKGUI_Resource::booleanValue(const QString& name, const bool def) co
   return _resource->booleanValue(RESOURCE_HEXABLOCK, name, def);
 }
 
-QFont HEXABLOCKGUI_Resource::fontValue(const QString& name, const QFont def) const {
+QFont HEXABLOCKGUI_Resource::fontValue(const QString& name, const QFont& def) const {
   return _resource->fontValue(RESOURCE_HEXABLOCK, name, def);
 }
 
-QColor HEXABLOCKGUI_Resource::colorValue(const QString& name, const QColor def) const {
+QColor HEXABLOCKGUI_Resource::colorValue(const QString& name, const QColor& def) const {
   return _resource->colorValue(RESOURCE_HEXABLOCK, name, def);
 }
 
@@ -74,7 +74,7 @@ QColor HEXABLOCKGUI_Resource::colorValue(const QString& name, const int h, const
   return colorValue(name, col);
 }
 
-QString HEXABLOCKGUI_Resource::stringValue(const QString& name, const QString def) const {
+QString HEXABLOCKGUI_Resource::stringValue(const QString& name, const QString& def) const {
   return _resource->stringValue(RESOURCE_HEXABLOCK, name, def);
 }
 
@@ -93,15 +93,15 @@ void HEXABLOCKGUI_Resource::setValue( const QString& name, const bool val ) {
     _resource->setValue(RESOURCE_HEXABLOCK, name, val);
 }
 
-void HEXABLOCKGUI_Resource::setValue( const QString& name, const QFont val ) {
+void HEXABLOCKGUI_Resource::setValue( const QString& name, const QFont& val ) {
     _resource->setValue(RESOURCE_HEXABLOCK, name, val);
 }
 
-void HEXABLOCKGUI_Resource::setValue( const QString& name, const QColor val ) {
+void HEXABLOCKGUI_Resource::setValue( const QString& name, const QColor& val ) {
     _resource->setValue(RESOURCE_HEXABLOCK, name, val);
 }
 
-void HEXABLOCKGUI_Resource::setValue( const QString& name, const QString val ) {
+void HEXABLOCKGUI_Resource::setValue( const QString& name, const QString& val ) {
     _resource->setValue(RESOURCE_HEXABLOCK, name, val);
 }
 
index 5f790dab70d9e62b4dc5705d8d19938cef5f59f0..79f8e3355ba22e2cde6b836031a0346d5fc767dd 100755 (executable)
 #ifndef _HEXABLOCKGUI_RESOURCE_HXX_
 #define _HEXABLOCKGUI_RESOURCE_HXX_
 
-#include "HEXABLOCKGUI_Export.hxx"
+#include <QColor>
+#include <QFont>
+#include <QString>
 
-#include <QtGui>
+#include "HEXABLOCKGUI_Export.hxx"
 
 class HEXABLOCKGUI;
 class SUIT_ResourceMgr;
 
-
-
 class HEXABLOCK_EXPORT HEXABLOCKGUI_Resource 
 {
   public:
@@ -38,25 +38,24 @@ class HEXABLOCK_EXPORT HEXABLOCKGUI_Resource
     virtual void preferencesChanged();
 
   protected:
-    int     integerValue( const QString& name, const int    def = 0          ) const;
-    double  doubleValue ( const QString& name, const double def = 0          ) const;
-    bool    booleanValue( const QString& name, const bool   def = false      ) const;
-    QFont   fontValue   ( const QString& name, const QFont  def = QFont()    ) const;
-    QColor  colorValue  ( const QString& name, const QColor def = QColor()   ) const;
-    QColor  colorValue  ( const QString& name, const Qt::GlobalColor c       ) const;
-    QColor  colorValue  ( const QString& name, const int h, const int s, const int v) const;
-    QString stringValue ( const QString& name, const QString def = QString() ) const;
-
-    void setValue( const QString& name, const int     val );
-    void setValue( const QString& name, const double  val );
-    void setValue( const QString& name, const bool    val );
-    void setValue( const QString& name, const QFont   val );
-    void setValue( const QString& name, const QColor  val );
-    void setValue( const QString& name, const QString val );
+    int     integerValue( const QString& name, const int     def = 0          ) const;
+    double  doubleValue ( const QString& name, const double  def = 0          ) const;
+    bool    booleanValue( const QString& name, const bool    def = false      ) const;
+    QFont   fontValue   ( const QString& name, const QFont&  def = QFont()    ) const;
+    QColor  colorValue  ( const QString& name, const QColor& def = QColor()   ) const;
+    QColor  colorValue  ( const QString& name, const Qt::GlobalColor c        ) const;
+    QColor  colorValue  ( const QString& name, const int h, const int s, const int v ) const;
+    QString stringValue ( const QString& name, const QString& def = QString() ) const;
+
+    void setValue( const QString& name, const int      val );
+    void setValue( const QString& name, const double   val );
+    void setValue( const QString& name, const bool     val );
+    void setValue( const QString& name, const QFont&   val );
+    void setValue( const QString& name, const QColor&  val );
+    void setValue( const QString& name, const QString& val );
 
   protected:
     SUIT_ResourceMgr* _resource;
-
 };
 
 
index aefa4ffda34a7876451c4efe4a49a312f948872e..0ab5dc206d58f3cb74e34c4d5eabd064f2aa2379 100644 (file)
@@ -34,6 +34,7 @@
 #include <QRadioButton>
 #include <QMenu>
 #include <QTimer>
+#include <QVector3D>
 
 #include <gp_Pnt.hxx>
 #include <TopoDS_Shape.hxx>
index 8304b3d7f76a22f1cc55d9e9080ed7a69fd3ad71..6b3e77491a943db5ab79897db07b7dda36f7c6bc 100644 (file)
@@ -19,7 +19,7 @@
     02110-1301, USA.
 */
 
-#include <QtCore/QObject>
+#include <QObject>
 #include "klinkitemselectionmodel.hxx"
 // #include "klinkitemselectionmodel_p.hxx"
 
index f41e1effeb5f69f5e434aade8adb131eba4b1802..e0d4ba81285caf25706cd39dc3020a6a7f2f63da 100644 (file)
 
 #include "HEXABLOCKGUI_Export.hxx"
 
-#include <QtCore/QObject>
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-#include <QtGui/QItemSelectionModel>
-#include <QtGui/QAbstractProxyModel>
-#else
-#include <QtCore/QItemSelectionModel>
-#include <QtCore/QAbstractProxyModel>
-#endif
+#include <QObject>
+#include <QItemSelectionModel>
+#include <QAbstractProxyModel>
 
 #include <iostream>
 
index 28bc187ab3fcb98c7d21ba76c4c367a5196c7ac4..09e5429fe9d7c6a298364355049fde667e2ca4fa 100644 (file)
 
 #include "kmodelindexproxymapper.hxx"
 
-#include <QtCore/QAbstractItemModel>
-#include <QtCore/QWeakPointer>
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-#include <QtGui/QAbstractProxyModel>
-#include <QtGui/QItemSelectionModel>
-#else 
-#include <QtCore/QAbstractProxyModel>
-#include <QtCore/QItemSelectionModel>
-#endif
+#include <QAbstractItemModel>
+#include <QWeakPointer>
+#include <QAbstractProxyModel>
+#include <QItemSelectionModel>
 
 // #include "kdebug.h"