Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportRuler_p.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 38 | public: | |||
---|---|---|---|---|---|
50 | struct Tab { | 50 | struct Tab { | ||
51 | inline Tab(qreal aPosition, QTextOption::TabType aType) : position(aPosition), type(aType) {} | 51 | inline Tab(qreal aPosition, QTextOption::TabType aType) : position(aPosition), type(aType) {} | ||
52 | inline Tab() : position(0.0), type(QTextOption::LeftTab) {} | 52 | inline Tab() : position(0.0), type(QTextOption::LeftTab) {} | ||
53 | qreal position; ///< distance in point from the start of the text-shape | 53 | qreal position; ///< distance in point from the start of the text-shape | ||
54 | QTextOption::TabType type; ///< Determine which type is used. | 54 | QTextOption::TabType type; ///< Determine which type is used. | ||
55 | }; | 55 | }; | ||
56 | 56 | | |||
57 | /// The ruler's unit | 57 | /// The ruler's unit | ||
58 | /// Default is Centimeter. | ||||
58 | KReportUnit unit() const; | 59 | KReportUnit unit() const; | ||
59 | 60 | | |||
60 | /// The length of the ruler in points (pt) | 61 | /// The length of the ruler in points (pt) | ||
61 | qreal rulerLength() const; | 62 | qreal rulerLength() const; | ||
62 | 63 | | |||
63 | /// The orientation of the ruler | 64 | /// The orientation of the ruler | ||
64 | Qt::Orientation orientation() const; | 65 | Qt::Orientation orientation() const; | ||
65 | 66 | | |||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |