1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
5
<title>eric4.Checks.TabnannyDialog</title>
9
margin: 0em 1em 10em 1em;
13
h1 { color: white; background: #4FA4FF; }
14
h2 { color: white; background: #4FA4FF; }
15
h3 { color: white; background: #00557F; }
16
h4 { color: white; background: #00557F; }
22
<body><a NAME="top" ID="top"></a>
23
<h1>eric4.Checks.TabnannyDialog</h1>
25
Module implementing a dialog to show the output of the tabnanny command process.
30
<td><a href="#TabnannyDialog">TabnannyDialog</a></td>
31
<td>Class implementing a dialog to show the results of the tabnanny check run.</td>
36
<tr><td>None</td></tr>
39
<a NAME="TabnannyDialog" ID="TabnannyDialog"></a>
40
<h2>TabnannyDialog</h2>
42
Class implementing a dialog to show the results of the tabnanny check run.
45
QDialog, Ui_TabnannyDialog
49
<td><a href="#TabnannyDialog.__init__">TabnannyDialog</a></td>
52
<td><a href="#TabnannyDialog.__createResultItem">__createResultItem</a></td>
53
<td>Private method to create an entry in the result list.</td>
55
<td><a href="#TabnannyDialog.__finish">__finish</a></td>
56
<td>Private slot called when the action or the user pressed the button.</td>
58
<td><a href="#TabnannyDialog.__resort">__resort</a></td>
59
<td>Private method to resort the tree.</td>
61
<td><a href="#TabnannyDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
62
<td>Private slot called by a button of the button box clicked.</td>
64
<td><a href="#TabnannyDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td>
65
<td>Private slot to handle the activation of an item.</td>
67
<td><a href="#TabnannyDialog.start">start</a></td>
68
<td>Public slot to start the tabnanny check.</td>
71
<p><a NAME="TabnannyDialog.__init__" ID="TabnannyDialog.__init__"></a>
72
<h4>TabnannyDialog (Constructor)</h4>
73
<b>TabnannyDialog</b>(<i>parent = None</i>)
77
<dt><i>parent</i></dt>
79
The parent widget (QWidget).
81
</dl><a NAME="TabnannyDialog.__createResultItem" ID="TabnannyDialog.__createResultItem"></a>
82
<h4>TabnannyDialog.__createResultItem</h4>
83
<b>__createResultItem</b>(<i>file, line, sourcecode</i>)
85
Private method to create an entry in the result list.
89
filename of file (string or QString)
90
</dd><dt><i>line</i></dt>
92
linenumber of faulty source (integer or string)
93
</dd><dt><i>sourcecode</i></dt>
95
faulty line of code (string)
97
</dl><a NAME="TabnannyDialog.__finish" ID="TabnannyDialog.__finish"></a>
98
<h4>TabnannyDialog.__finish</h4>
99
<b>__finish</b>(<i></i>)
101
Private slot called when the action or the user pressed the button.
102
</p><a NAME="TabnannyDialog.__resort" ID="TabnannyDialog.__resort"></a>
103
<h4>TabnannyDialog.__resort</h4>
104
<b>__resort</b>(<i></i>)
106
Private method to resort the tree.
107
</p><a NAME="TabnannyDialog.on_buttonBox_clicked" ID="TabnannyDialog.on_buttonBox_clicked"></a>
108
<h4>TabnannyDialog.on_buttonBox_clicked</h4>
109
<b>on_buttonBox_clicked</b>(<i>button</i>)
111
Private slot called by a button of the button box clicked.
113
<dt><i>button</i></dt>
115
button that was clicked (QAbstractButton)
117
</dl><a NAME="TabnannyDialog.on_resultList_itemActivated" ID="TabnannyDialog.on_resultList_itemActivated"></a>
118
<h4>TabnannyDialog.on_resultList_itemActivated</h4>
119
<b>on_resultList_itemActivated</b>(<i>itm, col</i>)
121
Private slot to handle the activation of an item.
125
reference to the activated item (QTreeWidgetItem)
126
</dd><dt><i>col</i></dt>
128
column the item was activated in (integer)
130
</dl><a NAME="TabnannyDialog.start" ID="TabnannyDialog.start"></a>
131
<h4>TabnannyDialog.start</h4>
132
<b>start</b>(<i>fn</i>)
134
Public slot to start the tabnanny check.
138
File or list of files or directory to be checked
139
(string or list of strings)
142
<div align="right"><a href="#top">Up</a></div>
b'\\ No newline at end of file'