[PyQt] embedding iconic pushButton in TableView and/or TreeView

2010-11-23 Thread James Polk
Hans, I'm sure you're right, but I'm still a little dense about this, lol... All the examples of spinDelegates that I've seen are using integers, and are present in every cell...usually in QTableView... I'm using QTreeView, and I only want a pushButton/Icon in the first column,...I've spent abou

Re: [PyQt] SIP and virtual functions

2010-11-23 Thread Jens Thoms Toerring
On Tue, Nov 23, 2010 at 09:47:55PM +, Phil Thompson wrote: > That would probably work, but it relies on there being a public copy ctor > for A. It's a strange API that has a public copy ctor but no other public > ctor. Yes, the second one needs a public copy ctor, but not the first one (that's

Re: [PyQt] SIP and virtual functions

2010-11-23 Thread Phil Thompson
On Tue, 23 Nov 2010 17:12:01 +0100, Jens Thoms Toerring wrote: > Hi Phil, > > On Tue, Nov 23, 2010 at 02:42:59PM +, Phil Thompson wrote: >> Not every C++ class can be wrapped. SIP often has to create temporary >> instances which obviously requires support from the underlying C++. > > Thanks

Re: [PyQt] problem installing sip in windows

2010-11-23 Thread Phil Thompson
On Tue, 23 Nov 2010 15:57:52 -0300, marcos hipe wrote: > hi! i'm new in this list (and sorry for my bad english) > i'm trying to install pyqt 4.8.1 in windows xp, so, i need to install sip > (4.11.2). > i installed MinGW (TDM-GCC really) to compile and python 2.7 > i did: >python configure.py

[PyQt] problem installing sip in windows

2010-11-23 Thread marcos hipe
hi! i'm new in this list (and sorry for my bad english) i'm trying to install pyqt 4.8.1 in windows xp, so, i need to install sip (4.11.2). i installed MinGW (TDM-GCC really) to compile and python 2.7 i did: python configure.py -p win32-g++ mingw32-make and when i did: mingw32-make install

Re: [PyQt] Resize columns in QTreeViewv

2010-11-23 Thread Hans Meine
Op den Dingsdag 23 November 2010 Klock 15:04:34 hett Gionata Boccalini schreven: > Op!!! the first parameter is the milliseconds!! I thought it was > the seconds!! Now it is working correctly! ( I know I should have looked > the docs...) Indeed, looking at the fine docs is often the solut

[PyQt] QtWebKit ImportError (DLL load failed: The operating system cannot run %1.)

2010-11-23 Thread Zoltan Szalai
Hi, I'm getting ImportError when I try to import QtWebkit on Win Xp Professional X64 (SP2). Has anybody ever experienced the same problem? The import works just fine on any other OS I tried. from PyQt4.QtWebKit import * DLL load failed: The operating system cannot run %1. PyQt: 4.8.1 Qt: 4.7

Re: [PyQt] Complex header of QTableView

2010-11-23 Thread Vadym
strange situation... i didn't see my email in list during more than two days ago so decided that something wrong with list or my email... Sorry if I bothered you. with best regards, -vadym 2010/11/23 Arnold Krille > On Tuesday 23 November 2010 15:36:18 Vadym wrote: > > I created enought comple

Re: [PyQt] SIP and virtual functions

2010-11-23 Thread Jens Thoms Toerring
Hi Phil, On Tue, Nov 23, 2010 at 02:42:59PM +, Phil Thompson wrote: > Not every C++ class can be wrapped. SIP often has to create temporary > instances which obviously requires support from the underlying C++. Thanks for the quick reply! It's a bit unlucky in my case since creating public con

Re: [PyQt] Range slider

2010-11-23 Thread Held Michael
Thanks a lot for that info. Is the Qxt also available for PyQt? What is the license? Cheers Michael On Nov 23, 2010, at 12:03 AM, "Nick Gaens" mailto:nickga...@gmail.com>> wrote: Did you take a look at Qxt? They have what you're looking for

Re: [PyQt] Complex header of QTableView

2010-11-23 Thread Arnold Krille
On Tuesday 23 November 2010 15:36:18 Vadym wrote: > I created enought complex table based on QTableView (with models, > proxy, interconnections, etc) but now my task is similar complex > header for this table with miltiple rows, columns span and so on. As > far I know seems it's not trivial problem

Re: [PyQt] using pickle to save contents of QSortFilterProxyModel

2010-11-23 Thread Hans Meine
Op den Sünnavend 20 November 2010 Klock 07:48:15 hett Phil Thompson schreven: > Pickling of QObject instances isn't supported because there is so much > state information (some of which you probably don't have access to) that > you would need to restore. Yet pickling QDate, QDateTime, and QString

Re: [PyQt] SIP and virtual functions

2010-11-23 Thread Phil Thompson
On Tue, 23 Nov 2010 15:22:39 +0100, Jens Thoms Toerring wrote: > Hi, > > I've got some problem with sip when using classes that have > virtual methods. The classes look somewhat like this (this is, > of course, just an example, cut down to the absolute essen- > tials and not my real code): > > -

Re: [PyQt] Complex header of QTableView

2010-11-23 Thread Hans-Peter Jansen
On Tuesday 23 November 2010, 15:12:23 Vadym Honcharuk wrote: > Hello to List, > > I created enought complex table based on QTableView (with models, > proxy, interconnections, etc) but now my task is similar complex > header for this table with miltiple rows, columns span and so on. As > far I know

[PyQt] Complex header of QTableView

2010-11-23 Thread Vadym
Hello to List, I created enought complex table based on QTableView (with models, proxy, interconnections, etc) but now my task is similar complex header for this table with miltiple rows, columns span and so on. As far I know seems it's not trivial problem in Qt at all but perhaps I wrong or exist

Re: [PyQt] PyQt.QtHelp - QFSFileEngine::open: No file name specified

2010-11-23 Thread Hans-Peter Jansen
On Tuesday 23 November 2010, 14:28:16 romain wrote: > Hi everybody, > > I am facing an issue when I use the PyQt.QtHelp module. I have > generated a .qhc file containing the documentation I want to embed > into my soft so users can access it directly. It is made up with > .html pages. > > I have jo

[PyQt] SIP and virtual functions

2010-11-23 Thread Jens Thoms Toerring
Hi, I've got some problem with sip when using classes that have virtual methods. The classes look somewhat like this (this is, of course, just an example, cut down to the absolute essen- tials and not my real code): Foo.hpp -- #if ! defined FOO_HPP_ #define FO

[PyQt] Complex header of QTableView

2010-11-23 Thread Vadym Honcharuk
Hello to List, I created enought complex table based on QTableView (with models, proxy, interconnections, etc) but now my task is similar complex header for this table with miltiple rows, columns span and so on. As far I know seems it's not trivial problem in Qt at all but perhaps I wrong or exist

Re: [PyQt] Resize columns in QTreeViewv

2010-11-23 Thread Gionata Boccalini
Sorry for the redirection but I've had some problem with my mail clients, and I had disabled the list mails for a while... Op!!! the first parameter is the milliseconds!! I thought it was the seconds!! Now it is working correctly! ( I know I should have looked the docs...) I'll attach

Re: [PyQt] Resize columns in QTreeViewv

2010-11-23 Thread Hans-Peter Jansen
[Rebounce to list, no need to address me directly..] On Tuesday 23 November 2010, 14:11:17 Gionata Boccalini wrote: > Ok, I now I have > > QTimer.singleShot(4, self.resizeColumn) > > in the slot, where self.resizeColumn is a callable: > > def resizeColumn(self): > self.treeView.resizeCo

[PyQt] PyQt.QtHelp - QFSFileEngine::open: No file name specified

2010-11-23 Thread romain
Hi everybody, I am facing an issue when I use the PyQt.QtHelp module. I have generated a .qhc file containing the documentation I want to embed into my soft so users can access it directly. It is made up with .html pages. I have joined the code in attachment. I simplified it so it can be used in