KDEUI
Go to the documentation of this file.
25 #include <QtGui/QWidget>
26 #include <QtGui/QPixmap>
42 Q_PROPERTY(
int xValue READ xValue WRITE setXValue )
43 Q_PROPERTY(
int yValue READ yValue WRITE setYValue )
62 void setValues(
int xPos,
int yPos );
68 void setXValue(
int xPos );
74 void setYValue(
int yPos );
79 void setRange(
int minX,
int minY,
int maxX,
int maxY );
85 void setMarkerColor( const
QColor &col );
99 QRect contentsRect() const;
104 virtual
QSize minimumSizeHint() const;
111 void valueChanged(
int x,
int y );
120 virtual
void drawContents( QPainter * );
126 virtual
void drawMarker( QPainter *p,
int xp,
int yp );
128 virtual
void paintEvent( QPaintEvent *e );
129 virtual
void mousePressEvent( QMouseEvent *e );
130 virtual
void mouseMoveEvent( QMouseEvent *e );
131 virtual
void wheelEvent( QWheelEvent * );
136 void valuesFromPosition(
int x,
int y,
int& xVal,
int& yVal ) const;
139 void setPosition(
int xp,
int yp );
143 friend class Private;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 12:07:19 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.