42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="ShortcutDialog" ID="ShortcutDialog"></a> |
43 <a NAME="ShortcutDialog" ID="ShortcutDialog"></a> |
44 <h2>ShortcutDialog</h2> |
44 <h2>ShortcutDialog</h2> |
45 <p> |
45 <p> |
46 Class implementing a dialog for the configuration of a keyboard shortcut. |
46 Class implementing a dialog for the configuration of a keyboard shortcut. |
47 </p><h4>Signals</h4> |
47 </p><h3>Signals</h3> |
48 <dl> |
48 <dl> |
49 <dt>shortcutChanged(QKeySequence, QKeySequence, bool, string)</dt> |
49 <dt>shortcutChanged(QKeySequence, QKeySequence, bool, string)</dt> |
50 <dd> |
50 <dd> |
51 emitted |
51 emitted |
52 after the OK button was pressed |
52 after the OK button was pressed |
56 QDialog, Ui_ShortcutDialog |
56 QDialog, Ui_ShortcutDialog |
57 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
58 <table> |
58 <table> |
59 <tr><td>None</td></tr> |
59 <tr><td>None</td></tr> |
60 </table> |
60 </table> |
|
61 <h3>Class Methods</h3> |
|
62 <table> |
|
63 <tr><td>None</td></tr> |
|
64 </table> |
61 <h3>Methods</h3> |
65 <h3>Methods</h3> |
62 <table> |
66 <table> |
63 <tr> |
67 <tr> |
64 <td><a href="#ShortcutDialog.__init__">ShortcutDialog</a></td> |
|
65 <td>Constructor</td> |
|
66 </tr><tr> |
|
67 <td><a href="#ShortcutDialog.__clear">__clear</a></td> |
68 <td><a href="#ShortcutDialog.__clear">__clear</a></td> |
68 <td>Private slot to handle the Clear button press.</td> |
69 <td>Private slot to handle the Clear button press.</td> |
69 </tr><tr> |
70 </tr><tr> |
70 <td><a href="#ShortcutDialog.__setKeyLabelText">__setKeyLabelText</a></td> |
71 <td><a href="#ShortcutDialog.__setKeyLabelText">__setKeyLabelText</a></td> |
71 <td>Private method to set the text of a key label.</td> |
72 <td>Private method to set the text of a key label.</td> |
83 <td>Private slot to handle the OK button press.</td> |
84 <td>Private slot to handle the OK button press.</td> |
84 </tr><tr> |
85 </tr><tr> |
85 <td><a href="#ShortcutDialog.setKeys">setKeys</a></td> |
86 <td><a href="#ShortcutDialog.setKeys">setKeys</a></td> |
86 <td>Public method to set the key to be configured.</td> |
87 <td>Public method to set the key to be configured.</td> |
87 </tr> |
88 </tr> |
|
89 </table> |
|
90 <h3>Static Methods</h3> |
|
91 <table> |
|
92 <tr><td>None</td></tr> |
88 </table> |
93 </table> |
89 <a NAME="ShortcutDialog.__init__" ID="ShortcutDialog.__init__"></a> |
94 <a NAME="ShortcutDialog.__init__" ID="ShortcutDialog.__init__"></a> |
90 <h4>ShortcutDialog (Constructor)</h4> |
95 <h4>ShortcutDialog (Constructor)</h4> |
91 <b>ShortcutDialog</b>(<i>parent=None, name=None, modal=False</i>) |
96 <b>ShortcutDialog</b>(<i>parent=None, name=None, modal=False</i>) |
92 <p> |
97 <p> |