Added two standard paths to file open/save dialog
In particular Desktop and Downloads have been added. Also introduced a new function to create a file dialog in order to prevent code duplication.
This commit is contained in:
@@ -36,6 +36,7 @@ class QAction;
|
||||
class QDomElement;
|
||||
class QGridLayout;
|
||||
class QMdiArea;
|
||||
class QFileDialog;
|
||||
|
||||
class configManager;
|
||||
class PluginView;
|
||||
@@ -99,6 +100,7 @@ public slots:
|
||||
}
|
||||
void createNewProject( void );
|
||||
void createNewProjectFromTemplate( QAction * _idx );
|
||||
QFileDialog* newFileDialog( const QString & caption = QString(), const QString & directory = QString(), const QString & filter = QString() );
|
||||
void openProject( void );
|
||||
bool saveProject( void );
|
||||
bool saveProjectAs( void );
|
||||
|
||||
Reference in New Issue
Block a user