Changeset View
Changeset View
Standalone View
Standalone View
core/page_p.h
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | 64 | public: | |||
---|---|---|---|---|---|
88 | /** | 88 | /** | ||
89 | * Changes the size of the page to the given @p size. | 89 | * Changes the size of the page to the given @p size. | ||
90 | * | 90 | * | ||
91 | * The @p size is meant to be referred to the page not rotated. | 91 | * The @p size is meant to be referred to the page not rotated. | ||
92 | */ | 92 | */ | ||
93 | void changeSize( const PageSize &size ); | 93 | void changeSize( const PageSize &size ); | ||
94 | 94 | | |||
95 | /** | 95 | /** | ||
96 | * Sets the @p color and @p areas of text selections. | 96 | * Clears current text selection highlight areas, | ||
97 | * creates new ones if @p areas is not nullptr, | ||||
98 | * and deletes @p areas. | ||||
99 | * | ||||
100 | * @param areas Areas of new text selections. | ||||
101 | * @param color Color of new text selections. | ||||
97 | */ | 102 | */ | ||
98 | void setTextSelections( RegularAreaRect *areas, const QColor & color ); | 103 | void setTextSelections( RegularAreaRect *areas, const QColor & color ); | ||
99 | 104 | | |||
100 | /** | 105 | /** | ||
101 | * Sets the @p color and @p area of the highlight for the observer with | 106 | * Sets the @p color and @p area of the highlight for the observer with | ||
102 | * the given @p id. | 107 | * the given @p id. | ||
103 | */ | 108 | */ | ||
104 | void setHighlight( int id, RegularAreaRect *area, const QColor & color ); | 109 | void setHighlight( int id, RegularAreaRect *area, const QColor & color ); | ||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |