|
|
|
@ -90,7 +90,7 @@ KviCanvasPolygon::KviCanvasPolygon(TQCanvas * c,int x,int y,TQPointArray &pnts,d
|
|
|
|
|
m_properties.insert("uLineWidth",TQVariant((unsigned int)0));
|
|
|
|
|
|
|
|
|
|
m_properties.insert("clrBackground",TQVariant(TQColor(0,0,0)));
|
|
|
|
|
m_properties.insert("bHasBackground",TQVariant(false,1));
|
|
|
|
|
m_properties.insert("bHasBackground",TQVariant(false));
|
|
|
|
|
|
|
|
|
|
m_dScaleFactor = dScaleFactor;
|
|
|
|
|
m_points = pnts;
|
|
|
|
@ -193,7 +193,7 @@ KviCanvasEllipticItem::KviCanvasEllipticItem(TQCanvas * c,int x,int y,int w,int
|
|
|
|
|
m_properties.insert("uLineWidth",TQVariant((unsigned int)0));
|
|
|
|
|
|
|
|
|
|
m_properties.insert("clrBackground",TQVariant(TQColor(0,0,0)));
|
|
|
|
|
m_properties.insert("bHasBackground",TQVariant(false,1));
|
|
|
|
|
m_properties.insert("bHasBackground",TQVariant(false));
|
|
|
|
|
|
|
|
|
|
// m_properties.insert("iStartAngle",TQVariant(0));
|
|
|
|
|
// m_properties.insert("iEndAngle",TQVariant(360));
|
|
|
|
@ -339,7 +339,7 @@ KviCanvasRectangle::KviCanvasRectangle(TQCanvas * c,int x,int y,int w,int h)
|
|
|
|
|
m_properties.insert("uLineWidth",TQVariant((unsigned int)0));
|
|
|
|
|
|
|
|
|
|
m_properties.insert("clrBackground",TQVariant(TQColor(0,0,0)));
|
|
|
|
|
m_properties.insert("bHasBackground",TQVariant(false,1));
|
|
|
|
|
m_properties.insert("bHasBackground",TQVariant(false));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KviCanvasRectangle::~KviCanvasRectangle()
|
|
|
|
@ -1325,7 +1325,7 @@ void KviVariantTableItem::setContentFromEditor(TQWidget * w)
|
|
|
|
|
m_property = TQVariant(((TQLineEdit *)w)->text().toUInt());
|
|
|
|
|
break;
|
|
|
|
|
case TQVariant::Bool:
|
|
|
|
|
m_property = TQVariant(((TQComboBox *)w)->currentItem(),1);
|
|
|
|
|
m_property = TQVariant(((TQComboBox *)w)->currentItem());
|
|
|
|
|
break;
|
|
|
|
|
case TQVariant::Color:
|
|
|
|
|
m_property.asColor().setNamedColor(((TQLineEdit *)w)->text());
|
|
|
|
|