You are not logged in.

#1 2006-01-11 17:51:53

major
Member
From: Ockelbo, Sweden
Registered: 2005-12-30
Posts: 25

qt

Ok, i have now learned python, and i am currently using QT as GUI-thingie...

I have a problem though. When i do something (like entering the lost+found-directory) i want a popup-window saying "You cant do that, stupid!" or something. I'm not sure how to do this. I have the dialog in question, not sure on how to show it correctly.. sad

Offline

#2 2006-01-11 18:01:55

major
Member
From: Ockelbo, Sweden
Registered: 2005-12-30
Posts: 25

Re: qt

Ok, it was:
win2 = funka()
win2.show()

where "funka" is the class for the 2:nd dialog.  smile

Offline

#3 2006-01-12 17:38:06

Riklaunim
Member
Registered: 2005-04-09
Posts: 106
Website

Re: qt

there is a Qmessagebox widget

self.a = QMessageBox(self)
  self.a.setText("Text here")
  self.a.show()

Offline

Board footer

Powered by FluxBB