VCF::CommonFileDialog Class Reference
Base class for open and save common dialogs. More...
#include <vcf/ApplicationKit/CommonFileDialog.h>
Inheritance diagram for VCF::CommonFileDialog:

Public Member Functions | |
| CommonFileDialog () | |
| virtual | ~CommonFileDialog () |
| virtual void | addFilter (const String &description, const String &extension) |
| Adds a filter to the File dialog. | |
| virtual void | setDirectory (const String &directory) |
| sets the default directory whose files will be displayed in the dialog. | |
| virtual void | setFileName (const String &filename) |
| sets the default filename suggested by the dialog. | |
| virtual String | getDirectory () |
| gets the directory chosen with the dialog. | |
| virtual String | getFileName () |
| gets the filename chosen with the dialog. | |
| virtual String | getFileExtension () |
| gets the filter's extension chosen with the dialog. | |
| virtual String | getSelectedFilter () |
| gets the filter selected the previous time this dialog has been openened. | |
| void | setSelectedFilter (const String &selectedFilter) |
| sets the default selected filter for the dialog The value to be set is usually the one selected the previous time the dialog has been openened. | |
| virtual void | setAllowsMultiSelect (const bool &allowsMultiSelect) |
| sets the flags allowing multiple selection of the items in the dialog. | |
| virtual void | setTitle (const String &title) |
| sets the title of the dialog. | |
Protected Attributes | |
| CommonFileDialogPeer * | peer_ |
| the pointer to the peer for the OS specific implementation of the File dialog. | |
Detailed Description
Base class for open and save common dialogs.Provides a way for you to specify the types of files to display, as well as the selected file and directory.
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
||||||||||||
|
Adds a filter to the File dialog. This is composed of the filter name or description and its associated extension(s).
|
|
|
gets the directory chosen with the dialog.
|
|
|
gets the filter's extension chosen with the dialog.
|
|
|
gets the filename chosen with the dialog. This includes the path to the directory chosen with the dialog.
|
|
|
gets the filter selected the previous time this dialog has been openened. If the filters are composed by pairs of strings ( the filter's name and the associated extension ), the given string is the first string of the selected pair. |
|
|
sets the flags allowing multiple selection of the items in the dialog.
|
|
|
sets the default directory whose files will be displayed in the dialog.
|
|
|
sets the default filename suggested by the dialog. This may include the directory set for the dialog.
|
|
|
sets the default selected filter for the dialog The value to be set is usually the one selected the previous time the dialog has been openened.
|
|
|
sets the title of the dialog.
|
Member Data Documentation
|
|
the pointer to the peer for the OS specific implementation of the File dialog.
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/CommonFileDialog.h
