vdk 2.4.0
|
Provides a file selection modal window that supports multiple file selection. More...
#include <FileDialog.h>
Provides a file selection modal window that supports multiple file selection.
#include <vdk/FileDialog.h> FileStringArray selections; VDKFileDialog *child = new VDKFileDialog( Application()->MainForm, &selections, "File Open dialog"); child->Filter = "*.cc"; child->ShowModal(); for( int t = 0; t < selections.size(); t++) { printf("\nselection:%s",(char*) selections[t]); fflush(stdout); }
child->Filter = "*\.(cc|h)$"
bool VDKFileDialog::CanClose | ( | void | ) | [virtual] |
Placeholder for subclasses. User should override this returning a false (don't close) or true (close) value.
Reimplemented from VDKForm.
virtual void VDKFileDialog::Setup | ( | void | ) | [inline, virtual] |
Must be overridden by subclasses, in this method user fills form with useful widgets
Implements VDKForm.
VDKReadWriteValueProp<VDKFileDialog,VDKString> VDKFileDialog::Filter |
Sets/gets file filter