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