[PyQt] QListWidgetItem appearance.
Hi, I just upgraded from Ubuntu 10.04 to 10.10, therefore, python 2.6.5/PyQt 4.7.4 to python 2.6.6/Pyqt 4.7.4 It seems that the appearance of the QListWidgetItem changed. In this case, I apply a styleSheet on the QlistWidget (color: white; background: black), I've tried with other parameters, in Maverick(10.10), the items appears always in a withe rectangle. I joint two images which show the problem. I also take a look at QtBugTracker, no issue for this case. Cheers. -- Vincent V.V. Oqapy attachment: lucid.jpgattachment: Maverick.jpg___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] QListWidgetItem appearance.
Le 16/10/10 08:52, Vincent Vande Vyvre a crit: Hi, I just upgraded from Ubuntu 10.04 to 10.10, therefore, python 2.6.5/PyQt 4.7.4 to python 2.6.6/Pyqt 4.7.4 It seems that the appearance of the QListWidgetItem changed. In this case, I apply a styleSheet on the QlistWidget (color: white; background: black), I've tried with other parameters, in Maverick(10.10), the items appears always in a withe rectangle. I joint two images which show the problem. I also take a look at QtBugTracker, no issue for this case. Cheers. -- Vincent V.V. Oqapy ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt Sorry, python 2.6.5/PyQt 4.7.2 to python 2.6.6/Pyqt 4.7.4 -- Vincent V.V. Oqapy ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] QListWidgetItem appearance.
On 16/10/10 07:52, Vincent Vande Vyvre wrote: Hi, I just upgraded from Ubuntu 10.04 to 10.10, therefore, python 2.6.5/PyQt 4.7.4 to python 2.6.6/Pyqt 4.7.4 It seems that the appearance of the QListWidgetItem changed. i'd guess that the problem is much more likely to be due to a change in qt version. presumably, ubuntu 10.10 now uses qt-4.7. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] QList Specialization Class SIP Error
Hi I have a C++ class that extends QList, or more specifically QListPoint where Point is one of our custom classes. SIP gives me a syntax error as soon as I add the template parameter to the inheritance. In C++: class PointList : public QListPoint { ... }; In SIP: class PointList : QListPoint { %TypeHeaderCode #include PointList.h %End ... }; How am I suppose to specify this inheritance in the SIP file? Thanks James ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] QTestLib
It's time to back to this question. I want to implement simple action replaying framework to test PyQt apps. I have main window and one dialog with two lineedits. I can open this dialog but don't understand how to access it from my framework to fill lineedits with data and accepts the dialog. Any ideas? On Sun, Jan 17, 2010 at 1:28 AM, Andreas Pakulat ap...@gmx.de wrote: On 17.01.10 00:08:39, Ruslan Popov wrote: Can someone share an example of using QTestLib with GUI application? I've read manuals and some Qt4 books, but they talk about C++ way, not Python. I don't think QTestlib works so easily in python as it uses a special macro in C++ to generate the boilerplate code to start the unit-test. You could probably lookup what the QTEST_MAIN macro does in Qt's c++ code and create similar code in python, but it might just as well be easier to use an existing python unit-testing framework to drive your tests. And the function to trigger signals or send events don't need the QTestlib setup to be used. Andreas -- A visit to a fresh place will bring strange work. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Ruslan Popov phone: +7 916 926 1205 skype: rpopov ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt