#include <vtkKWDialog.h>
Inheritance diagram for vtkKWDialog:
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWDialog, vtkKWTopLevel) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual int | Invoke () |
virtual void | Display () |
virtual void | Cancel () |
virtual void | OK () |
int | GetStatus () |
vtkKWWidget * | GetFrame () |
virtual void | SetBeep (int) |
virtual void | BeepOn () |
virtual void | BeepOff () |
virtual int | GetBeep () |
virtual void | SetBeepType (int) |
virtual int | GetBeepType () |
virtual int | PreInvoke () |
virtual void | PostInvoke () |
virtual int | IsUserDoneWithDialog () |
Static Public Member Functions | |
vtkKWDialog * | New () |
Protected Member Functions | |
vtkKWDialog () | |
~vtkKWDialog () | |
Protected Attributes | |
int | Done |
int | Beep |
int | BeepType |
A generic superclass for dialog boxes. This is a toplevel that is modal by default, and centered in its master window (or on screen)
Definition at line 27 of file vtkKWDialog.h.
|
|
|
Definition at line 87 of file vtkKWDialog.h. |
|
|
|
|
|
Create the widget. Reimplemented from vtkKWTopLevel. Reimplemented in vtkKWLoadSaveDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkPVComparativeVisDialog, vtkPVComparativeVisProgressDialog, vtkPVConnectDialog, vtkPVGhostLevelDialog, vtkPVSaveBatchScriptDialog, vtkPVServerFileDialog, and vtkPVTraceFileDialog. |
|
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. This method returns a zero if the dialog was killed or canceled, nonzero otherwise. Reimplemented in vtkKWLoadSaveDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkPVGhostLevelDialog, and vtkPVServerFileDialog. |
|
Display the dialog. Note that a dialog is a modal toplevel by default. Reimplemented from vtkKWTopLevel. |
|
Cancel the action and close this dialog |
|
Confirm the action and close this dialog Reimplemented in vtkPVConnectDialog, and vtkPVServerFileDialog. |
|
Returns: 0 if the dialog is active e.g. displayed 1 if it was Canceled 2 if it was OK. Definition at line 55 of file vtkKWDialog.h. |
|
Return frame to pack into. Definition at line 58 of file vtkKWDialog.h. |
|
Play beep when the dialog is displayed |
|
Play beep when the dialog is displayed |
|
Play beep when the dialog is displayed |
|
Play beep when the dialog is displayed |
|
Sets the beep type |
|
Sets the beep type |
|
Dialog can be also used by performing individual steps of Invoke. These steps are initialize: PreInvoke(), finalize: PostInvoke(), and check if user responded IsUserDoneWithDialog(). Use this method only if you want to bypass the event loop used in Invoke() by creating your own and checking for IsUserDoneWithDialog(). Reimplemented in vtkKWMessageDialog. |
|
Dialog can be also used by performing individual steps of Invoke. These steps are initialize: PreInvoke(), finalize: PostInvoke(), and check if user responded IsUserDoneWithDialog(). Use this method only if you want to bypass the event loop used in Invoke() by creating your own and checking for IsUserDoneWithDialog(). Reimplemented in vtkKWMessageDialog. |
|
Dialog can be also used by performing individual steps of Invoke. These steps are initialize: PreInvoke(), finalize: PostInvoke(), and check if user responded IsUserDoneWithDialog(). Use this method only if you want to bypass the event loop used in Invoke() by creating your own and checking for IsUserDoneWithDialog(). |
|
Reimplemented in vtkKWLoadSaveDialog. Definition at line 89 of file vtkKWDialog.h. |
|
Reimplemented in vtkKWMessageDialog. Definition at line 90 of file vtkKWDialog.h. |
|
Definition at line 91 of file vtkKWDialog.h. |