KWWidgets
vtkKWEvent.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Module: $RCSfile: vtkKWEvent.h,v $
4 
5  Copyright (c) Kitware, Inc.
6  All rights reserved.
7  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 // .NAME vtkKWEvent - Event enumeration.
15 
16 #ifndef __vtkKWEvent_h
17 #define __vtkKWEvent_h
18 
19 #include "vtkKWWidgets.h" // Needed for export symbols directives
20 
22 {
23 public:
24 
25  static const char* GetStringFromEventId(unsigned long event);
26  static unsigned long GetEventIdFromString(const char* event);
27 
28  enum
29  {
30  KWWidgetEvents = 2000,
31  MessageDialogInvokeEvent,
32  FocusInEvent,
33  FocusOutEvent,
34  // VV
35  AngleVisibilityChangedEvent,
36  AnnotationColorChangedEvent,
37  ApplicationAreaChangedEvent,
38  BackgroundColorChangedEvent,
39  ContourAnnotationActiveChangedEvent,
40  ContourAnnotationAddAtPositionEvent,
41  ContourAnnotationAddEvent,
42  ContourAnnotationColorByScalarsChangedEvent,
43  ContourAnnotationColorChangedEvent,
44  ContourAnnotationComputeStatisticsEvent,
45  ContourAnnotationLineWidthChangedEvent,
46  ContourAnnotationOpacityChangedEvent,
47  ContourAnnotationRemoveAllEvent,
48  ContourAnnotationRemoveEvent,
49  ContourAnnotationSurfacePropertyChangedEvent,
50  ContourAnnotationSurfaceQualityChangedEvent,
51  ContourAnnotationSurfaceRepresentationChangedEvent,
52  ContourAnnotationVisibilityChangedEvent,
53  ControlLeftMouseOptionChangedEvent,
54  ControlMiddleMouseOptionChangedEvent,
55  ControlRightMouseOptionChangedEvent,
56  CroppingPlanesPositionChangedEvent,
57  CroppingRegionFlagsChangedEvent,
58  CroppingRegionsVisibilityChangedEvent,
59  Cursor3DInteractiveStateChangedEvent,
60  Cursor3DPositionChangedEvent,
61  Cursor3DPositionChangingEvent,
62  Cursor3DTypeChangedEvent,
63  Cursor3DVisibilityChangedEvent,
64  Cursor3DXColorChangedEvent,
65  Cursor3DYColorChangedEvent,
66  Cursor3DZColorChangedEvent,
67  DataFileNameChangedEvent,
68  DistanceVisibilityChangedEvent,
69  EnableShadingEvent,
70  GradientOpacityFunctionChangedEvent,
71  GradientOpacityFunctionPresetApplyEvent,
72  GradientOpacityStateChangedEvent,
73  HistogramChangedEvent,
74  ImageAngleVisibilityChangedEvent,
75  ImageBackgroundColorChangedEvent,
76  ImageCameraFocalPointAndPositionChangedEvent,
77  ImageCameraResetEvent,
78  ImageColorMappingEvent,
79  ImageCornerAnnotationChangedEvent,
80  ImageDistanceVisibilityChangedEvent,
81  ImageHeaderAnnotationChangedEvent,
82  ImageInterpolateEvent,
83  ImageMouseBindingChangedEvent,
84  ImageScaleBarColorChangedEvent,
85  ImageScaleBarVisibilityChangedEvent,
86  BeginImageSliceChangeEvent,
87  ImageSliceChangedEvent,
88  ImageZoomFactorChangedEvent,
89  InteractionModeChangedEvent,
90  InteractiveRenderStartEvent,
91  LeftMouseOptionChangedEvent,
92  LightActiveChangedEvent,
93  LightColorChangedEvent,
94  LightIntensityChangedEvent,
95  LightPositionChangedEvent,
96  LightVisibilityChangedEvent,
97  LightboxOrientationChangedEvent,
98  LightboxResolutionChangedEvent,
99  Marker2DColorChangedEvent,
100  Marker2DPositionChangedEvent,
101  Marker2DVisibilityChangedEvent,
102  Marker3DAddMarkerEvent,
103  Marker3DAddMarkerInGroupEvent,
104  Marker3DAddMarkersGroupEvent,
105  Marker3DColorChangedEvent,
106  Marker3DPositionChangedEvent,
107  Marker3DRemoveAllMarkerGroupsEvent,
108  Marker3DRemoveAllMarkersEvent,
109  Marker3DRemoveSelectedMarkerEvent,
110  Marker3DRemoveSelectedMarkerGroupEvent,
111  Marker3DSelectMarkerGroupEvent,
112  Marker3DVisibilityChangedEvent,
113  MaterialPropertyChangedEvent,
114  MaterialPropertyChangingEvent,
115  MiddleMouseOptionChangedEvent,
116  MouseBindingChangedEvent,
117  MouseOperationsChangedEvent,
118  NotebookHidePageEvent,
119  NotebookPinPageEvent,
120  NotebookRaisePageEvent,
121  NotebookShowPageEvent,
122  NotebookUnpinPageEvent,
123  ObjectActionEvent,
124  ObjectNameChangedEvent,
125  ObjectSetChangedEvent,
126  ObjectStateChangedEvent,
127  ObliqueProbeColorChangedEvent,
128  ObliqueProbeMovementEvent,
129  ObliqueProbeResetEvent,
130  ObliqueProbeScalarsVisibilityChangedEvent,
131  ObliqueProbeVisibilityChangedEvent,
132  PerspectiveViewAngleChangedEvent,
133  PluginFilterApplyEvent,
134  PluginFilterApplyPrepareEvent,
135  PluginFilterCancelEvent,
136  PluginFilterListAddedEvent,
137  PluginFilterListEvent,
138  PluginFilterListRemovedEvent,
139  PluginFilterRedoEvent,
140  PluginFilterRemoveMeshEvent,
141  PluginFilterSelectEvent,
142  PluginFilterUndoEvent,
143  ProbeImageRollPlaneEvent,
144  ProbeImageTiltPlaneEvent,
145  ProbeImageTranslatePlaneEvent,
146  ProbeInformationChangedEvent,
147  ProbeInformationOffEvent,
148  ProjectionTypeChangedEvent,
149  ReceiveRemoteSessionEvent,
150  RenderEvent,
151  RenderWidgetInSelectionFrameChangedEvent,
152  ResliceChangedEvent,
153  ResliceChangingEvent,
154  RightMouseOptionChangedEvent,
155  ScalarColorFunctionChangedEvent,
156  ScalarColorFunctionPresetApplyEvent,
157  ScalarComponentChangedEvent,
158  ScalarComponentWeightChangedEvent,
159  ScalarComponentWeightChangingEvent,
160  ScalarOpacityFunctionChangedEvent,
161  ScalarOpacityFunctionPresetApplyEvent,
162  ScaleBarVisibilityChangedEvent,
163  SelectionChangedEvent,
164  ShiftLeftMouseOptionChangedEvent,
165  ShiftMiddleMouseOptionChangedEvent,
166  ShiftRightMouseOptionChangedEvent,
167  StandardInteractivityChangedEvent,
168  SurfacePropertyChangedEvent,
169  SurfacePropertyChangingEvent,
170  SwitchToVolumeProEvent,
171  TimeChangedEvent,
172  TransferFunctionsChangedEvent,
173  TransferFunctionsChangingEvent,
174  UserInterfaceVisibilityChangedEvent,
175  ViewAnnotationChangedEvent,
176  ViewTextLabelChangedEvent,
177  ViewSelectedEvent,
178  VolumeBackgroundColorChangedEvent,
179  VolumeBlendModeChangedEvent,
180  VolumeBoundingBoxColorChangedEvent,
181  VolumeBoundingBoxVisibilityChangedEvent,
182  VolumeCameraResetEvent,
183  VolumeCornerAnnotationChangedEvent,
184  VolumeDistanceVisibilityChangedEvent,
185  VolumeFlySpeedChangedEvent,
186  VolumeHeaderAnnotationChangedEvent,
187  VolumeMapperRenderEndEvent,
188  VolumeMapperRenderStartEvent,
189  VolumeMaterialPropertyChangedEvent,
190  VolumeMaterialPropertyChangingEvent,
191  VolumeMouseBindingChangedEvent,
192  VolumeOrientationMarkerColorChangedEvent,
193  VolumeOrientationMarkerVisibilityChangedEvent,
194  VolumePropertyChangedEvent,
195  VolumePropertyChangingEvent,
196  VolumeReformatBoxVisibilityChangedEvent,
197  VolumeReformatChangedEvent,
198  VolumeReformatManipulationStyleChangedEvent,
199  VolumeReformatPlaneChangedEvent,
200  VolumeReformatThicknessChangedEvent,
201  VolumeScalarBarComponentChangedEvent,
202  VolumeScalarBarWidgetChangedEvent,
203  VolumeScaleBarColorChangedEvent,
204  VolumeScaleBarVisibilityChangedEvent,
205  VolumeStandardCameraViewEvent,
206  VolumeZSamplingChangedEvent,
207  WindowInterfaceChangedEvent,
208  WindowLayoutChangedEvent,
209  WindowLevelChangedEvent,
210  WindowLevelChangingEndEvent,
211  WindowLevelChangingEvent,
212  WindowLevelResetEvent,
213  // PV
214  ErrorMessageEvent,
215  InitializeTraceEvent,
216  ManipulatorModifiedEvent,
217  WarningMessageEvent,
218  InformationMessageEvent,
219  DebugMessageEvent,
220  SourceDeletedEvent,
221  //
222  FinalBogusNotUsedEvent
223  };
224 };
225 
226 #endif