From 4b69f75e8dad1c67fc938aedd075c08edca4df62 Mon Sep 17 00:00:00 2001 From: miv Date: Wed, 3 Nov 2010 12:46:38 +0000 Subject: [PATCH] Folder selection for SUIT added --- src/SUIT/SUIT_PreferenceMgr.cxx | 3 +++ src/SUIT/SUIT_PreferenceMgr.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SUIT/SUIT_PreferenceMgr.cxx b/src/SUIT/SUIT_PreferenceMgr.cxx index 191eef251..b275bdc48 100644 --- a/src/SUIT/SUIT_PreferenceMgr.cxx +++ b/src/SUIT/SUIT_PreferenceMgr.cxx @@ -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; diff --git a/src/SUIT/SUIT_PreferenceMgr.h b/src/SUIT/SUIT_PreferenceMgr.h index 2c85f6018..e48c3aff5 100644 --- a/src/SUIT/SUIT_PreferenceMgr.h +++ b/src/SUIT/SUIT_PreferenceMgr.h @@ -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 ); -- 2.39.2