KritaWidgets
Go to the documentation of this file.
14 #include "kritawidgets_export.h"
17 #include <QTextOption>
52 qreal rulerLength()
const;
55 Qt::Orientation orientation()
const;
58 qreal firstLineIndent()
const;
61 qreal paragraphIndent()
const;
64 qreal endIndent()
const;
90 void setUnit(
const KoUnit &unit);
96 void setOffset(
int offset);
99 void setRulerLength(qreal length);
106 void setActiveRange(qreal start, qreal end);
114 void setOverrideActiveRange(qreal start, qreal end);
119 void setRightToLeft(
bool isRightToLeft);
125 void setShowIndents(
bool show);
131 void setFirstLineIndent(qreal indent);
137 void setParagraphIndent(qreal indent);
143 void setEndIndent(qreal indent);
149 void setShowMousePosition(
bool show);
154 bool showMousePosition()
const;
161 void updateMouseCoordinate(
int coordinate);
167 void setShowSelectionBorders(
bool show);
174 void updateSelectionBorders(qreal first, qreal second);
180 void setShowTabs(
bool show);
186 void setRelativeTabs(
bool relative);
193 void updateTabs(
const QList<Tab> &tabs, qreal tabDistance);
204 void clearHotSpots();
212 void setHotSpot(qreal position,
int id = -1);
219 bool removeHotSpot(
int id);
227 void createGuideToolConnection(KoCanvasBase *canvas);
229 void setUnitPixelMultiple2(
bool enabled);
236 void indentsChanged(
bool final);
244 void tabChanged(
int originalTabIndex,
KoRuler::Tab *tab);
247 void aboutToChange();
249 void hotSpotChanged(
int id, qreal newPosition);
252 void guideLineCreated(Qt::Orientation orientation, qreal viewPosition);
254 void guideCreationInProgress(Qt::Orientation orientation,
const QPoint &globalPos);
255 void guideCreationFinished(Qt::Orientation orientation,
const QPoint &globalPos);
qreal position
distance in point from the start of the text-shape
Decorator widget to draw a single ruler around a canvas.
QTextOption::TabType type
Determine which type is used.
For paragraphs each tab definition is represented by this struct.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 11:48:23 by
doxygen 1.8.16 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.