krita

KisRuler Class Reference

List of all members.

Detailed Description

Definition at line 35 of file kis_ruler.h.


Public Slots

void setZoom (double zoom)
void updatePointer (Q_INT32 x, Q_INT32 y)
void updateVisibleArea (Q_INT32 xpos, Q_INT32 ypos)
void setUnit (KoUnit::Unit u)
void hide ()
void show ()

Public Member Functions

 KisRuler (Qt::Orientation, QWidget *parent=0, const char *name=0)
virtual ~KisRuler ()
KoUnit::Unit unit () const

Protected Member Functions

virtual void paintEvent (QPaintEvent *e)
virtual void resizeEvent (QResizeEvent *e)
virtual void styleChange (QStyle &oldStyle)
virtual void paletteChange (const QPalette &oldPalette)
void recalculateSize ()
void drawRuler ()
void initMarker (Q_INT32 w, Q_INT32 h)
void drawNums (QPainter *gc, Q_INT32 x, Q_INT32 y, QString &num, bool orientationHoriz)

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys