Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkKWDialog Class Reference

dialog box superclass More...

#include <vtkKWDialog.h>

Inheritance diagram for vtkKWDialog:

Inheritance graph
[legend]
Collaboration diagram for vtkKWDialog:

Collaboration graph
[legend]
List of all members.

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 ()
vtkKWWidgetGetFrame ()
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

vtkKWDialogNew ()

Protected Member Functions

 vtkKWDialog ()
 ~vtkKWDialog ()

Protected Attributes

int Done
int Beep
int BeepType

Detailed Description

dialog box superclass

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.


Constructor & Destructor Documentation

vtkKWDialog::vtkKWDialog  )  [protected]
 

vtkKWDialog::~vtkKWDialog  )  [inline, protected]
 

Definition at line 87 of file vtkKWDialog.h.


Member Function Documentation

vtkKWDialog* vtkKWDialog::New  )  [static]
 

Reimplemented from vtkKWTopLevel.

Reimplemented in vtkKWLoadSaveDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkPVComparativeVisDialog, vtkPVComparativeVisProgressDialog, vtkPVConnectDialog, vtkPVGhostLevelDialog, vtkPVSaveBatchScriptDialog, vtkPVSelectCustomReader, vtkPVServerFileDialog, and vtkPVTraceFileDialog.

vtkKWDialog::vtkTypeRevisionMacro vtkKWDialog  ,
vtkKWTopLevel 
 

void vtkKWDialog::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWTopLevel.

Reimplemented in vtkKWLoadSaveDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkPVComparativeVisDialog, vtkPVComparativeVisProgressDialog, vtkPVConnectDialog, vtkPVGhostLevelDialog, vtkPVSaveBatchScriptDialog, vtkPVSelectCustomReader, vtkPVServerFileDialog, and vtkPVTraceFileDialog.

virtual void vtkKWDialog::Create vtkKWApplication app  )  [virtual]
 

Create the widget.

Reimplemented from vtkKWTopLevel.

Reimplemented in vtkKWLoadSaveDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkPVComparativeVisDialog, vtkPVComparativeVisProgressDialog, vtkPVConnectDialog, vtkPVGhostLevelDialog, vtkPVSaveBatchScriptDialog, vtkPVServerFileDialog, and vtkPVTraceFileDialog.

virtual int vtkKWDialog::Invoke  )  [virtual]
 

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.

virtual void vtkKWDialog::Display  )  [virtual]
 

Display the dialog. Note that a dialog is a modal toplevel by default.

Reimplemented from vtkKWTopLevel.

virtual void vtkKWDialog::Cancel  )  [virtual]
 

Cancel the action and close this dialog

virtual void vtkKWDialog::OK  )  [virtual]
 

Confirm the action and close this dialog

Reimplemented in vtkPVConnectDialog, and vtkPVServerFileDialog.

int vtkKWDialog::GetStatus  )  [inline]
 

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.

vtkKWWidget* vtkKWDialog::GetFrame  )  [inline]
 

Return frame to pack into.

Definition at line 58 of file vtkKWDialog.h.

virtual void vtkKWDialog::SetBeep int   )  [virtual]
 

Play beep when the dialog is displayed

virtual void vtkKWDialog::BeepOn  )  [virtual]
 

Play beep when the dialog is displayed

virtual void vtkKWDialog::BeepOff  )  [virtual]
 

Play beep when the dialog is displayed

virtual int vtkKWDialog::GetBeep  )  [virtual]
 

Play beep when the dialog is displayed

virtual void vtkKWDialog::SetBeepType int   )  [virtual]
 

Sets the beep type

virtual int vtkKWDialog::GetBeepType  )  [virtual]
 

Sets the beep type

virtual int vtkKWDialog::PreInvoke  )  [virtual]
 

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.

virtual void vtkKWDialog::PostInvoke  )  [virtual]
 

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.

virtual int vtkKWDialog::IsUserDoneWithDialog  )  [virtual]
 

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().


Member Data Documentation

int vtkKWDialog::Done [protected]
 

Reimplemented in vtkKWLoadSaveDialog.

Definition at line 89 of file vtkKWDialog.h.

int vtkKWDialog::Beep [protected]
 

Reimplemented in vtkKWMessageDialog.

Definition at line 90 of file vtkKWDialog.h.

int vtkKWDialog::BeepType [protected]
 

Definition at line 91 of file vtkKWDialog.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:37:35 2006 for ParaView by doxygen 1.3.5