letzter commit vor homobfield/erstellung einbindung

git-svn-id: http://svn.lsim.tuxzone.org/trunk@4 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-10-14 18:25:38 +00:00
parent c2a919a15e
commit c00072302f
8 changed files with 203 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ HomoEFieldItem::HomoEFieldItem(QRectF sizeRect)
setFlag(ItemIsMovable);
setFlag(ItemIsSelectable);
setFlag(ItemIsFocusable);
outerPenWidth = 2;
setOuterPenWidth (2);
//rotateslot(66);
@@ -122,3 +122,14 @@ void HomoEFieldItem::setFieldPower (double fieldPower ) {
this->fieldPower = fieldPower;
emit fieldPowerChanged(fieldPower);
}
double HomoEFieldItem::getOuterPenWidth() const {
return outerPenWidth;
}
void HomoEFieldItem::setOuterPenWidth ( double theValue ) {
if (outerPenWidth == theValue) return;
outerPenWidth = theValue;
}