eric6/Documentation/Source/eric6.Preferences.MouseClickDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Preferences.MouseClickDialog</h1> 23 <h1>eric6.Preferences.MouseClickDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog for the configuration of a mouse click sequence. 26 Module implementing a dialog for the configuration of a mouse click sequence.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#MouseClickDialog">MouseClickDialog</a></td> 38 <td><a href="#MouseClickDialog">MouseClickDialog</a></td>
34 <td>Class implementing a dialog for the configuration of a mouse click sequence.</td> 39 <td>Class implementing a dialog for the configuration of a mouse click sequence.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="MouseClickDialog" ID="MouseClickDialog"></a> 49 <a NAME="MouseClickDialog" ID="MouseClickDialog"></a>
43 <h2>MouseClickDialog</h2> 50 <h2>MouseClickDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog for the configuration of a mouse click 53 Class implementing a dialog for the configuration of a mouse click
46 sequence. 54 sequence.
47 </p> 55 </p>
48 <h3>Derived from</h3> 56 <h3>Derived from</h3>
49 QDialog, Ui_MouseClickDialog 57 QDialog, Ui_MouseClickDialog
50 <h3>Class Attributes</h3> 58 <h3>Class Attributes</h3>
59
51 <table> 60 <table>
52 <tr><td>None</td></tr> 61 <tr><td>None</td></tr>
53 </table> 62 </table>
54 <h3>Class Methods</h3> 63 <h3>Class Methods</h3>
64
55 <table> 65 <table>
56 <tr><td>None</td></tr> 66 <tr><td>None</td></tr>
57 </table> 67 </table>
58 <h3>Methods</h3> 68 <h3>Methods</h3>
69
59 <table> 70 <table>
71
60 <tr> 72 <tr>
61 <td><a href="#MouseClickDialog.__init__">MouseClickDialog</a></td> 73 <td><a href="#MouseClickDialog.__init__">MouseClickDialog</a></td>
62 <td>Constructor</td> 74 <td>Constructor</td>
63 </tr><tr> 75 </tr>
76 <tr>
64 <td><a href="#MouseClickDialog.__showClickText">__showClickText</a></td> 77 <td><a href="#MouseClickDialog.__showClickText">__showClickText</a></td>
65 <td>Private method to show a string representing the entered mouse click sequence.</td> 78 <td>Private method to show a string representing the entered mouse click sequence.</td>
66 </tr><tr> 79 </tr>
80 <tr>
67 <td><a href="#MouseClickDialog.eventFilter">eventFilter</a></td> 81 <td><a href="#MouseClickDialog.eventFilter">eventFilter</a></td>
68 <td>Public method called to filter the event queue.</td> 82 <td>Public method called to filter the event queue.</td>
69 </tr><tr> 83 </tr>
84 <tr>
70 <td><a href="#MouseClickDialog.getClick">getClick</a></td> 85 <td><a href="#MouseClickDialog.getClick">getClick</a></td>
71 <td>Public method to get the entered mouse click sequence.</td> 86 <td>Public method to get the entered mouse click sequence.</td>
72 </tr><tr> 87 </tr>
88 <tr>
73 <td><a href="#MouseClickDialog.on_clearButton_clicked">on_clearButton_clicked</a></td> 89 <td><a href="#MouseClickDialog.on_clearButton_clicked">on_clearButton_clicked</a></td>
74 <td>Private slot to clear the entered sequence.</td> 90 <td>Private slot to clear the entered sequence.</td>
75 </tr> 91 </tr>
76 </table> 92 </table>
77 <h3>Static Methods</h3> 93 <h3>Static Methods</h3>
94
78 <table> 95 <table>
79 <tr><td>None</td></tr> 96 <tr><td>None</td></tr>
80 </table> 97 </table>
98
81 <a NAME="MouseClickDialog.__init__" ID="MouseClickDialog.__init__"></a> 99 <a NAME="MouseClickDialog.__init__" ID="MouseClickDialog.__init__"></a>
82 <h4>MouseClickDialog (Constructor)</h4> 100 <h4>MouseClickDialog (Constructor)</h4>
83 <b>MouseClickDialog</b>(<i>modifiers, button, parent=None</i>) 101 <b>MouseClickDialog</b>(<i>modifiers, button, parent=None</i>)
102
84 <p> 103 <p>
85 Constructor 104 Constructor
86 </p><dl> 105 </p>
106 <dl>
107
87 <dt><i>modifiers</i> (Qt.KeyboardModifiers)</dt> 108 <dt><i>modifiers</i> (Qt.KeyboardModifiers)</dt>
88 <dd> 109 <dd>
89 keyboard modifiers of the handler 110 keyboard modifiers of the handler
90 </dd><dt><i>button</i> (Qt.MouseButton)</dt> 111 </dd>
112 <dt><i>button</i> (Qt.MouseButton)</dt>
91 <dd> 113 <dd>
92 mouse button of the handler 114 mouse button of the handler
93 </dd><dt><i>parent</i> (QWidget)</dt> 115 </dd>
116 <dt><i>parent</i> (QWidget)</dt>
94 <dd> 117 <dd>
95 reference to the parent widget 118 reference to the parent widget
96 </dd> 119 </dd>
97 </dl><a NAME="MouseClickDialog.__showClickText" ID="MouseClickDialog.__showClickText"></a> 120 </dl>
121 <a NAME="MouseClickDialog.__showClickText" ID="MouseClickDialog.__showClickText"></a>
98 <h4>MouseClickDialog.__showClickText</h4> 122 <h4>MouseClickDialog.__showClickText</h4>
99 <b>__showClickText</b>(<i></i>) 123 <b>__showClickText</b>(<i></i>)
124
100 <p> 125 <p>
101 Private method to show a string representing the entered mouse click 126 Private method to show a string representing the entered mouse click
102 sequence. 127 sequence.
103 </p><a NAME="MouseClickDialog.eventFilter" ID="MouseClickDialog.eventFilter"></a> 128 </p>
129 <a NAME="MouseClickDialog.eventFilter" ID="MouseClickDialog.eventFilter"></a>
104 <h4>MouseClickDialog.eventFilter</h4> 130 <h4>MouseClickDialog.eventFilter</h4>
105 <b>eventFilter</b>(<i>watched, event</i>) 131 <b>eventFilter</b>(<i>watched, event</i>)
132
106 <p> 133 <p>
107 Public method called to filter the event queue. 134 Public method called to filter the event queue.
108 </p><dl> 135 </p>
136 <dl>
137
109 <dt><i>watched</i> (QObject)</dt> 138 <dt><i>watched</i> (QObject)</dt>
110 <dd> 139 <dd>
111 reference to the watched object 140 reference to the watched object
112 </dd><dt><i>event</i> (QEvent)</dt> 141 </dd>
142 <dt><i>event</i> (QEvent)</dt>
113 <dd> 143 <dd>
114 reference to the event that occurred 144 reference to the event that occurred
115 </dd> 145 </dd>
116 </dl><dl> 146 </dl>
147 <dl>
117 <dt>Returns:</dt> 148 <dt>Returns:</dt>
118 <dd> 149 <dd>
119 flag indicating a handled event 150 flag indicating a handled event
120 </dd> 151 </dd>
121 </dl><dl> 152 </dl>
153 <dl>
122 <dt>Return Type:</dt> 154 <dt>Return Type:</dt>
123 <dd> 155 <dd>
124 bool 156 bool
125 </dd> 157 </dd>
126 </dl><a NAME="MouseClickDialog.getClick" ID="MouseClickDialog.getClick"></a> 158 </dl>
159 <a NAME="MouseClickDialog.getClick" ID="MouseClickDialog.getClick"></a>
127 <h4>MouseClickDialog.getClick</h4> 160 <h4>MouseClickDialog.getClick</h4>
128 <b>getClick</b>(<i></i>) 161 <b>getClick</b>(<i></i>)
162
129 <p> 163 <p>
130 Public method to get the entered mouse click sequence. 164 Public method to get the entered mouse click sequence.
131 </p><dl> 165 </p>
166 <dl>
132 <dt>Returns:</dt> 167 <dt>Returns:</dt>
133 <dd> 168 <dd>
134 tuple containing the modifiers and the mouse button 169 tuple containing the modifiers and the mouse button
135 </dd> 170 </dd>
136 </dl><dl> 171 </dl>
172 <dl>
137 <dt>Return Type:</dt> 173 <dt>Return Type:</dt>
138 <dd> 174 <dd>
139 tuple of Qt.KeyboardModifiers and Qt.MouseButton 175 tuple of Qt.KeyboardModifiers and Qt.MouseButton
140 </dd> 176 </dd>
141 </dl><a NAME="MouseClickDialog.on_clearButton_clicked" ID="MouseClickDialog.on_clearButton_clicked"></a> 177 </dl>
178 <a NAME="MouseClickDialog.on_clearButton_clicked" ID="MouseClickDialog.on_clearButton_clicked"></a>
142 <h4>MouseClickDialog.on_clearButton_clicked</h4> 179 <h4>MouseClickDialog.on_clearButton_clicked</h4>
143 <b>on_clearButton_clicked</b>(<i></i>) 180 <b>on_clearButton_clicked</b>(<i></i>)
181
144 <p> 182 <p>
145 Private slot to clear the entered sequence. 183 Private slot to clear the entered sequence.
146 </p> 184 </p>
147 <div align="right"><a href="#top">Up</a></div> 185 <div align="right"><a href="#top">Up</a></div>
148 <hr /> 186 <hr />

eric ide

mercurial