Changeset View
Changeset View
Standalone View
Standalone View
src/items/check/KReportItemCheck.cpp
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 74 | { | |||
---|---|---|---|---|---|
81 | m_controlSource = new KProperty("item-data-source", QStringList(), QStringList(), QString(), tr("Data Source")); | 81 | m_controlSource = new KProperty("item-data-source", QStringList(), QStringList(), QString(), tr("Data Source")); | ||
82 | m_controlSource->setOption("extraValueAllowed", QLatin1String("true")); | 82 | m_controlSource->setOption("extraValueAllowed", QLatin1String("true")); | ||
83 | 83 | | |||
84 | m_foregroundColor = new KProperty("foreground-color", QColor(Qt::black), tr("Foreground Color")); | 84 | m_foregroundColor = new KProperty("foreground-color", QColor(Qt::black), tr("Foreground Color")); | ||
85 | 85 | | |||
86 | m_lineWeight = new KProperty("line-weight", 1.0, tr("Line Weight")); | 86 | m_lineWeight = new KProperty("line-weight", 1.0, tr("Line Weight")); | ||
87 | m_lineWeight->setOption("step", 1.0); | 87 | m_lineWeight->setOption("step", 1.0); | ||
88 | m_lineColor = new KProperty("line-color", QColor(Qt::black), tr("Line Color")); | 88 | m_lineColor = new KProperty("line-color", QColor(Qt::black), tr("Line Color")); | ||
89 | m_lineStyle = new KProperty("line-style", static_cast<int>(Qt::SolidLine), tr("Line Style"), tr("Line Style"), KProperty::LineStyle); | 89 | m_lineStyle = new KProperty("line-style", static_cast<int>(Qt::SolidLine), tr("Line Style"), QString(), KProperty::LineStyle); | ||
90 | m_staticValue = new KProperty("value", QVariant(false), tr("Value"), tr("Value used if not bound to a field")); | 90 | m_staticValue = new KProperty("value", QVariant(false), tr("Value"), tr("Value used if not bound to a field")); | ||
91 | 91 | | |||
92 | propertySet()->addProperty(m_controlSource); | 92 | propertySet()->addProperty(m_controlSource); | ||
93 | propertySet()->addProperty(m_staticValue); | 93 | propertySet()->addProperty(m_staticValue); | ||
94 | propertySet()->addProperty(m_checkStyle); | 94 | propertySet()->addProperty(m_checkStyle); | ||
95 | propertySet()->addProperty(m_foregroundColor); | 95 | propertySet()->addProperty(m_foregroundColor); | ||
96 | propertySet()->addProperty(m_lineWeight); | 96 | propertySet()->addProperty(m_lineWeight); | ||
97 | propertySet()->addProperty(m_lineColor); | 97 | propertySet()->addProperty(m_lineColor); | ||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |