|
| DPointSelect (QWidget *const parent) |
| Constructs a two-dimensional selector widget which has a value range of [0..100] in both directions.
|
|
QRect | contentsRect () const |
|
QSize | minimumSizeHint () const override |
| Reimplemented to give the widget a minimum size.
|
|
void | setMarkerColor (const QColor &col) |
| Sets the color used to draw the marker.
|
|
void | setRange (int minX, int minY, int maxX, int maxY) |
| Sets the range of possible values.
|
|
void | setValues (int xPos, int yPos) |
| Sets the current values in horizontal and vertical direction.
|
|
void | setXValue (int xPos) |
| Sets the current horizontal value.
|
|
void | setYValue (int yPos) |
| Sets the current vertical value.
|
|
int | xValue () const |
|
int | yValue () const |
|
|
virtual void | drawContents (QPainter *) |
| Override this function to draw the contents of the widget.
|
|
virtual void | drawMarker (QPainter *p, int xp, int yp) |
| Override this function to draw the marker which indicates the currently selected value pair.
|
|
void | mouseMoveEvent (QMouseEvent *e) override |
|
void | mousePressEvent (QMouseEvent *e) override |
|
void | paintEvent (QPaintEvent *e) override |
|
void | valuesFromPosition (int x, int y, int &xVal, int &yVal) const |
| Converts a pixel position to its corresponding values.
|
|
void | wheelEvent (QWheelEvent *) override |
|