#include <vtkKWLoadSaveDialog.h>
Inheritance diagram for vtkKWLoadSaveDialog:


Public Member Functions | |
| vtkTypeRevisionMacro (vtkKWLoadSaveDialog, vtkKWDialog) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | Create (vtkKWApplication *app) |
| virtual int | Invoke () |
| const char * | GenerateLastPath (const char *path) |
| virtual void | SetFileTypes (const char *) |
| virtual char * | GetFileTypes () |
| virtual char * | GetFileName () |
| virtual void | SetFileName (const char *) |
| virtual void | SetDefaultExtension (const char *) |
| virtual char * | GetDefaultExtension () |
| virtual void | SetInitialFileName (const char *) |
| virtual char * | GetInitialFileName () |
| virtual void | SetSaveDialog (int) |
| virtual void | SaveDialogOn () |
| virtual void | SaveDialogOff () |
| virtual int | GetSaveDialog () |
| virtual void | SetChooseDirectory (int) |
| virtual void | ChooseDirectoryOn () |
| virtual void | ChooseDirectoryOff () |
| virtual int | GetChooseDirectory () |
| virtual char * | GetLastPath () |
| virtual void | SetLastPath (const char *) |
Static Public Member Functions | |
| vtkKWLoadSaveDialog * | New () |
Protected Member Functions | |
| vtkKWLoadSaveDialog () | |
| ~vtkKWLoadSaveDialog () | |
Protected Attributes | |
| char * | FileTypes |
| char * | InitialFileName |
| char * | FileName |
| char * | DefaultExtension |
| char * | LastPath |
| int | SaveDialog |
| int | ChooseDirectory |
| int | Done |
A dialog for loading or saving files. The file is returned through GetFile method.
Definition at line 28 of file vtkKWLoadSaveDialog.h.
|
|
|
|
|
|
|
|
Reimplemented from vtkKWDialog. Reimplemented in vtkKWSaveImageDialog, and vtkPVServerFileDialog. |
|
||||||||||||
|
|
|
||||||||||||
|
Reimplemented from vtkKWDialog. Reimplemented in vtkKWSaveImageDialog, and vtkPVServerFileDialog. |
|
|
Create the widget. Reimplemented from vtkKWDialog. Reimplemented in vtkKWSaveImageDialog, and vtkPVServerFileDialog. |
|
|
Invoke the dialog, display it and enter an event loop until the user confirm (OK) or cancel the dialog. Note that a dialog is a modal toplevel by default. Important: this implementation does not actually create any UI but use a native file browser instantiated and deleted in Invoke(). If you implement your own UI to create a file dialog in a subclass, reimplement your own Invoke() and do not call this class's Invoke(), call vtkKWDialog::Invoke() instead. This method returns a zero if the dialog was killed or canceled, nonzero otherwise. Reimplemented from vtkKWDialog. Reimplemented in vtkKWSaveImageDialog, and vtkPVServerFileDialog. |
|
|
Set/Get the file types the dialog will open or save Should be in TK format. Default is: "{{Text Document} {.txt}}" |
|
|
Set/Get the file types the dialog will open or save Should be in TK format. Default is: "{{Text Document} {.txt}}" |
|
|
Set/Get the file path that the user selected |
|
|
Set/Get the file path that the user selected |
|
|
Set/Get default extension. |
|
|
Set/Get default extension. |
|
|
Set /Geta filename to be displayed in the dialog when it pops up |
|
|
Set /Geta filename to be displayed in the dialog when it pops up |
|
|
If set, the dialog will be a save file dialog, otherwise a load dialog |
|
|
If set, the dialog will be a save file dialog, otherwise a load dialog |
|
|
If set, the dialog will be a save file dialog, otherwise a load dialog |
|
|
If set, the dialog will be a save file dialog, otherwise a load dialog |
|
|
Set/Get the ChooseDirectory ivar. If set to 1, the dialog will ask the user for a directory, not a file If set to 0, the usual file dialog is displayed (default) |
|
|
Set/Get the ChooseDirectory ivar. If set to 1, the dialog will ask the user for a directory, not a file If set to 0, the usual file dialog is displayed (default) |
|
|
Set/Get the ChooseDirectory ivar. If set to 1, the dialog will ask the user for a directory, not a file If set to 0, the usual file dialog is displayed (default) |
|
|
Set/Get the ChooseDirectory ivar. If set to 1, the dialog will ask the user for a directory, not a file If set to 0, the usual file dialog is displayed (default) |
|
|
Set/Get last path |
|
|
Set/Get last path |
|
|
Figure out last path out of the file name. |
|
|
Definition at line 104 of file vtkKWLoadSaveDialog.h. |
|
|
Definition at line 105 of file vtkKWLoadSaveDialog.h. |
|
|
Definition at line 106 of file vtkKWLoadSaveDialog.h. |
|
|
Definition at line 107 of file vtkKWLoadSaveDialog.h. |
|
|
Definition at line 108 of file vtkKWLoadSaveDialog.h. |
|
|
Definition at line 109 of file vtkKWLoadSaveDialog.h. |
|
|
Definition at line 110 of file vtkKWLoadSaveDialog.h. |
|
|
Reimplemented from vtkKWDialog. Definition at line 111 of file vtkKWLoadSaveDialog.h. |
1.3.5