#include <CEGUICommonFileDialog.h>
Public Member Functions | |
CCommonFileDialog (void) | |
Map that contains the last selected dir's for each particular drive. | |
virtual | ~CCommonFileDialog (void) |
Window * | getWindow () |
void | openDialog (CommonFileDialogInput &) |
CommonFileDialogOutput | getResult (void) |
Private Member Functions | |
void | _disableDialog (void) |
void | _enableDialog (void) |
void | _closeWindow (void) |
void | _closePromptWindowLoad (void) |
void | _closePromptWindowSave (void) |
void | _openPromptWindowLoad (void) |
void | _openPromptWindowSave (void) |
bool | _handleClose (const CEGUI::EventArgs &) |
bool | _handleCancel (const CEGUI::EventArgs &) |
void | _okExecute (void) |
bool | _handleOk (const CEGUI::EventArgs &) |
bool | _handleBack (const CEGUI::EventArgs &) |
bool | _handleDriveSelect (const CEGUI::EventArgs &) |
bool | _handleFilterSelect (const CEGUI::EventArgs &) |
bool | _handleFileSelect (const CEGUI::EventArgs &) |
bool | _handleDirectorySelect (const CEGUI::EventArgs &) |
bool | _handlePromptLoadOk (const CEGUI::EventArgs &) |
bool | _handlePromptSaveOk (const CEGUI::EventArgs &) |
bool | _handlePromptSaveCancel (const CEGUI::EventArgs &) |
bool | _isFileExisting (const String) |
void | _prefillOutputAndClearInput (void) |
void | _determineDrives (void) |
String | _getWorkingPath (void) |
String | _getCurrentDrive (void) |
_FilterElement * | _getCurrentFilterElement (void) |
void | _setCurrentFile (const String) |
String | _getCurrentFile (void) |
void | _addFileNameToHistory (const String) |
void | _adjustPathOfSelectedDrive (const String) |
_Path * | _getPathOfSelectedDrive (void) |
String | _stripBrackets (const String) |
String | _stripDrive (const String) |
String | _stripFileExtension (const String, bool returnRightPart=true) |
bool | _matchItem (const String) |
void | _fillListbox (void) |
Private Attributes | |
_FilterParser | _filterParser |
Window * | _mWindow |
PushButton * | _mBtnBack |
Main dialog window. | |
PushButton * | _mBtnOk |
Back button. | |
PushButton * | _mBtnCancel |
Ok button. | |
Combobox * | _mCmbFile |
Cancel button. | |
Combobox * | _mCmbDrives |
Combobox * | _mCmbExtensions |
Combobox, containing all active drives. | |
Listbox * | _mLbxFiles |
Combobox, that contains the filter elements (extensions). | |
FrameWindow * | _mWindowPromptLoad |
of the current path | |
StaticText * | _mStPromptLoad |
Prompt window, displayed in case file to load doesn't exists. | |
PushButton * | _mBtnPromptLoadOk |
Message in the prompt window. | |
FrameWindow * | _mWindowPromptSave |
Ok button. | |
StaticText * | _mStPromptSave |
Prompt window, displayed in case file to save already exists. | |
PushButton * | _mBtnPromptSaveOk |
Message in the prompt window. | |
PushButton * | _mBtnPromptSaveCancel |
Ok button. | |
vector< String > | _drives |
Cancel button. | |
CommonFileDialogInput | _currentInput |
Vector containing all drives. | |
CommonFileDialogOutput | _currentOutput |
The input data, set after each call (function 'openDialog') is stored. | |
hash_map< string, _Path * > | _currentPaths |
The output data. | |
Classes | |
class | _Filter |
Inner class representing a filter element in a more appropriate way. More... | |
class | _FilterElement |
Inner class that represents a filter element for extension combobox. More... | |
class | _FilterParser |
Inner class that parses the filter. More... | |
class | _Path |
Inner class that represents drive, path and filename. More... |
|
Map that contains the last selected dir's for each particular drive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Vector containing all drives.
|
|
The input data, set after each call (function 'openDialog') is stored.
|
|
The output data.
|
|
Cancel button.
|
|
|
|
Main dialog window.
|
|
Ok button.
|
|
Back button.
|
|
Message in the prompt window.
|
|
Ok button.
|
|
Message in the prompt window.
|
|
saved, including the history of the last ´x´ loaded/saved filenames |
|
Combobox, containing all active drives.
|
|
Cancel button.
|
|
Combobox, that contains the filter elements (extensions).
|
|
Prompt window, displayed in case file to load doesn't exists.
|
|
Prompt window, displayed in case file to save already exists.
|
|
|
|
of the current path Listbox, that represents the files and (sub)directories |
|
Ok button.
|