1 #ifndef XGUI_Constants_H
2 #define XGUI_Constants_H
6 //! This file contains varioous constants used in the application
9 typedef QList<int> QIntList; //!< list of int values
10 typedef QList<short> QShortList; //!< list of short int values
11 typedef QList<double> QDoubleList; //!< list of double values
16 //! Types of gradient type used in background of Viewer 3d
28 LastGradient = Corner4Gradient
31 //! Type of rotation point in viewer 3d
32 enum RotationPointType
37 //! Type of ribbon rect in Viewer 3d
40 NoSketching, Rect, Polygon
44 //! View window operations accessible by hot keys
47 PAN, ZOOM, ROTATE, FIT_AREA
50 //! Types of view window interactions
56 //! Types of 2d mode in viewer 3d
59 No2dMode, XYPlane, XZPlane, YZPlane
62 //! Types of background in view window
65 NoBackground, // no (invalid) background data
66 ColorBackground, // single color
67 SimpleGradientBackground, // simple two-color gradient
68 CustomGradientBackground // custom (complex) gradient
74 CenterTexture, // center texture
75 TileTexture, // tile texture
76 StretchTexture, // stretch texture
79 const static char* PROP_PANEL = "property_panel_dock";
80 const static char* PROP_PANEL_OK = "property_panel_ok";
81 const static char* PROP_PANEL_CANCEL = "property_panel_cancel";
82 const static char* PROP_PANEL_WDG = "property_panel_widget";