#include <FileDialog.h>
Inheritance diagram for VDKFileDialog:
On return selections will be an empty array if user presses "cancel" button.#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)$"
|
Placeholder for subclasses. User should override this returning a false (don't close) or true (close) value. Reimplemented from VDKForm. |
|
Must be overridden by subclasses, in this method user fills form with useful widgets Implements VDKForm. |
|
Sets/gets file filter |