Hide Caption property where not applicable

This commit is contained in:
wandererfan
2019-06-01 10:20:25 -04:00
committed by WandererFan
parent ec12ffae0c
commit fd3d6d8091
4 changed files with 8 additions and 0 deletions

View File

@@ -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);

View File

@@ -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);
}

View File

@@ -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()

View File

@@ -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?