[Qt-interest] Graphics Scene default grouping

Luc Devallonné luc.devallonne at mnemis.com
Mon Dec 1 09:50:02 CET 2008


Ankit,

Maybe it is that the first one is still selected ? if you click on the
first one, move it, click on it again and then move the second one,
does the first one still moves ?

Luc

On Mon, Dec 1, 2008 at 9:26 AM, Ankit Agarwal <ankit17.ag at gmail.com> wrote:
> Hi Luc,
> The items in the scene does not have any parent.
>
>
> On Mon, Dec 1, 2008 at 1:54 PM, Luc Devallonné <luc.devallonne at mnemis.com>
> wrote:
>>
>> Ankit,
>>
>> How do you construct your items? do you pass a previous item as parent
>> ? that would make it a child of the previous item and make a group. If
>> this is the case, you should construct it with a null (0) parent.
>>
>> Luc
>>
>> On Mon, Dec 1, 2008 at 5:36 AM, Ankit Agarwal <ankit17.ag at gmail.com>
>> wrote:
>> > Hello,
>> > I have a few items in the GraphicsScene which are selectable and
>> > movable.
>> > I click on the 1st item and move. Now, when I select the second item and
>> > move, the first item move along with it. I came to know that the
>> > graphicsScene make groups by default. How can I avoid this.
>> >
>> > --
>> > Regards,
>> > Ankit Agarwal
>> > SW Engineer
>> > Vegayan Systems
>> > email : ankit_agarwal at vegayan.com
>> > Blog : http://ankit17.wordpress.com
>> >
>> > _______________________________________________
>> > Qt-interest mailing list
>> > Qt-interest at trolltech.com
>> > http://lists.trolltech.com/mailman/listinfo/qt-interest
>> >
>> >
>>
>>
>>
>> --
>> Luc Devallonné
>> Cell: +41 78 751 32 15
>> Skype: luc.devallonne
>
>
>
> --
> Regards,
> Ankit Agarwal
> SW Engineer
> Vegayan Systems
> email : ankit_agarwal at vegayan.com
> Blog : http://ankit17.wordpress.com
>



-- 
Luc Devallonné
Cell: +41 78 751 32 15
Skype: luc.devallonne




More information about the Qt-interest-old mailing list