lowercase class names, eg., qtgui ? (PyQt4)
Glen
mansonmuni at alexandria.cc
Thu Apr 26 10:36:37 EDT 2007
On Thu, 26 Apr 2007 09:09:44 +0200, Tina I wrote:
Hi Tina,
Thanks for the reply. Of course, by now I've run pyuic4 again on my .ui
file and things are back to normal. Believe it or not, my example was a
copy/paste directly from my .py file. Some strange anomoly, I guess.
Everything's ok now. Maybe vim was just displaying the text wrong for a
minute. Had me going though.
Thanks again.
Glen
> Are you sure? That's strange. I have never seen that. Here is a
snippet
> of one of my typical .py files generated by 'pyuic4':
>
> self.gridlayout = QtGui.QGridLayout(self.centralwidget)
> self.gridlayout.setMargin(9)
> self.gridlayout.setSpacing(6)
> self.gridlayout.setObjectName("gridlayout")
>
> self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setMargin(0)
> self.hboxlayout.setSpacing(6)
> self.hboxlayout.setObjectName("hboxlayout")
>
> self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setMargin(0)
> self.hboxlayout1.setSpacing(6)
> self.hboxlayout1.setObjectName("hboxlayout1")
>
> Upper case all the way...
>
> Tina
More information about the Python-list
mailing list