From 3134a71a6b2a1b31ca02c445adc7d9c66e082b25 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Wed, 13 May 2009 16:07:05 +0200 Subject: make the red and green children items larger --- examples/multitouch/knobs/knob.cpp | 8 ++++---- 1 file 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); } -- cgit v0.12