summaryrefslogtreecommitdiffstats
path: root/examples/multitouch/knobs
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-05-13 14:07:05 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-05-13 14:07:05 (GMT)
commit3134a71a6b2a1b31ca02c445adc7d9c66e082b25 (patch)
tree46ba8f3544729ed02bb2bd0a29c7738d081defda /examples/multitouch/knobs
parent7be95673a1266b306fd76cd43fe894f144b0e72d (diff)
downloadQt-3134a71a6b2a1b31ca02c445adc7d9c66e082b25.zip
Qt-3134a71a6b2a1b31ca02c445adc7d9c66e082b25.tar.gz
Qt-3134a71a6b2a1b31ca02c445adc7d9c66e082b25.tar.bz2
make the red and green children items larger
Diffstat (limited to 'examples/multitouch/knobs')
-rw-r--r--examples/multitouch/knobs/knob.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/multitouch/knobs/knob.cpp b/examples/multitouch/knobs/knob.cpp
index 4622f69..b7cc6f3 100644
--- a/examples/multitouch/knobs/knob.cpp
+++ b/examples/multitouch/knobs/knob.cpp
@@ -50,12 +50,12 @@ Knob::Knob()
setAcceptTouchEvents(true);
setBrush(Qt::lightGray);
- QGraphicsEllipseItem *leftItem = new QGraphicsEllipseItem(0, 0, 10, 10, this);
- leftItem->setPos(-45, -5);
+ QGraphicsEllipseItem *leftItem = new QGraphicsEllipseItem(0, 0, 20, 20, this);
+ leftItem->setPos(-40, -10);
leftItem->setBrush(Qt::darkGreen);
- QGraphicsEllipseItem *rightItem = new QGraphicsEllipseItem(0, 0, 10, 10, this);
- rightItem->setPos(35, -5);
+ QGraphicsEllipseItem *rightItem = new QGraphicsEllipseItem(0, 0, 20, 20, this);
+ rightItem->setPos(20, -10);
rightItem->setBrush(Qt::darkRed);
}