[PyQt] StyleSheet for Menu Button

2011-04-21 Thread Knacktus
Hi guys, I've got a problem applying a stylesheet to a Menu Button. I expect the following code to apply a blue background to all widgets, including the Button for the menu. But it doesn't. Is it a bug or am I doing something wrong? Cheers, Jan #

Re: [PyQt] sipdistutils.py

2011-04-21 Thread Giovanni Bajo
On Thu, 21 Apr 2011 19:17:47 +0100, Jeremy Sanders wrote: > Hi - Would it be possible to verify the copyright owner and the license of > sipdistutils.py? > > It doesn't have a copyright header at the top of the file. Is it copyright > Giovanni Bajo and licensed under the standard SIP license?

[PyQt] sipdistutils.py

2011-04-21 Thread Jeremy Sanders
Hi - Would it be possible to verify the copyright owner and the license of sipdistutils.py? It doesn't have a copyright header at the top of the file. Is it copyright Giovanni Bajo and licensed under the standard SIP license? Thanks Jeremy -- http://www.jeremysanders.net/ __

Re: [PyQt] qtreewidget only printing first character of my strings

2011-04-21 Thread Jason Rahm
Yes, that works much better. Thanks for the help. Jason -Original Message- From: Wolfgang Rohdewald [mailto:wolfg...@rohdewald.de] Sent: Thursday, April 21, 2011 11:29 AM To: pyqt@riverbankcomputing.com Cc: Jason Rahm Subject: Re: qtreewidget only printing first character of my strings

[PyQt] QScintilla font is tiny on mac os x 10.6

2011-04-21 Thread Danny Shevitz
Howdy, I'm using QSci in my PyQt4 app and the font looks normal on a windows box. The same app on a mac os x 10.6 box is almost unreadably small. It is also tiny in the Eric IDE. Is there a systemwide setting I can change for the QSci editor? I would prefer to not have to check the platform and ch

Re: [PyQt] qtreewidget only printing first character of my strings

2011-04-21 Thread Selim Tuvi
That's because the following constructor is being used when you call QTreeWidgetItem(hdr, x): * *QTreeWidgetItem ( QTreeWidgetItem * parent, const QStringList & strings, int type = Type ) so it is treating your string as a list of strings. Since your column count is 1, you are only seeing the

Re: [PyQt] qtreewidget only printing first character of my strings

2011-04-21 Thread Wolfgang Rohdewald
On Donnerstag 21 April 2011, Jason Rahm wrote: > If I uncomment my print statements, each string is printed as > expected, but in the QTreeWidget, I only get the first > character: I think QTreeWidgetItem expects a string list, not a string. Maybe [x] instead of x works better? -- Wolfgang _

[PyQt] qtreewidget only printing first character of my strings

2011-04-21 Thread Jason Rahm
Here's my code: selected = None self.treeWidget_iRulesList.clear() self.treeWidget_iRulesList.setColumnCount(1) self.treeWidget_iRulesList.setHeaderLabels(["Rules"]) self.treeWidget_iRulesList.setItemsExpandable(True) for ite