Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Constants.h
diff --git
a/src/XGUI/XGUI_Constants.h
b/src/XGUI/XGUI_Constants.h
index 17f0e2dd17996c10cedcd9c577996f92ff7ad528..6058ba3b44cc76a8e9be4f3c1afde0eeb7a38934 100644
(file)
--- a/
src/XGUI/XGUI_Constants.h
+++ b/
src/XGUI/XGUI_Constants.h
@@
-1,15
+1,10
@@
#ifndef XGUI_Constants_H
#define XGUI_Constants_H
#ifndef XGUI_Constants_H
#define XGUI_Constants_H
-#include <QList>
-
-typedef QList<int> QIntList; //!< list of int values
-typedef QList<short> QShortList; //!< list of short int values
-typedef QList<double> QDoubleList; //!< list of double values
-
namespace XGUI
{
namespace XGUI
{
+//! Types of gradient type used in background of Viewer 3d
enum GradientType
{
NoGradient = -1,
enum GradientType
{
NoGradient = -1,
@@
-24,31
+19,38
@@
enum GradientType
LastGradient = Corner4Gradient
};
LastGradient = Corner4Gradient
};
+//! Type of rotation point in viewer 3d
enum RotationPointType
{
GRAVITY, SELECTED
};
enum RotationPointType
{
GRAVITY, SELECTED
};
+//! Type of ribbon rect in Viewer 3d
enum SketchingType
{
NoSketching, Rect, Polygon
};
enum SketchingType
{
NoSketching, Rect, Polygon
};
+
+//! View window operations accessible by hot keys
enum HotOperation
{
PAN, ZOOM, ROTATE, FIT_AREA
};
enum HotOperation
{
PAN, ZOOM, ROTATE, FIT_AREA
};
+//! Types of view window interactions
enum InteractionStyle
{
STANDARD, KEY_FREE
};
enum InteractionStyle
{
STANDARD, KEY_FREE
};
+//! Types of 2d mode in viewer 3d
enum Mode2dType
{
No2dMode, XYPlane, XZPlane, YZPlane
};
enum Mode2dType
{
No2dMode, XYPlane, XZPlane, YZPlane
};
+//! Types of background in view window
enum BackgroundMode
{
NoBackground, // no (invalid) background data
enum BackgroundMode
{
NoBackground, // no (invalid) background data
@@
-68,7
+70,6
@@
enum TextureMode
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 = "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";
};
};