Documentation/Source/eric5.Plugins.CheckerPlugins.Tabnanny.TabnannyDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Plugins.CheckerPlugins.Tabnanny.TabnannyDialog</h1> 23 <h1>eric5.Plugins.CheckerPlugins.Tabnanny.TabnannyDialog</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#111;&#102; &#116;&#104;&#101; &#116;&#97;&#98;&#110;&#97;&#110;&#110;y &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 25 Module implementing a dialog to show the output of the tabnanny command process.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#TabnannyDialog">TabnannyDialog</a></td> 34 <td><a href="#TabnannyDialog">TabnannyDialog</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#116;&#97;&#98;&#110;&#97;&#110;&#110;y &#99;&#104;&#101;&#99;&#107; &#114;&#117;&#110;.</td> 35 <td>Class implementing a dialog to show the results of the tabnanny check run.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="TabnannyDialog" ID="TabnannyDialog"></a> 43 <a NAME="TabnannyDialog" ID="TabnannyDialog"></a>
44 <h2>TabnannyDialog</h2> 44 <h2>TabnannyDialog</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116;&#115; &#111;&#102; &#116;&#104;&#101; &#116;&#97;&#98;&#110;&#97;&#110;&#110;y &#99;&#104;&#101;&#99;&#107; &#114;&#117;&#110;. 46 Class implementing a dialog to show the results of the tabnanny check run.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QDialog, Ui_TabnannyDialog 49 QDialog, Ui_TabnannyDialog
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#TabnannyDialog.__init__">TabnannyDialog</a></td> 57 <td><a href="#TabnannyDialog.__init__">TabnannyDialog</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#TabnannyDialog.__createResultItem">__createResultItem</a></td> 60 <td><a href="#TabnannyDialog.__createResultItem">__createResultItem</a></td>
61 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97;&#110; &#101;&#110;&#116;&#114;y &#105;&#110; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116; &#108;&#105;&#115;&#116;.</td> 61 <td>Private method to create an entry in the result list.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#TabnannyDialog.__finish">__finish</a></td> 63 <td><a href="#TabnannyDialog.__finish">__finish</a></td>
64 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101; &#97;&#99;&#116;&#105;&#111;&#110; &#111;&#114; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#112;&#114;&#101;&#115;&#115;&#101;&#100; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110;.</td> 64 <td>Private slot called when the action or the user pressed the button.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#TabnannyDialog.__resort">__resort</a></td> 66 <td><a href="#TabnannyDialog.__resort">__resort</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#114;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;.</td> 67 <td>Private method to resort the tree.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#TabnannyDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 69 <td><a href="#TabnannyDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;.</td> 70 <td>Private slot called by a button of the button box clicked.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#TabnannyDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td> 72 <td><a href="#TabnannyDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97;&#110; &#105;&#116;&#101;&#109;.</td> 73 <td>Private slot to handle the activation of an item.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#TabnannyDialog.start">start</a></td> 75 <td><a href="#TabnannyDialog.start">start</a></td>
76 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#116;&#97;&#98;&#110;&#97;&#110;&#110;y &#99;&#104;&#101;&#99;&#107;.</td> 76 <td>Public slot to start the tabnanny check.</td>
77 </tr> 77 </tr>
78 </table> 78 </table>
79 <a NAME="TabnannyDialog.__init__" ID="TabnannyDialog.__init__"></a> 79 <a NAME="TabnannyDialog.__init__" ID="TabnannyDialog.__init__"></a>
80 <h4>TabnannyDialog (Constructor)</h4> 80 <h4>TabnannyDialog (Constructor)</h4>
81 <b>TabnannyDialog</b>(<i>parent = None</i>) 81 <b>TabnannyDialog</b>(<i>parent = None</i>)
82 <p> 82 <p>
83 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 83 Constructor
84 </p><dl> 84 </p><dl>
85 <dt><i>parent</i></dt> 85 <dt><i>parent</i></dt>
86 <dd> 86 <dd>
87 &#84;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;). 87 The parent widget (QWidget).
88 </dd> 88 </dd>
89 </dl><a NAME="TabnannyDialog.__createResultItem" ID="TabnannyDialog.__createResultItem"></a> 89 </dl><a NAME="TabnannyDialog.__createResultItem" ID="TabnannyDialog.__createResultItem"></a>
90 <h4>TabnannyDialog.__createResultItem</h4> 90 <h4>TabnannyDialog.__createResultItem</h4>
91 <b>__createResultItem</b>(<i>file, line, sourcecode</i>) 91 <b>__createResultItem</b>(<i>file, line, sourcecode</i>)
92 <p> 92 <p>
93 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97;&#110; &#101;&#110;&#116;&#114;y &#105;&#110; &#116;&#104;&#101; &#114;&#101;&#115;&#117;&#108;&#116; &#108;&#105;&#115;&#116;. 93 Private method to create an entry in the result list.
94 </p><dl> 94 </p><dl>
95 <dt><i>file</i></dt> 95 <dt><i>file</i></dt>
96 <dd> 96 <dd>
97 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#111;&#102; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 97 filename of file (string)
98 </dd><dt><i>line</i></dt> 98 </dd><dt><i>line</i></dt>
99 <dd> 99 <dd>
100 &#108;&#105;&#110;&#101;&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#102;&#97;&#117;&#108;&#116;y &#115;&#111;&#117;&#114;&#99;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114; &#111;&#114; &#115;&#116;&#114;&#105;&#110;&#103;) 100 linenumber of faulty source (integer or string)
101 </dd><dt><i>sourcecode</i></dt> 101 </dd><dt><i>sourcecode</i></dt>
102 <dd> 102 <dd>
103 &#102;&#97;&#117;&#108;&#116;y &#108;&#105;&#110;&#101; &#111;&#102; &#99;&#111;&#100;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 103 faulty line of code (string)
104 </dd> 104 </dd>
105 </dl><a NAME="TabnannyDialog.__finish" ID="TabnannyDialog.__finish"></a> 105 </dl><a NAME="TabnannyDialog.__finish" ID="TabnannyDialog.__finish"></a>
106 <h4>TabnannyDialog.__finish</h4> 106 <h4>TabnannyDialog.__finish</h4>
107 <b>__finish</b>(<i></i>) 107 <b>__finish</b>(<i></i>)
108 <p> 108 <p>
109 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101; &#97;&#99;&#116;&#105;&#111;&#110; &#111;&#114; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#112;&#114;&#101;&#115;&#115;&#101;&#100; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110;. 109 Private slot called when the action or the user pressed the button.
110 </p><a NAME="TabnannyDialog.__resort" ID="TabnannyDialog.__resort"></a> 110 </p><a NAME="TabnannyDialog.__resort" ID="TabnannyDialog.__resort"></a>
111 <h4>TabnannyDialog.__resort</h4> 111 <h4>TabnannyDialog.__resort</h4>
112 <b>__resort</b>(<i></i>) 112 <b>__resort</b>(<i></i>)
113 <p> 113 <p>
114 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#114;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;. 114 Private method to resort the tree.
115 </p><a NAME="TabnannyDialog.on_buttonBox_clicked" ID="TabnannyDialog.on_buttonBox_clicked"></a> 115 </p><a NAME="TabnannyDialog.on_buttonBox_clicked" ID="TabnannyDialog.on_buttonBox_clicked"></a>
116 <h4>TabnannyDialog.on_buttonBox_clicked</h4> 116 <h4>TabnannyDialog.on_buttonBox_clicked</h4>
117 <b>on_buttonBox_clicked</b>(<i>button</i>) 117 <b>on_buttonBox_clicked</b>(<i>button</i>)
118 <p> 118 <p>
119 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;. 119 Private slot called by a button of the button box clicked.
120 </p><dl> 120 </p><dl>
121 <dt><i>button</i></dt> 121 <dt><i>button</i></dt>
122 <dd> 122 <dd>
123 &#98;&#117;&#116;&#116;&#111;&#110; &#116;&#104;&#97;&#116; w&#97;&#115; &#99;&#108;&#105;&#99;&#107;&#101;&#100; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#66;&#117;&#116;&#116;&#111;&#110;) 123 button that was clicked (QAbstractButton)
124 </dd> 124 </dd>
125 </dl><a NAME="TabnannyDialog.on_resultList_itemActivated" ID="TabnannyDialog.on_resultList_itemActivated"></a> 125 </dl><a NAME="TabnannyDialog.on_resultList_itemActivated" ID="TabnannyDialog.on_resultList_itemActivated"></a>
126 <h4>TabnannyDialog.on_resultList_itemActivated</h4> 126 <h4>TabnannyDialog.on_resultList_itemActivated</h4>
127 <b>on_resultList_itemActivated</b>(<i>itm, col</i>) 127 <b>on_resultList_itemActivated</b>(<i>itm, col</i>)
128 <p> 128 <p>
129 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97;&#110; &#105;&#116;&#101;&#109;. 129 Private slot to handle the activation of an item.
130 </p><dl> 130 </p><dl>
131 <dt><i>itm</i></dt> 131 <dt><i>itm</i></dt>
132 <dd> 132 <dd>
133 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100; &#105;&#116;&#101;&#109; (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;) 133 reference to the activated item (QTreeWidgetItem)
134 </dd><dt><i>col</i></dt> 134 </dd><dt><i>col</i></dt>
135 <dd> 135 <dd>
136 &#99;&#111;&#108;&#117;&#109;&#110; &#116;&#104;&#101; &#105;&#116;&#101;&#109; w&#97;&#115; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100; &#105;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 136 column the item was activated in (integer)
137 </dd> 137 </dd>
138 </dl><a NAME="TabnannyDialog.start" ID="TabnannyDialog.start"></a> 138 </dl><a NAME="TabnannyDialog.start" ID="TabnannyDialog.start"></a>
139 <h4>TabnannyDialog.start</h4> 139 <h4>TabnannyDialog.start</h4>
140 <b>start</b>(<i>fn</i>) 140 <b>start</b>(<i>fn</i>)
141 <p> 141 <p>
142 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#116;&#97;&#98;&#110;&#97;&#110;&#110;y &#99;&#104;&#101;&#99;&#107;. 142 Public slot to start the tabnanny check.
143 </p><dl> 143 </p><dl>
144 <dt><i>fn</i></dt> 144 <dt><i>fn</i></dt>
145 <dd> 145 <dd>
146 &#70;&#105;&#108;&#101; &#111;&#114; &#108;&#105;&#115;&#116; &#111;&#102; &#102;&#105;&#108;&#101;&#115; &#111;&#114; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#116;&#111; &#98;&#101; &#99;&#104;&#101;&#99;&#107;&#101;&#100; 146 File or list of files or directory to be checked
147 (&#115;&#116;&#114;&#105;&#110;&#103; &#111;&#114; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 147 (string or list of strings)
148 </dd> 148 </dd>
149 </dl> 149 </dl>
150 <div align="right"><a href="#top">Up</a></div> 150 <div align="right"><a href="#top">Up</a></div>
151 <hr /> 151 <hr />
152 </body></html> 152 </body></html>

eric ide

mercurial