00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __vtkKWOptions_h
00020 #define __vtkKWOptions_h
00021
00022 #include "vtkObject.h"
00023 #include "vtkKWWidgets.h"
00024
00025 class KWWidgets_EXPORT vtkKWOptions : public vtkObject
00026 {
00027 public:
00028 static vtkKWOptions* New();
00029 vtkTypeRevisionMacro(vtkKWOptions,vtkObject);
00030 void PrintSelf(ostream& os, vtkIndent indent);
00031
00032
00033
00034
00035
00036 enum AnchorType
00037 {
00038 AnchorNorth = 0,
00039 AnchorNorthEast,
00040 AnchorEast,
00041 AnchorSouthEast,
00042 AnchorSouth,
00043 AnchorSouthWest,
00044 AnchorWest,
00045 AnchorNorthWest,
00046 AnchorCenter,
00047 AnchorUnknown
00048 };
00049
00050
00051
00052
00053
00054
00055 enum ReliefType
00056 {
00057 ReliefRaised = 0,
00058 ReliefSunken,
00059 ReliefFlat,
00060 ReliefRidge,
00061 ReliefSolid,
00062 ReliefGroove,
00063 ReliefUnknown
00064 };
00065
00066
00067
00068
00069
00070
00071 enum JustificationType
00072 {
00073 JustificationLeft = 0,
00074 JustificationCenter,
00075 JustificationRight,
00076 JustificationUnknown
00077 };
00078
00079
00080
00081
00082
00083 enum SelectionModeType
00084 {
00085 SelectionModeSingle = 0,
00086 SelectionModeBrowse,
00087 SelectionModeMultiple,
00088 SelectionModeExtended,
00089 SelectionModeUnknown
00090 };
00091
00092
00093
00094
00095
00096
00097
00098 enum OrientationType
00099 {
00100 OrientationHorizontal = 0,
00101 OrientationVertical,
00102 OrientationUnknown
00103 };
00104
00105
00106
00107
00108
00109 enum StateType
00110 {
00111 StateDisabled = 0,
00112 StateNormal = 1,
00113 StateActive = 2,
00114 StateReadOnly = 3,
00115 StateUnknown
00116 };
00117
00118
00119
00120
00121
00122
00123
00124 enum CompoundModeType
00125 {
00126 CompoundModeNone = 0,
00127 CompoundModeLeft,
00128 CompoundModeCenter,
00129 CompoundModeRight,
00130 CompoundModeTop,
00131 CompoundModeBottom,
00132 CompoundModeUnknown
00133 };
00134
00135
00136
00137
00138
00139 static const char* GetCharacterEncodingAsTclOptionValue(int);
00140
00141
00142
00143 static const char* GetAnchorAsTkOptionValue(int);
00144 static int GetAnchorFromTkOptionValue(const char *);
00145
00146
00147
00148 static const char* GetReliefAsTkOptionValue(int);
00149 static int GetReliefFromTkOptionValue(const char *);
00150
00151
00152
00153 static const char* GetJustificationAsTkOptionValue(int);
00154 static int GetJustificationFromTkOptionValue(const char *);
00155
00156
00157
00158 static const char* GetSelectionModeAsTkOptionValue(int);
00159 static int GetSelectionModeFromTkOptionValue(const char *);
00160
00161
00162
00163 static const char* GetOrientationAsTkOptionValue(int);
00164 static int GetOrientationFromTkOptionValue(const char *);
00165
00166
00167
00168 static const char* GetStateAsTkOptionValue(int);
00169 static int GetStateFromTkOptionValue(const char *);
00170
00171
00172
00173 static const char* GetCompoundModeAsTkOptionValue(int);
00174 static int GetCompoundModeFromTkOptionValue(const char *);
00175
00176 protected:
00177 vtkKWOptions() {};
00178 ~vtkKWOptions() {};
00179
00180 private:
00181
00182 vtkKWOptions(const vtkKWOptions&);
00183 void operator=(const vtkKWOptions&);
00184 };
00185
00186 #endif