Documentation/Source/eric4.Preferences.ShortcutDialog.html

changeset 3
0d9daebf5b8c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric4.Preferences.ShortcutDialog.html	Mon Dec 28 16:18:43 2009 +0000
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
+'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
+<html><head>
+<title>eric4.Preferences.ShortcutDialog</title>
+<style>
+body {
+    background:white;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #4FA4FF; }
+h2 { color: white; background: #4FA4FF; }
+h3 { color: white; background: #00557F; }
+h4 { color: white; background: #00557F; }
+    
+a { color: #AA5500; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric4.Preferences.ShortcutDialog</h1>
+<p>
+Module implementing a dialog for the configuration of a keyboard shortcut.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#ShortcutDialog">ShortcutDialog</a></td>
+<td>Class implementing a dialog for the configuration of a keyboard shortcut.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="ShortcutDialog" ID="ShortcutDialog"></a>
+<h2>ShortcutDialog</h2>
+<p>
+    Class implementing a dialog for the configuration of a keyboard shortcut.
+</p><h4>Signals</h4>
+<dl>
+<dt>shortcutChanged(QKeySequence, QKeySequence, bool, objectType)</dt>
+<dd>
+emitted
+        after the OK button was pressed
+</dd>
+</dl>
+<h3>Derived from</h3>
+QDialog, Ui_ShortcutDialog
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#ShortcutDialog.__init__">ShortcutDialog</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#ShortcutDialog.__clear">__clear</a></td>
+<td>Private slot to handle the Clear button press.</td>
+</tr><tr>
+<td><a href="#ShortcutDialog.__setKeyLabelText">__setKeyLabelText</a></td>
+<td>Private method to set the text of a key label.</td>
+</tr><tr>
+<td><a href="#ShortcutDialog.__typeChanged">__typeChanged</a></td>
+<td>Private slot to handle the change of the shortcuts type.</td>
+</tr><tr>
+<td><a href="#ShortcutDialog.eventFilter">eventFilter</a></td>
+<td>Method called to filter the event queue.</td>
+</tr><tr>
+<td><a href="#ShortcutDialog.keyPressEvent">keyPressEvent</a></td>
+<td>Private method to handle a key press event.</td>
+</tr><tr>
+<td><a href="#ShortcutDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td>
+<td>Private slot to handle the OK button press.</td>
+</tr><tr>
+<td><a href="#ShortcutDialog.setKeys">setKeys</a></td>
+<td>Public method to set the key to be configured.</td>
+</tr>
+</table>
+<a NAME="ShortcutDialog.__init__" ID="ShortcutDialog.__init__"></a>
+<h4>ShortcutDialog (Constructor)</h4>
+<b>ShortcutDialog</b>(<i>parent = None, name = None, modal = False</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>parent</i></dt>
+<dd>
+The parent widget of this dialog. (QWidget)
+</dd><dt><i>name</i></dt>
+<dd>
+The name of this dialog. (string)
+</dd><dt><i>modal</i></dt>
+<dd>
+Flag indicating a modal dialog. (boolean)
+</dd>
+</dl><a NAME="ShortcutDialog.__clear" ID="ShortcutDialog.__clear"></a>
+<h4>ShortcutDialog.__clear</h4>
+<b>__clear</b>(<i></i>)
+<p>
+        Private slot to handle the Clear button press.
+</p><a NAME="ShortcutDialog.__setKeyLabelText" ID="ShortcutDialog.__setKeyLabelText"></a>
+<h4>ShortcutDialog.__setKeyLabelText</h4>
+<b>__setKeyLabelText</b>(<i>txt</i>)
+<p>
+        Private method to set the text of a key label.
+</p><dl>
+<dt><i>txt</i></dt>
+<dd>
+text to be set (string)
+</dd>
+</dl><a NAME="ShortcutDialog.__typeChanged" ID="ShortcutDialog.__typeChanged"></a>
+<h4>ShortcutDialog.__typeChanged</h4>
+<b>__typeChanged</b>(<i></i>)
+<p>
+        Private slot to handle the change of the shortcuts type.
+</p><a NAME="ShortcutDialog.eventFilter" ID="ShortcutDialog.eventFilter"></a>
+<h4>ShortcutDialog.eventFilter</h4>
+<b>eventFilter</b>(<i>watched, event</i>)
+<p>
+        Method called to filter the event queue.
+</p><dl>
+<dt><i>watched</i></dt>
+<dd>
+the QObject being watched
+</dd><dt><i>event</i></dt>
+<dd>
+the event that occurred
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+always False
+</dd>
+</dl><a NAME="ShortcutDialog.keyPressEvent" ID="ShortcutDialog.keyPressEvent"></a>
+<h4>ShortcutDialog.keyPressEvent</h4>
+<b>keyPressEvent</b>(<i>evt</i>)
+<p>
+        Private method to handle a key press event.
+</p><dl>
+<dt><i>evt</i></dt>
+<dd>
+the key event (QKeyEvent)
+</dd>
+</dl><a NAME="ShortcutDialog.on_buttonBox_accepted" ID="ShortcutDialog.on_buttonBox_accepted"></a>
+<h4>ShortcutDialog.on_buttonBox_accepted</h4>
+<b>on_buttonBox_accepted</b>(<i></i>)
+<p>
+        Private slot to handle the OK button press.
+</p><a NAME="ShortcutDialog.setKeys" ID="ShortcutDialog.setKeys"></a>
+<h4>ShortcutDialog.setKeys</h4>
+<b>setKeys</b>(<i>key, alternateKey, noCheck, objectType</i>)
+<p>
+        Public method to set the key to be configured.
+</p><dl>
+<dt><i>key</i></dt>
+<dd>
+key sequence to be changed (QKeySequence)
+</dd><dt><i>alternateKey</i></dt>
+<dd>
+alternate key sequence to be changed (QKeySequence)
+</dd><dt><i>noCheck</i></dt>
+<dd>
+flag indicating that no uniqueness check should
+            be performed (boolean)
+</dd><dt><i>objectType</i></dt>
+<dd>
+type of the object (string).
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial