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;
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;
void valueChanged(int x, int y)
This signal is emitted whenever the user chooses a value, e.g.
KXYSelector is the base class for other widgets which provides the ability to choose from a two-dimen...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.