Changeset View
Changeset View
Standalone View
Standalone View
src/items/field/KReportItemField.cpp
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | 87 | { | |||
---|---|---|---|---|---|
110 | m_backgroundOpacity = new KProperty("background-opacity", QVariant(0), tr("Background Opacity")); | 110 | m_backgroundOpacity = new KProperty("background-opacity", QVariant(0), tr("Background Opacity")); | ||
111 | m_backgroundOpacity->setOption("max", 100); | 111 | m_backgroundOpacity->setOption("max", 100); | ||
112 | m_backgroundOpacity->setOption("min", 0); | 112 | m_backgroundOpacity->setOption("min", 0); | ||
113 | m_backgroundOpacity->setOption("unit", QLatin1String("%")); | 113 | m_backgroundOpacity->setOption("unit", QLatin1String("%")); | ||
114 | 114 | | |||
115 | m_lineWeight = new KProperty("line-weight", 1.0, tr("Line Weight")); | 115 | m_lineWeight = new KProperty("line-weight", 1.0, tr("Line Weight")); | ||
116 | m_lineWeight->setOption("step", 1.0); | 116 | m_lineWeight->setOption("step", 1.0); | ||
117 | m_lineColor = new KProperty("line-color", QColor(Qt::black), tr("Line Color")); | 117 | m_lineColor = new KProperty("line-color", QColor(Qt::black), tr("Line Color")); | ||
118 | m_lineStyle = new KProperty("line-style", static_cast<int>(Qt::NoPen), tr("Line Style"), tr("Line Style"), KProperty::LineStyle); | 118 | m_lineStyle = new KProperty("line-style", static_cast<int>(Qt::NoPen), tr("Line Style"), QString(), KProperty::LineStyle); | ||
119 | 119 | | |||
120 | m_wordWrap = new KProperty("word-wrap", QVariant(false), tr("Word Wrap")); | 120 | m_wordWrap = new KProperty("word-wrap", QVariant(false), tr("Word Wrap")); | ||
121 | m_canGrow = new KProperty("can-grow", QVariant(false), tr("Can Grow")); | 121 | m_canGrow = new KProperty("can-grow", QVariant(false), tr("Can Grow")); | ||
122 | 122 | | |||
123 | //! @todo I do not think we need these | 123 | //! @todo I do not think we need these | ||
124 | #if 0 //Field Totals | 124 | #if 0 //Field Totals | ||
125 | m_trackTotal = new KProperty("trackTotal", QVariant(false), futureI18n("Track Total")); | 125 | m_trackTotal = new KProperty("trackTotal", QVariant(false), futureI18n("Track Total")); | ||
126 | m_trackBuiltinFormat = new KProperty("trackBuiltinFormat", QVariant(false), futureI18n("Track Builtin Format")); | 126 | m_trackBuiltinFormat = new KProperty("trackBuiltinFormat", QVariant(false), futureI18n("Track Builtin Format")); | ||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |