Hide Caption property where not applicable
This commit is contained in:
@@ -66,6 +66,7 @@ DrawLeaderLine::DrawLeaderLine(void)
|
||||
Scale.setStatus(App::Property::Hidden,true);
|
||||
Rotation.setStatus(App::Property::ReadOnly,true);
|
||||
Rotation.setStatus(App::Property::Hidden,true);
|
||||
Caption.setStatus(App::Property::Hidden,true);
|
||||
|
||||
//generally, lines/leaders are not meant to move around.
|
||||
LockPosition.setValue(true);
|
||||
|
||||
@@ -80,6 +80,7 @@ DrawProjGroup::DrawProjGroup(void)
|
||||
ADD_PROPERTY_TYPE(spacingX, (15), agroup, App::Prop_None, "Horizontal spacing between views");
|
||||
ADD_PROPERTY_TYPE(spacingY, (15), agroup, App::Prop_None, "Vertical spacing between views");
|
||||
Rotation.setStatus(App::Property::Hidden,true); //DPG does not rotate
|
||||
Caption.setStatus(App::Property::Hidden,true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,11 @@ DrawRichAnno::DrawRichAnno(void)
|
||||
ADD_PROPERTY_TYPE(AnnoText, (""), group, App::Prop_None, "Anno text");
|
||||
ADD_PROPERTY_TYPE(ShowFrame, (true), group, App::Prop_None, "Outline rectangle on/off");
|
||||
ADD_PROPERTY_TYPE(MaxWidth, (-1.0), group, App::Prop_None, "Width limit before auto wrap");
|
||||
Caption.setStatus(App::Property::Hidden,true);
|
||||
Scale.setStatus(App::Property::Hidden,true);
|
||||
ScaleType.setStatus(App::Property::Hidden,true);
|
||||
|
||||
|
||||
}
|
||||
|
||||
DrawRichAnno::~DrawRichAnno()
|
||||
|
||||
@@ -118,6 +118,7 @@ DrawViewDimension::DrawViewDimension(void)
|
||||
Scale.setStatus(App::Property::Hidden,true);
|
||||
Rotation.setStatus(App::Property::ReadOnly,true);
|
||||
Rotation.setStatus(App::Property::Hidden,true);
|
||||
Caption.setStatus(App::Property::Hidden,true);
|
||||
|
||||
measurement = new Measure::Measurement();
|
||||
//TODO: should have better initial datumLabel position than (0,0) in the DVP?? something closer to the object being measured?
|
||||
|
||||
Reference in New Issue
Block a user