Sketcher: Constraint widget adapted to Block constraint
This commit is contained in:
@@ -128,6 +128,7 @@ public:
|
||||
case Sketcher::Tangent:
|
||||
case Sketcher::Equal:
|
||||
case Sketcher::Symmetric:
|
||||
case Sketcher::Blocked:
|
||||
break;
|
||||
case Sketcher::Distance:
|
||||
case Sketcher::DistanceX:
|
||||
@@ -161,6 +162,7 @@ public:
|
||||
static QIcon horiz( Gui::BitmapFactory().pixmap("Constraint_Horizontal") );
|
||||
static QIcon vert ( Gui::BitmapFactory().pixmap("Constraint_Vertical") );
|
||||
static QIcon lock ( Gui::BitmapFactory().pixmap("Sketcher_ConstrainLock") );
|
||||
static QIcon block ( Gui::BitmapFactory().pixmap("Sketcher_ConstrainBlocked") );
|
||||
static QIcon coinc( Gui::BitmapFactory().pixmap("Constraint_PointOnPoint") );
|
||||
static QIcon para ( Gui::BitmapFactory().pixmap("Constraint_Parallel") );
|
||||
static QIcon perp ( Gui::BitmapFactory().pixmap("Constraint_Perpendicular") );
|
||||
@@ -195,6 +197,8 @@ public:
|
||||
return vert;
|
||||
case Sketcher::Coincident:
|
||||
return coinc;
|
||||
case Sketcher::Blocked:
|
||||
return block;
|
||||
case Sketcher::PointOnObject:
|
||||
return pntoo;
|
||||
case Sketcher::Parallel:
|
||||
@@ -268,6 +272,7 @@ public:
|
||||
case Sketcher::Horizontal:
|
||||
case Sketcher::Vertical:
|
||||
case Sketcher::Coincident:
|
||||
case Sketcher::Blocked:
|
||||
case Sketcher::PointOnObject:
|
||||
case Sketcher::Parallel:
|
||||
case Sketcher::Perpendicular:
|
||||
@@ -766,6 +771,7 @@ void TaskSketcherConstrains::slotConstraintsChanged(void)
|
||||
case Sketcher::Tangent:
|
||||
case Sketcher::Equal:
|
||||
case Sketcher::Symmetric:
|
||||
case Sketcher::Blocked:
|
||||
visible = showNormal || showNamed;
|
||||
break;
|
||||
case Sketcher::Distance:
|
||||
|
||||
Reference in New Issue
Block a user