]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Folder selection for SUIT added
authormiv <miv@opencascade.com>
Wed, 3 Nov 2010 12:46:38 +0000 (12:46 +0000)
committermiv <miv@opencascade.com>
Wed, 3 Nov 2010 12:46:38 +0000 (12:46 +0000)
src/SUIT/SUIT_PreferenceMgr.cxx
src/SUIT/SUIT_PreferenceMgr.h

index 191eef2511fdc4f1b329216cbae2778d33a00de4..b275bdc4828f094562a9f306512e55e5aa9c1595 100644 (file)
@@ -144,6 +144,9 @@ int SUIT_PreferenceMgr::addItem( const QString& title, const int pId,
   case File:
     item = new QtxPagePrefPathItem( Qtx::PT_OpenFile, title, parent, sect, param );
     break;
+  case Folder:
+    item = new QtxPagePrefPathItem( Qtx::PT_Directory, title, parent, sect, param );
+    break;
   case DirList:
     item = new QtxPagePrefPathListItem( Qtx::PT_Directory, title, parent, sect, param );
     break;
index 2c85f60184c11ebbf980f3164797a6d763b81cac..e48c3aff50fc44754aaddf854e28ad13b59912ac 100644 (file)
@@ -36,7 +36,7 @@ class SUIT_EXPORT SUIT_PreferenceMgr : public QtxPagePrefMgr
 public:
   typedef enum { Auto, Space, Bool, Color, String, Selector,
                  DblSpin, IntSpin, Double, Integer,
-                 GroupBox, Tab, Frame, Font, DirList, File } PrefItemType;
+                 GroupBox, Tab, Frame, Font, DirList, File , Folder} PrefItemType;
 
 public:
   SUIT_PreferenceMgr( QtxResourceMgr*, QWidget* = 0 );