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