Re: [Interest] how to add comments of member function defined with macro?

2013-02-26 Thread tang ke
Thanks very much. On 02/27/2013 02:58 PM, Carel Combrink wrote: > > My defined macro such as Q_OBJECT, the macro will define the common > member function. > > > I have the same function, but instead of a macro I make use of > templates. This can be done since the metaObject can be obtaine

Re: [Interest] how to add comments of member function defined with macro?

2013-02-26 Thread Carel Combrink
> My defined macro such as Q_OBJECT, the macro will define the common > member function. > > I have the same function, but instead of a macro I make use of templates. This can be done since the metaObject can be obtained from the staticMetaObject on the class. Using templates you get the same beha

Re: [Interest] how to remove QGraphicsEllipseItem from parent

2013-02-26 Thread preeteesh kakkar
Alex, I agree and appreciate your reply to Tang. Other than this I created a sample program and it seems to work fine, If you delete a QGraphicsItem - it will get removed from Scene irrespective of whether scene is the parent item or any other item is it's parent item. I wonder why is he getting

Re: [Interest] how to remove QGraphicsEllipseItem from parent

2013-02-26 Thread Alex Malyushytskyy
Tang, First of all question asked does not deserve the answer you gave. It was not offensive, the direct answer is not provided in documentation. And since in some cases scene ( for example if item with scene as a parent is deleted) is updated, somebody could expect that such happens even if child

Re: [Interest] how to remove QGraphicsEllipseItem from parent

2013-02-26 Thread tang ke
You must know the relation of QGraphicsScene, QGraphicsView and QGraphicsItem. The QGraphicsView display the item of QGraphicsScene. On 02/27/2013 08:15 AM, Alex Malyushytskyy wrote: > Is it still shown if you force graphics window to update (might be > just by minimizing/ maximizing or resizin

Re: [Interest] how to remove QGraphicsEllipseItem from parent

2013-02-26 Thread Alex Malyushytskyy
Is it still shown if you force graphics window to update (might be just by minimizing/ maximizing or resizing) ? If not it means that scene was not updated and you can fix it calling QGraphicsScene::update yourself. Alex On Sun, Feb 24, 2013 at 5:00 AM, tang ke wrote: > On 02/24/2013 07:56 PM,

Re: [Interest] QML for new Ubuntu phone!

2013-02-26 Thread Florian Boucault
Done :) https://wiki.ubuntu.com/Touch/Install Florian On 02/01/13 19:47, Donald Carr wrote: > Something like this would be glorious: > > https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Installing_Boot_to_Gecko_on_a_mobile_device > > On Wed, Jan 2, 2013 at 11:37 AM, Jason H wrot

Re: [Interest] Qt5 cross compilation issues on Tegra3

2013-02-26 Thread Pritam Ghanghas
that will depend on your target build system. Nothing to do with ubuntu. Look what embedded build system you are using. See in its documentation how to add new packages. then download libxcb and compile. But do you really need xcb. I have never compiled qt5 till now. But isn't xcb needed only fo

[Interest] Qt5 cross compilation issues on Tegra3

2013-02-26 Thread Ramakanthreddy_Kesireddy
Hi, Could you please let me know where can I get the Qt5 development packages(ubuntu) required for Qt5 configure and how can I install in sysroot for the below errors? Br, Ramakanth From: interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-

Re: [Interest] Qt5 cross compilation issues on Tegra3

2013-02-26 Thread Ramakanthreddy_Kesireddy
Hi, Could you please let me know where can I get the Qt5 development packages(ubuntu) required for Qt5 configure and how can I install in sysroot for the below errors? Br, Ramakanth From: interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-