Persist the directory between successive Import/Open operations, or successive Export/Save operations. More...
#include <MainDirectoryPersist.h>
Public Member Functions | |
MainDirectoryPersist () | |
Default constructor. | |
QDir | getDirectoryExportSave () const |
Get the current Export/Save directory. | |
QDir | getDirectoryImportOpen () const |
Get the current Import/Open directory. | |
void | setDirectoryExportSaveFromFilename (const QString &fileName) |
Save the current Export/Save directory, after user has accepted the Export/Save dialog. | |
void | setDirectoryImportOpenFromFilename (const QString &fileName) |
Save the current Import/Open directory, after user has accepted the Import/Open dialog. | |
Persist the directory between successive Import/Open operations, or successive Export/Save operations.
The Export/Import/Open/Save operations are performed by the MainWindow class. This functionality is for the convenience of users who want to return to the same directory automatically rather than manually move from the Engauge startup directory to a user directory
Definition at line 17 of file MainDirectoryPersist.h.