From 254e19a0e6796cc3fa1ba58713045ed08b18cca3 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 17 Jun 2005 13:42:13 +0000 Subject: [PATCH] Add getDirectory() method to provide application-specific "Select directory" dialog box --- src/SUIT/SUIT_Application.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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* ); -- 2.39.2