> Because you wrote curentText - note the missing t.
:)
You mean the missing 'r'
:)
--
http://mail.python.org/mailman/listinfo/python-list
Hangs head in shame. Slinks off with tail between legs.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
[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.")
>
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
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