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

GUI/Widgets/vtkKWUserInterfacePanel.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWUserInterfacePanel.h,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00043 #ifndef __vtkKWUserInterfacePanel_h
00044 #define __vtkKWUserInterfacePanel_h
00045 
00046 #include "vtkKWObject.h"
00047 
00048 class vtkKWApplication;
00049 class vtkKWIcon;
00050 class vtkKWUserInterfaceManager;
00051 class vtkKWWidget;
00052 
00053 class KWWIDGETS_EXPORT vtkKWUserInterfacePanel : public vtkKWObject
00054 {
00055 public:
00056   static vtkKWUserInterfacePanel* New();
00057   vtkTypeRevisionMacro(vtkKWUserInterfacePanel,vtkKWObject);
00058   void PrintSelf(ostream& os, vtkIndent indent);
00059 
00061 
00067   virtual void SetUserInterfaceManager(vtkKWUserInterfaceManager*);
00068   vtkGetObjectMacro(UserInterfaceManager, vtkKWUserInterfaceManager);
00070 
00072 
00073   vtkGetStringMacro(Name);
00074   vtkSetStringMacro(Name);
00076 
00078 
00084   virtual void Create(vtkKWApplication *app);
00085   virtual int IsCreated();
00087 
00089 
00091   virtual void SetEnabled(int);
00092   vtkBooleanMacro(Enabled, int);
00093   vtkGetMacro(Enabled, int);
00095 
00097 
00102   virtual int AddPage(const char *title, 
00103                       const char *balloon = 0, 
00104                       vtkKWIcon *icon = 0);
00106 
00108 
00112   virtual vtkKWWidget *GetPageWidget(int id);
00113   virtual vtkKWWidget *GetPageWidget(const char *title);
00115 
00119   virtual vtkKWWidget *GetPagesParentWidget();
00120 
00122 
00127   virtual void RaisePage(int id);
00128   virtual void RaisePage(const char *title);
00130 
00132 
00140   virtual int Show();
00141   virtual int Raise();
00142   virtual int IsVisible();
00144 
00146   virtual void Update();
00147 
00154   virtual void UpdateEnableState() {};
00155 
00156 protected:
00157   vtkKWUserInterfacePanel();
00158   ~vtkKWUserInterfacePanel();
00159 
00160   vtkKWUserInterfaceManager *UserInterfaceManager;
00161 
00162   char *Name;
00163 
00164 private:
00165 
00166   int Enabled;
00167 
00168   vtkKWUserInterfacePanel(const vtkKWUserInterfacePanel&); // Not implemented
00169   void operator=(const vtkKWUserInterfacePanel&); // Not Implemented
00170 };
00171 
00172 #endif
00173 

Generated on Tue May 30 12:31:44 2006 for ParaView by doxygen 1.3.5