18 #ifndef __vtkKWMessageDialog_h
19 #define __vtkKWMessageDialog_h
35 void PrintSelf(ostream& os, vtkIndent indent);
39 virtual void SetText(
const char *);
43 virtual void SetTextWidth(
int);
44 virtual int GetTextWidth();
70 virtual void SetStyle(
int);
71 vtkGetMacro(Style,
int);
72 void SetStyleToMessage();
73 void SetStyleToYesNo();
74 void SetStyleToOkCancel();
75 void SetStyleToOkOtherCancel();
76 void SetStyleToCancel();
83 RememberYes = 0x00002,
86 WarningIcon = 0x00010,
87 QuestionIcon = 0x00020,
91 CancelDefault = 0x00200,
93 PackVertically = 0x00800,
94 InvokeAtPointer = 0x01000,
99 vtkSetMacro(Options,
int);
100 vtkGetMacro(Options,
int);
105 vtkSetStringMacro(OKButtonText);
106 vtkGetStringMacro(OKButtonText);
111 vtkSetStringMacro(CancelButtonText);
112 vtkGetStringMacro(CancelButtonText);
117 vtkSetStringMacro(OtherButtonText);
118 vtkGetStringMacro(OtherButtonText);
130 const char* message,
int options = 0);
134 const char* message,
int options = 0);
138 const char* title,
const char* message,
143 const char* message,
int options = 0);
148 vtkGetObjectMacro(MessageDialogFrame,
vtkKWFrame);
166 vtkSetStringMacro(DialogName);
167 vtkGetStringMacro(DialogName);
177 static int RestoreMessageDialogResponseFromRegistry(
179 static void SaveMessageDialogResponseToRegistry(
199 virtual void Other();
204 virtual void SetIcon();
220 vtkSetStringMacro(DialogText);
221 vtkGetStringMacro(DialogText);
240 int GetRememberMessage();
243 char* CancelButtonText;
244 char* OtherButtonText;
248 virtual void UpdateButtons();
249 virtual void PackButtons();
250 virtual void UpdateMessage();