Base class for components that live inside a file chooser dialog box and show previews of the files that get selected. More...
Inherits Component.
Inherited by ImagePreviewComponent.
Public Member Functions | |
| FilePreviewComponent () | |
| Creates a FilePreviewComponent. | |
| ~FilePreviewComponent () | |
| Destructor. | |
| virtual void | selectedFileChanged (const File &newSelectedFile)=0 |
| Called to indicate that the user's currently selected file has changed. | |
Base class for components that live inside a file chooser dialog box and show previews of the files that get selected.
One of these allows special extra information to be displayed for files in a dialog box as the user selects them. Each time the current file or directory is changed, the selectedFileChanged() method will be called to allow it to update itself appropriately.
| FilePreviewComponent::FilePreviewComponent | ( | ) |
Creates a FilePreviewComponent.
| FilePreviewComponent::~FilePreviewComponent | ( | ) |
Destructor.
| virtual void FilePreviewComponent::selectedFileChanged | ( | const File & | newSelectedFile ) | [pure virtual] |
Called to indicate that the user's currently selected file has changed.
| newSelectedFile | the newly selected file or directory, which may be File::nonexistent if none is selected. |
Implemented in ImagePreviewComponent.