[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    RE: [PyQt] Intro and question
From:       "Iliya Gogolev" <iliya () realdice ! com>
Date:       2008-11-27 7:43:25
Message-ID: 000901c95063$d6020210$82060630$ () com
[Download RAW message or body]

Took from Qt API 4.4:

A command button is rectangular and typically displays a text label
describing its action. A shortcut key can be specified by preceding the
preferred character with an ampersand in the text. For example:

 QPushButton *button = new QPushButton("&Download", this);

In this example the shortcut is Alt+D. See the QShortcut documentation for
details (to display an actual ampersand, use '&&').



-----Original Message-----
From: pyqt-bounces@riverbankcomputing.com
[mailto:pyqt-bounces@riverbankcomputing.com] On Behalf Of Christian Aubert
Sent: Thursday, November 27, 2008 3:27 AM
To: pyqt@riverbankcomputing.com
Subject: [PyQt] Intro and question

Hi everyone,

Thanks to Mark for telling me about the list. I got started with pyqt
about 3 months ago, love the functionality, hope to be able to
contribute here.

I have a GUI using a QPushButton, does anyone know of a way to use
modifiers on buttons (CTRL, ALT, Right-click)?

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


-- 
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.549 / Virus Database: 270.9.10/1814 - Release Date: 11/26/2008
8:53 PM


No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.549 / Virus Database: 270.9.10/1814 - Release Date: 11/26/2008
8:53 PM
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.549 / Virus Database: 270.9.10/1814 - Release Date: 11/26/2008
8:53 PM
 

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic