Active Topics

 


Reply
Thread Tools
Posts: 26 | Thanked: 7 times | Joined on Feb 2010 @ São Paulo - Brazil
#1
Hi Guys,

Can anyone make a tutorial how to make button actions and how to messaging when this button is clicked..

Thanks
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#2
You mean something like this??

It doesn't show messaging.. but it's pretty easy how to figure out how to get a QMessageBox to popup.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 26 | Thanked: 7 times | Joined on Feb 2010 @ São Paulo - Brazil
#3
Originally Posted by fatalsaint View Post
You mean something like this??

It doesn't show messaging.. but it's pretty easy how to figure out how to get a QMessageBox to popup.
Almost it.. How to show any message like a confirmation, warning, etc.. ?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#4
Originally Posted by goriofab View Post
Almost it.. How to show any message like a confirmation, warning, etc.. ?
QInputDialog... QMessageBox.warning.. QMessageBox.question....

This link shows a few example programs.. some of which use QMessageBox.question.. then you have to get familiar with the QT reference here and figure out the "Python" way to do it.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#5
I fully recommend using the PyQt API reference. It's generated from the same base as the 'regular' reference manual, but has most C++isms converted into their python equivalents.

PS. And if you installed the PyQt demo/doc package, you already have this API reference installed !
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 17:39.