Re: PyQt issue

2006-03-04 Thread Damjan
> Because you wrote curentText - note the missing t. :) You mean the missing 'r' :) -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt issue

2006-03-03 Thread dmbkiwi
Hangs head in shame. Slinks off with tail between legs. Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt issue

2006-03-03 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: > I'm trying to write a simple dialog with PyQt. Ive got this code as > one of the slots: > > def setFixed(self): > if len(str(self.fixed_label.displayText())) == 0: > QMessageBox.critical(self, "Label Missing", "You must enter > a label.") >

Re: PyQt issue

2006-03-03 Thread Phil Thompson
On Friday 03 March 2006 6:39 pm, [EMAIL PROTECTED] wrote: > I'm trying to write a simple dialog with PyQt. Ive got this code as > one of the slots: > > def setFixed(self): > if len(str(self.fixed_label.displayText())) == 0: > QMessageBox.critical(self, "Label Missing", "You

PyQt issue

2006-03-03 Thread dmbkiwi
I'm trying to write a simple dialog with PyQt. Ive got this code as one of the slots: def setFixed(self): if len(str(self.fixed_label.displayText())) == 0: QMessageBox.critical(self, "Label Missing", "You must enter a label.") else: print str(self.fixed