00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __vtkKWSeparator_h
00022 #define __vtkKWSeparator_h
00023
00024 #include "vtkKWFrame.h"
00025
00026 class KWWidgets_EXPORT vtkKWSeparator : public vtkKWFrame
00027 {
00028 public:
00029 static vtkKWSeparator* New();
00030 vtkTypeRevisionMacro(vtkKWSeparator, vtkKWFrame);
00031 void PrintSelf(ostream& os, vtkIndent indent);
00032
00033
00034
00035
00036 enum
00037 {
00038 OrientationHorizontal = 0,
00039 OrientationVertical = 1
00040 };
00041
00042 virtual void SetOrientation(int);
00043 vtkGetMacro(Orientation, int);
00044 virtual void SetOrientationToHorizontal()
00045 { this->SetOrientation(vtkKWSeparator::OrientationHorizontal); };
00046 virtual void SetOrientationToVertical()
00047 { this->SetOrientation(vtkKWSeparator::OrientationVertical); };
00048
00049
00050
00051
00052
00053 virtual void SetThickness(int);
00054 vtkGetMacro(Thickness, int);
00055
00056 protected:
00057 vtkKWSeparator();
00058 ~vtkKWSeparator() {};
00059
00060
00061
00062 virtual void CreateWidget();
00063
00064 int Orientation;
00065 int Thickness;
00066
00067
00068
00069 virtual void UpdateAspect();
00070
00071 private:
00072 vtkKWSeparator(const vtkKWSeparator&);
00073 void operator=(const vtkKWSeparator&);
00074 };
00075
00076
00077 #endif
00078
00079
00080