[PyQt] Problems with stylesheets.

2007-11-30 Thread Gustavo A. Díaz
Hi guys. I have a weird problem when i want to style my app, but specially with QPushButton and QScrollBar. I have this for QPushButton: self.setStyleSheet (" \ QPushButton {background-image: url(:/Styles/styles/oc_buttonBg.png); color: white; font: bold; \ border

[PyQt] How can i load the codec plugin dynamically?

2007-11-30 Thread DDGG
Hello friends! I want load a codec plugin at the runtime of my application, because it could not load automatically by PyQt itself. I add three lines in my source file, but it failed. plugin = QtCore.QPluginLoader("C:/Qt/4.3.1/plugins/codecs/qcncodecs4.dll") print plugin.load() # result is f

[PyQt] Re: QScrollbar stylesheet

2007-11-30 Thread Gustavo A. Díaz
Never mind.. i found it here... in Qt4.4 snapshot docs... http://doc.trolltech.com/main-snapshot/stylesheet-examples.html Cheers. 2007/11/30, Gustavo A. Díaz <[EMAIL PROTECTED]>: > > Hi Guys!! > > iI was trying to style the QScrollbar using the stylsheet example in the > QT docs, > http://doc.t

[PyQt] QScrollbar stylesheet

2007-11-30 Thread Gustavo A. Díaz
Hi Guys!! iI was trying to style the QScrollbar using the stylsheet example in the QT docs, http://doc.trolltech.com/4.3/stylesheet-examples.html#customizing-qscrollbar But, for vertical.. when i change horizontal words for vertical ones.. does not work... but as in the example using horizontal..