Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportRenderObjects.h
Show First 20 Lines • Show All 205 Lines • ▼ Show 20 Line(s) | 200 | public: | |||
---|---|---|---|---|---|
206 | 206 | | |||
207 | void setBackgroundColor(const QColor& color); | 207 | void setBackgroundColor(const QColor& color); | ||
208 | QColor backgroundColor() const; | 208 | QColor backgroundColor() const; | ||
209 | 209 | | |||
210 | ORODocument* document(); | 210 | ORODocument* document(); | ||
211 | const ORODocument* document() const; | 211 | const ORODocument* document() const; | ||
212 | void setDocument(ORODocument *doc); | 212 | void setDocument(ORODocument *doc); | ||
213 | 213 | | |||
214 | void setType(KReportSectionData::Section t); | 214 | void setType(KReportSectionData::Type type); | ||
215 | KReportSectionData::Section type() const; | 215 | KReportSectionData::Type type() const; | ||
216 | 216 | | |||
217 | int primitiveCount() const; | 217 | int primitiveCount() const; | ||
218 | OROPrimitive* primitive(int index); | 218 | OROPrimitive* primitive(int index); | ||
219 | const OROPrimitive* primitive(int index) const; | 219 | const OROPrimitive* primitive(int index) const; | ||
220 | void addPrimitive(OROPrimitive* primitive); | 220 | void addPrimitive(OROPrimitive* primitive); | ||
221 | void sortPrimitives(Qt::Orientation orientation); | 221 | void sortPrimitives(Qt::Orientation orientation); | ||
222 | 222 | | |||
223 | private: | 223 | private: | ||
▲ Show 20 Lines • Show All 202 Lines • ▼ Show 20 Line(s) | |||||
426 | private: | 426 | private: | ||
427 | class Private; | 427 | class Private; | ||
428 | Private * const d; | 428 | Private * const d; | ||
429 | }; | 429 | }; | ||
430 | 430 | | |||
431 | class KREPORT_EXPORT OROCheckBox : public OROPrimitive | 431 | class KREPORT_EXPORT OROCheckBox : public OROPrimitive | ||
432 | { | 432 | { | ||
433 | public: | 433 | public: | ||
434 | enum Type { | 434 | enum class Type { | ||
435 | Cross = 1, | 435 | Cross, | ||
436 | Tick, | 436 | Tick, | ||
437 | Dot | 437 | Dot | ||
438 | }; | 438 | }; | ||
439 | 439 | | |||
440 | OROCheckBox(); | 440 | OROCheckBox(); | ||
441 | ~OROCheckBox() override; | 441 | ~OROCheckBox() override; | ||
442 | OROPrimitive* clone() const override; | 442 | OROPrimitive* clone() const override; | ||
443 | 443 | | |||
Show All 19 Lines |