From: vsr Date: Fri, 17 Jun 2005 13:42:13 +0000 (+0000) Subject: Add getDirectory() method to provide application-specific "Select directory" dialog box X-Git-Tag: T3_0_0_a4~79 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=254e19a0e6796cc3fa1ba58713045ed08b18cca3;p=modules%2Fgui.git Add getDirectory() method to provide application-specific "Select directory" dialog box --- diff --git a/src/SUIT/SUIT_Application.h b/src/SUIT/SUIT_Application.h index f2fa7f49c..804c65f2a 100755 --- a/src/SUIT/SUIT_Application.h +++ b/src/SUIT/SUIT_Application.h @@ -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* );