]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Add getDirectory() method to provide application-specific "Select directory" dialog box
authorvsr <vsr@opencascade.com>
Fri, 17 Jun 2005 13:42:13 +0000 (13:42 +0000)
committervsr <vsr@opencascade.com>
Fri, 17 Jun 2005 13:42:13 +0000 (13:42 +0000)
src/SUIT/SUIT_Application.h

index f2fa7f49c0a487116965bf535a71802db68f5dba..804c65f2af8cdf4f58607eb24f82cf82f6bcb809 100755 (executable)
@@ -69,10 +69,13 @@ public:
   //! Puts the message to the status bar  
   void putInfo ( const QString&, const int = 0 );
 
-  //! Invokes application-specific "Open/Save" file dialog and returns the selected file name.
+  //! Invokes application-specific "Open/Save File" dialog and returns the selected file name.
   virtual QString getFileName( bool open, const QString& initial, const QString& filters, 
                               const QString& caption, QWidget* parent ) = 0;
 
+  //! Invokes application-specific "Select Directory" dialog and returns the selected directory name.
+  virtual QString getDirectory( const QString& initial, const QString& caption, QWidget* parent ) = 0;
+
 signals:
   void                  applicationClosed( SUIT_Application* );
   void                  activated( SUIT_Application* );