X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Constants.h;h=f228e092e9daf37a54bd9bcd4d213d970a74b155;hb=d80699ac131d75798c6c39deff2c5e820aface5f;hp=53f9a4d057f72a4a712e0f01f5efc06839fa734f;hpb=e1f8fb3cfc1ee565db16fbbd9fe6f65121c4577c;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Constants.h b/src/XGUI/XGUI_Constants.h index 53f9a4d05..f228e092e 100644 --- a/src/XGUI/XGUI_Constants.h +++ b/src/XGUI/XGUI_Constants.h @@ -2,14 +2,23 @@ #define XGUI_Constants_H #include +#include + +//! This file contains various constants used in the application + typedef QList QIntList; //!< list of int values typedef QList QShortList; //!< list of short int values typedef QList QDoubleList; //!< list of double values +//! Pointer on feature object +typedef boost::shared_ptr FeaturePtr; +typedef QList QFeatureList; //!< List of features + namespace XGUI { +//! Types of gradient type used in background of Viewer 3d enum GradientType { NoGradient = -1, @@ -24,31 +33,38 @@ enum GradientType LastGradient = Corner4Gradient }; +//! Type of rotation point in viewer 3d enum RotationPointType { GRAVITY, SELECTED }; +//! Type of ribbon rect in Viewer 3d enum SketchingType { NoSketching, Rect, Polygon }; + +//! View window operations accessible by hot keys enum HotOperation { PAN, ZOOM, ROTATE, FIT_AREA }; +//! Types of view window interactions enum InteractionStyle { STANDARD, KEY_FREE }; +//! Types of 2d mode in viewer 3d enum Mode2dType { No2dMode, XYPlane, XZPlane, YZPlane }; +//! Types of background in view window enum BackgroundMode { NoBackground, // no (invalid) background data @@ -65,7 +81,11 @@ enum TextureMode StretchTexture, // stretch texture }; -} -; +const static char* PROP_PANEL = "property_panel_dock"; +const static char* PROP_PANEL_OK = "property_panel_ok"; +const static char* PROP_PANEL_CANCEL = "property_panel_cancel"; +const static char* PROP_PANEL_WDG = "property_panel_widget"; + +}; #endif