|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to enter the data for a built-in assignment to |
|
27 be ignored. |
|
28 </p> |
|
29 <h3>Global Attributes</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <h3>Classes</h3> |
|
35 |
|
36 <table> |
|
37 |
|
38 <tr> |
|
39 <td><a href="#CodeStyleAddBuiltinIgnoreDialog">CodeStyleAddBuiltinIgnoreDialog</a></td> |
|
40 <td>Class implementing a dialog to enter the data for a built-in assignment to be ignored.</td> |
|
41 </tr> |
|
42 </table> |
|
43 <h3>Functions</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <hr /> |
|
49 <hr /> |
|
50 <a NAME="CodeStyleAddBuiltinIgnoreDialog" ID="CodeStyleAddBuiltinIgnoreDialog"></a> |
|
51 <h2>CodeStyleAddBuiltinIgnoreDialog</h2> |
|
52 |
|
53 <p> |
|
54 Class implementing a dialog to enter the data for a built-in assignment to |
|
55 be ignored. |
|
56 </p> |
|
57 <h3>Derived from</h3> |
|
58 QDialog, Ui_CodeStyleAddBuiltinIgnoreDialog |
|
59 <h3>Class Attributes</h3> |
|
60 |
|
61 <table> |
|
62 <tr><td>None</td></tr> |
|
63 </table> |
|
64 <h3>Class Methods</h3> |
|
65 |
|
66 <table> |
|
67 <tr><td>None</td></tr> |
|
68 </table> |
|
69 <h3>Methods</h3> |
|
70 |
|
71 <table> |
|
72 |
|
73 <tr> |
|
74 <td><a href="#CodeStyleAddBuiltinIgnoreDialog.__init__">CodeStyleAddBuiltinIgnoreDialog</a></td> |
|
75 <td>Constructor</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#CodeStyleAddBuiltinIgnoreDialog.__updateOkButton">__updateOkButton</a></td> |
|
79 <td>Private slot to set the state of the OK button.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#CodeStyleAddBuiltinIgnoreDialog.getData">getData</a></td> |
|
83 <td>Public method to get the entered data.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#CodeStyleAddBuiltinIgnoreDialog.on_leftEdit_textChanged">on_leftEdit_textChanged</a></td> |
|
87 <td>Private slot to handle a change of the text of the left side edit.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#CodeStyleAddBuiltinIgnoreDialog.on_rightEdit_textChanged">on_rightEdit_textChanged</a></td> |
|
91 <td>Private slot to handle a change of the text of the right side edit.</td> |
|
92 </tr> |
|
93 </table> |
|
94 <h3>Static Methods</h3> |
|
95 |
|
96 <table> |
|
97 <tr><td>None</td></tr> |
|
98 </table> |
|
99 |
|
100 <a NAME="CodeStyleAddBuiltinIgnoreDialog.__init__" ID="CodeStyleAddBuiltinIgnoreDialog.__init__"></a> |
|
101 <h4>CodeStyleAddBuiltinIgnoreDialog (Constructor)</h4> |
|
102 <b>CodeStyleAddBuiltinIgnoreDialog</b>(<i>parent=None</i>) |
|
103 |
|
104 <p> |
|
105 Constructor |
|
106 </p> |
|
107 <dl> |
|
108 |
|
109 <dt><i>parent</i> (QWidget)</dt> |
|
110 <dd> |
|
111 reference to the parent widget |
|
112 </dd> |
|
113 </dl> |
|
114 <a NAME="CodeStyleAddBuiltinIgnoreDialog.__updateOkButton" ID="CodeStyleAddBuiltinIgnoreDialog.__updateOkButton"></a> |
|
115 <h4>CodeStyleAddBuiltinIgnoreDialog.__updateOkButton</h4> |
|
116 <b>__updateOkButton</b>(<i></i>) |
|
117 |
|
118 <p> |
|
119 Private slot to set the state of the OK button. |
|
120 </p> |
|
121 <a NAME="CodeStyleAddBuiltinIgnoreDialog.getData" ID="CodeStyleAddBuiltinIgnoreDialog.getData"></a> |
|
122 <h4>CodeStyleAddBuiltinIgnoreDialog.getData</h4> |
|
123 <b>getData</b>(<i></i>) |
|
124 |
|
125 <p> |
|
126 Public method to get the entered data. |
|
127 </p> |
|
128 <dl> |
|
129 <dt>Return:</dt> |
|
130 <dd> |
|
131 tuple containing the left and right hand side of the assignment |
|
132 </dd> |
|
133 </dl> |
|
134 <dl> |
|
135 <dt>Return Type:</dt> |
|
136 <dd> |
|
137 tuple of two str |
|
138 </dd> |
|
139 </dl> |
|
140 <a NAME="CodeStyleAddBuiltinIgnoreDialog.on_leftEdit_textChanged" ID="CodeStyleAddBuiltinIgnoreDialog.on_leftEdit_textChanged"></a> |
|
141 <h4>CodeStyleAddBuiltinIgnoreDialog.on_leftEdit_textChanged</h4> |
|
142 <b>on_leftEdit_textChanged</b>(<i>txt</i>) |
|
143 |
|
144 <p> |
|
145 Private slot to handle a change of the text of the left side edit. |
|
146 </p> |
|
147 <dl> |
|
148 |
|
149 <dt><i>txt</i> (str)</dt> |
|
150 <dd> |
|
151 text of the line edit |
|
152 </dd> |
|
153 </dl> |
|
154 <a NAME="CodeStyleAddBuiltinIgnoreDialog.on_rightEdit_textChanged" ID="CodeStyleAddBuiltinIgnoreDialog.on_rightEdit_textChanged"></a> |
|
155 <h4>CodeStyleAddBuiltinIgnoreDialog.on_rightEdit_textChanged</h4> |
|
156 <b>on_rightEdit_textChanged</b>(<i>txt</i>) |
|
157 |
|
158 <p> |
|
159 Private slot to handle a change of the text of the right side edit. |
|
160 </p> |
|
161 <dl> |
|
162 |
|
163 <dt><i>txt</i> (str)</dt> |
|
164 <dd> |
|
165 text of the line edit |
|
166 </dd> |
|
167 </dl> |
|
168 <div align="right"><a href="#top">Up</a></div> |
|
169 <hr /> |
|
170 </body></html> |