2 #ifndef XGUI_Constants_H
3 #define XGUI_Constants_H
7 typedef QList<int> QIntList; //!< list of int values
8 typedef QList<short> QShortList; //!< list of short int values
9 typedef QList<double> QDoubleList; //!< list of double values
17 HorizontalGradient, VerticalGradient,
18 Diagonal1Gradient, Diagonal2Gradient,
19 Corner1Gradient, Corner2Gradient,
20 Corner3Gradient, Corner4Gradient,
21 LastGradient = Corner4Gradient
24 enum RotationPointType{ GRAVITY, SELECTED };
26 enum SketchingType { NoSketching, Rect, Polygon };
28 enum HotOperation { PAN, ZOOM, ROTATE, FIT_AREA };
30 enum InteractionStyle { STANDARD, KEY_FREE };
32 enum Mode2dType { No2dMode, XYPlane, XZPlane, YZPlane};
35 NoBackground, // no (invalid) background data
36 ColorBackground, // single color
37 SimpleGradientBackground, // simple two-color gradient
38 CustomGradientBackground // custom (complex) gradient
43 CenterTexture, // center texture
44 TileTexture, // tile texture
45 StretchTexture, // stretch texture