]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Adding file dialog with directory mode in preferences manager sc/fix_glview_zooms 17/head
authorCHEMIN Sebastien <sc236498@is245491.intra.cea.fr>
Fri, 10 Nov 2023 08:15:10 +0000 (09:15 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 28 Feb 2024 12:07:59 +0000 (13:07 +0100)
src/SUIT/SUIT_PreferenceMgr.cxx
src/SUIT/SUIT_PreferenceMgr.h

index 08c0208ee404be5612c8fb47299e8511cdbd5b1a..0fd2e20e111ab04c7959cedfd04b8a94af4b6ee9 100644 (file)
@@ -151,6 +151,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 Directory:
+    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 e68d29becfe489c70e04bc9004a9e0d654e53b5b..b47922521f00a437ff8091f3aa3683b0d01fe61b 100644 (file)
@@ -38,7 +38,7 @@ public:
   typedef enum { Auto, Space, Bool, Color, String, Selector,
                  DblSpin, IntSpin, Double, Integer,
                  GroupBox, Tab, Frame, Font, DirList, File,
-                Slider, Shortcut, ShortcutTree, BiColor, Background,            
+                Slider, Shortcut, ShortcutTree, BiColor, Background, Directory,                 
                  UserDefined = 1000 } PrefItemType;
 
 public: