1 #ifndef XGUI_Constants_H
2 #define XGUI_Constants_H
5 #include <ModelAPI_Feature.h>
7 //! This file contains various constants used in the application
10 typedef QList<int> QIntList; //!< list of int values
11 typedef QList<short> QShortList; //!< list of short int values
12 typedef QList<double> QDoubleList; //!< list of double values
13 typedef QList<FeaturePtr> QFeatureList; //!< List of features
18 //! Types of gradient type used in background of Viewer 3d
30 LastGradient = Corner4Gradient
33 //! Type of rotation point in viewer 3d
34 enum RotationPointType
39 //! Type of ribbon rect in Viewer 3d
42 NoSketching, Rect, Polygon
46 //! View window operations accessible by hot keys
49 PAN, ZOOM, ROTATE, FIT_AREA
52 //! Types of view window interactions
58 //! Types of 2d mode in viewer 3d
61 No2dMode, XYPlane, XZPlane, YZPlane
64 //! Types of background in view window
67 NoBackground, // no (invalid) background data
68 ColorBackground, // single color
69 SimpleGradientBackground, // simple two-color gradient
70 CustomGradientBackground // custom (complex) gradient
76 CenterTexture, // center texture
77 TileTexture, // tile texture
78 StretchTexture, // stretch texture
81 const static char* PROP_PANEL = "property_panel_dock";
82 const static char* PROP_PANEL_OK = "property_panel_ok";
83 const static char* PROP_PANEL_CANCEL = "property_panel_cancel";