KWWidgets
Examples/Cxx/WizardDialog/vtkKWMyResultStep.h
Go to the documentation of this file.
00001 #ifndef __vtkKWMyResultStep_h
00002 #define __vtkKWMyResultStep_h
00003 
00004 #include "vtkKWWizardStep.h"
00005 
00006 class vtkKWMyWizardDialog;
00007 class vtkKWLabel;
00008 
00009 class vtkKWMyResultStep : public vtkKWWizardStep
00010 {
00011 public:
00012   static vtkKWMyResultStep* New();
00013   vtkTypeRevisionMacro(vtkKWMyResultStep,vtkKWWizardStep);
00014 
00015   // Description:
00016   // Show/hide the UI, check if this finish step is reachable.
00017   virtual void ShowUserInterface();
00018   virtual void HideUserInterface();
00019   virtual int CanGoToSelf();
00020 
00021   // Description:
00022   // Set/Get the wizard widget this step should install its UI in.
00023   vtkGetObjectMacro(WizardDialog, vtkKWMyWizardDialog);
00024   virtual void SetWizardDialog(vtkKWMyWizardDialog*);
00025 
00026 protected:
00027   vtkKWMyResultStep();
00028   ~vtkKWMyResultStep();
00029 
00030   vtkKWLabel *ResultLabel;
00031   vtkKWMyWizardDialog *WizardDialog;
00032 
00033 private:
00034   vtkKWMyResultStep(const vtkKWMyResultStep&);   // Not implemented.
00035   void operator=(const vtkKWMyResultStep&);  // Not implemented.
00036 };
00037 
00038 #endif