Re: [Interest] QHash memory management

2014-08-05 Thread preeteesh kakkar
Yes, you do need to delete them. You can keep them as scoped_ptr instead of raw pointer. On Aug 5, 2014 5:10 PM, "Jason R. Kretzer" wrote: > Just a quick question about using QHash with pointers. > > Lets say I have the following snippet: > > //=== > > QWebView *view; > QHash hash; > > f

Re: [Interest] How to disable session management.

2013-04-22 Thread preeteesh kakkar
Did you tried Display=:99.0 ? On Mon, Apr 22, 2013 at 7:45 AM, Bill Crocker wrote: > On 04/22/2013 07:43 AM, Bill Crocker wrote: > > On 04/22/2013 07:19 AM, Bo Thorsen wrote: > >> Hi Bill, > >> > >> Den 22-04-2013 12:27, Bill Crocker skrev: > >>> I am running my Qt app with a virtual X server on

Re: [Interest] QXcbConnection error

2013-04-21 Thread preeteesh kakkar
This seems like an issue with your graphics card or probably not correct driver installed. Google for more (for ex: http://askubuntu.com/questions/67567/extension-glx-missing-on-display) On Mon, Apr 22, 2013 at 12:10 AM, Ramakanthreddy_Kesireddy < ramakanthreddy_kesire...@mahindrasatyam.com> wrot

Re: [Interest] Rotating objects in QML are killing performance

2013-04-11 Thread preeteesh kakkar
Hi, I checked your code with QtQuick 1.1 (which is what I have as of now) and it seems to be working perfectly fine. I ran 10 instance of application. The logic seems correct in your code. On Thu, Apr 11, 2013 at 11:31 AM, Michael Andersen wrote: > Hi list, > > I have a loading throbber in my

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-27 Thread preeteesh kakkar
This might help you --> http://qt-project.org/doc/qt-4.8/itemviews-spinboxdelegate.html On Wed, Mar 27, 2013 at 3:01 PM, preeteesh kakkar < preeteesh.kak...@gmail.com> wrote: > You may be able to use QIntValidator for that particular column, by > default Qt delegate will sho

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-27 Thread preeteesh kakkar
You may be able to use QIntValidator for that particular column, by default Qt delegate will show everything as lineedit where you can put anything. If you want to show QSpinBox you need to tell that for xyz column QSpinBox Widget should open.. On Wed, Mar 27, 2013 at 2:46 PM, Tr3wory wrote: > A

Re: [Interest] QGridLayout does not update

2013-03-19 Thread preeteesh kakkar
Try calling gridlayout->update() and see if that helps? On Tue, Mar 19, 2013 at 9:28 AM, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > Dear all, > > I am encountering the following issue using QGridLayout in a widget. > > The QGridLayout is currently used for displaying labels alon

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