|
Krita Source Code Documentation
|
#include <KoRuler_p.h>
Classes | |
| struct | HotSpotData |
Public Types | |
| enum | Selection { None , Tab , FirstLineIndent , ParagraphIndent , EndIndent , HotSpot } |
Public Member Functions | |
| qreal | doSnapping (const qreal value) const |
| qreal | effectiveActiveRangeEnd () const |
| qreal | effectiveActiveRangeStart () const |
| void | emitTabChanged () |
| int | hotSpotIndex (const QPoint &pos) |
| KoRulerPrivate (KoRuler *parent, const KoViewConverter *vc, Qt::Orientation orientation) | |
| qreal | numberStepForUnit () const |
| Selection | selectionAtPosition (const QPoint &pos, int *selectOffset=0) |
| ~KoRulerPrivate () | |
Friends | |
| class | HorizontalPaintingStrategy |
| class | VerticalPaintingStrategy |
Definition at line 112 of file KoRuler_p.h.
| Enumerator | |
|---|---|
| None | |
| Tab | |
| FirstLineIndent | |
| ParagraphIndent | |
| EndIndent | |
| HotSpot | |
Definition at line 159 of file KoRuler_p.h.
| KoRulerPrivate::KoRulerPrivate | ( | KoRuler * | parent, |
| const KoViewConverter * | vc, | ||
| Qt::Orientation | orientation ) |
Definition at line 666 of file KoRuler.cpp.
| KoRulerPrivate::~KoRulerPrivate | ( | ) |
Definition at line 704 of file KoRuler.cpp.
References distancesPaintingStrategy, and normalPaintingStrategy.
| qreal KoRulerPrivate::doSnapping | ( | const qreal | value | ) | const |
Definition at line 727 of file KoRuler.cpp.
References KoUnit::fromUserValue(), numberStepForUnit(), unit, and value().
| qreal KoRulerPrivate::effectiveActiveRangeEnd | ( | ) | const |
Definition at line 808 of file KoRuler.cpp.
References activeOverrideRangeEnd, activeOverrideRangeStart, and activeRangeEnd.
| qreal KoRulerPrivate::effectiveActiveRangeStart | ( | ) | const |
Definition at line 799 of file KoRuler.cpp.
References activeOverrideRangeEnd, activeOverrideRangeStart, and activeRangeStart.
| void KoRulerPrivate::emitTabChanged | ( | ) |
Definition at line 817 of file KoRuler.cpp.
References currentIndex, originalIndex, ruler, KoRuler::tabChanged(), and tabs.
| int KoRulerPrivate::hotSpotIndex | ( | const QPoint & | pos | ) |
Definition at line 784 of file KoRuler.cpp.
References KoViewConverter::documentToViewX(), KoViewConverter::documentToViewY(), hotspots, offset, orientation, and viewConverter.
| qreal KoRulerPrivate::numberStepForUnit | ( | ) | const |
Definition at line 710 of file KoRuler.cpp.
References KoUnit::Centimeter, KoUnit::Cicero, KoUnit::Decimeter, KoUnit::Inch, KoUnit::Millimeter, KoUnit::Pica, pixelStep, KoUnit::Point, KoUnit::type(), and unit.
| KoRulerPrivate::Selection KoRulerPrivate::selectionAtPosition | ( | const QPoint & | pos, |
| int * | selectOffset = 0 ) |
Definition at line 733 of file KoRuler.cpp.
References KoViewConverter::documentToViewX(), effectiveActiveRangeEnd(), effectiveActiveRangeStart(), endIndent, EndIndent, firstLineIndent, FirstLineIndent, None, offset, paragraphIndent, ParagraphIndent, rightToLeft, ruler, selectOffset, and viewConverter.
|
friend |
Definition at line 196 of file KoRuler_p.h.
|
friend |
Definition at line 195 of file KoRuler_p.h.
| qreal KoRulerPrivate::activeOverrideRangeEnd {0.0} |
Definition at line 129 of file KoRuler_p.h.
| qreal KoRulerPrivate::activeOverrideRangeStart {0.0} |
Definition at line 128 of file KoRuler_p.h.
| qreal KoRulerPrivate::activeRangeEnd {0.0} |
Definition at line 127 of file KoRuler_p.h.
| qreal KoRulerPrivate::activeRangeStart {0.0} |
Definition at line 126 of file KoRuler_p.h.
| int KoRulerPrivate::currentIndex {0} |
Definition at line 148 of file KoRuler_p.h.
| KoRuler::Tab KoRulerPrivate::deletedTab |
Definition at line 149 of file KoRuler_p.h.
| PaintingStrategy* KoRulerPrivate::distancesPaintingStrategy {0} |
Definition at line 176 of file KoRuler_p.h.
| qreal KoRulerPrivate::endIndent {0.0} |
Definition at line 141 of file KoRuler_p.h.
| qreal KoRulerPrivate::firstLineIndent {0.0} |
Definition at line 139 of file KoRuler_p.h.
| qreal KoRulerPrivate::firstSelectionBorder {0.0} |
Definition at line 135 of file KoRuler_p.h.
| bool KoRulerPrivate::guideCreationStarted {false} |
Definition at line 183 of file KoRuler_p.h.
| QList<HotSpotData> KoRulerPrivate::hotspots |
Definition at line 156 of file KoRuler_p.h.
| int KoRulerPrivate::mouseCoordinate {0} |
Definition at line 131 of file KoRuler_p.h.
| PaintingStrategy* KoRulerPrivate::normalPaintingStrategy {0} |
Definition at line 175 of file KoRuler_p.h.
| int KoRulerPrivate::offset { 0 } |
Definition at line 124 of file KoRuler_p.h.
| const Qt::Orientation KoRulerPrivate::orientation |
Definition at line 121 of file KoRuler_p.h.
| int KoRulerPrivate::originalIndex {0} |
Definition at line 147 of file KoRuler_p.h.
| PaintingStrategy* KoRulerPrivate::paintingStrategy {0} |
Definition at line 179 of file KoRuler_p.h.
| qreal KoRulerPrivate::paragraphIndent {0.0} |
Definition at line 140 of file KoRuler_p.h.
| qreal KoRulerPrivate::pixelStep {0.0} |
Definition at line 185 of file KoRuler_p.h.
| QList<QAction*> KoRulerPrivate::popupActions |
Definition at line 170 of file KoRuler_p.h.
| bool KoRulerPrivate::relativeTabs {false} |
Definition at line 144 of file KoRuler_p.h.
| bool KoRulerPrivate::rightToLeft {false} |
Definition at line 158 of file KoRuler_p.h.
| KoRuler* KoRulerPrivate::ruler {0} |
Definition at line 181 of file KoRuler_p.h.
| qreal KoRulerPrivate::rulerLength {0.0} |
Definition at line 125 of file KoRuler_p.h.
| qreal KoRulerPrivate::secondSelectionBorder {0.0} |
Definition at line 136 of file KoRuler_p.h.
Definition at line 167 of file KoRuler_p.h.
| int KoRulerPrivate::selectOffset {0} |
Definition at line 168 of file KoRuler_p.h.
| bool KoRulerPrivate::showIndents {false} |
Definition at line 138 of file KoRuler_p.h.
| int KoRulerPrivate::showMousePosition {0} |
Definition at line 132 of file KoRuler_p.h.
| bool KoRulerPrivate::showSelectionBorders {false} |
Definition at line 134 of file KoRuler_p.h.
| bool KoRulerPrivate::showTabs {false} |
Definition at line 143 of file KoRuler_p.h.
| RulerTabChooser* KoRulerPrivate::tabChooser {0} |
Definition at line 172 of file KoRuler_p.h.
| qreal KoRulerPrivate::tabDistance {0.0} |
Definition at line 150 of file KoRuler_p.h.
| bool KoRulerPrivate::tabMoved {false} |
Definition at line 145 of file KoRuler_p.h.
| QList<KoRuler::Tab> KoRulerPrivate::tabs |
Definition at line 146 of file KoRuler_p.h.
| KoUnit KoRulerPrivate::unit |
Definition at line 120 of file KoRuler_p.h.
| const KoViewConverter* const KoRulerPrivate::viewConverter |
Definition at line 122 of file KoRuler_p.h.