Documentation/Source/eric5.Helpviewer.History.HistoryTreeModel.html

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
equal deleted inserted replaced
16:892c1787d666 17:edde1fe80b3e
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'>
4 <html><head>
5 <title>eric5.Helpviewer.History.HistoryTreeModel</title>
6 <style>
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n'
8 </style>
9 </head>
10 <body><a NAME="top" ID="top"></a>
11 <h1>eric5.Helpviewer.History.HistoryTreeModel</h1>
12 <p>
13 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108;.
14 </p>
15 <h3>Global Attributes</h3>
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20 <table>
21 <tr>
22 <td><a href="#HistoryTreeModel">HistoryTreeModel</a></td>
23 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
24 </tr>
25 </table>
26 <h3>Functions</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <hr /><hr />
31 <a NAME="HistoryTreeModel" ID="HistoryTreeModel"></a>
32 <h2>HistoryTreeModel</h2>
33 <p>
34 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108;.
35 </p>
36 <h3>Derived from</h3>
37 QAbstractProxyModel
38 <h3>Class Attributes</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <h3>Methods</h3>
43 <table>
44 <tr>
45 <td><a href="#HistoryTreeModel.__init__">HistoryTreeModel</a></td>
46 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
47 </tr><tr>
48 <td><a href="#HistoryTreeModel.__sourceDateRow">__sourceDateRow</a></td>
49 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#116;&#114;&#97;&#110;&#115;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#116;&#111;&#112; &#108;&#101;v&#101;&#108; &#100;&#97;&#116;&#101; &#114;&#111;w &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#111;&#102;&#102;&#115;&#101;&#116; w&#104;&#101;&#114;&#101; &#116;&#104;&#97;&#116; &#100;&#97;&#116;&#101; &#115;&#116;&#97;&#114;&#116;&#115;.</td>
50 </tr><tr>
51 <td><a href="#HistoryTreeModel.__sourceReset">__sourceReset</a></td>
52 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#114;&#101;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
53 </tr><tr>
54 <td><a href="#HistoryTreeModel.__sourceRowsInserted">__sourceRowsInserted</a></td>
55 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#105;&#110;&#115;&#101;&#114;&#116;&#105;&#111;&#110; &#111;&#102; &#100;&#97;&#116;&#97; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
56 </tr><tr>
57 <td><a href="#HistoryTreeModel.__sourceRowsRemoved">__sourceRowsRemoved</a></td>
58 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#109;&#111;v&#97;&#108; &#111;&#102; &#100;&#97;&#116;&#97; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
59 </tr><tr>
60 <td><a href="#HistoryTreeModel.columnCount">columnCount</a></td>
61 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115;.</td>
62 </tr><tr>
63 <td><a href="#HistoryTreeModel.data">data</a></td>
64 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
65 </tr><tr>
66 <td><a href="#HistoryTreeModel.flags">flags</a></td>
67 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#102;&#108;&#97;&#103;&#115;.</td>
68 </tr><tr>
69 <td><a href="#HistoryTreeModel.hasChildren">hasChildren</a></td>
70 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97;&#110; &#101;&#110;&#116;&#114;y &#104;&#97;&#115; &#115;&#111;&#109;&#101; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110;.</td>
71 </tr><tr>
72 <td><a href="#HistoryTreeModel.headerData">headerData</a></td>
73 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;.</td>
74 </tr><tr>
75 <td><a href="#HistoryTreeModel.index">index</a></td>
76 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97;&#110; &#105;&#110;&#100;&#101;x.</td>
77 </tr><tr>
78 <td><a href="#HistoryTreeModel.mapFromSource">mapFromSource</a></td>
79 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#97;&#110; &#105;&#110;&#100;&#101;x &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x.</td>
80 </tr><tr>
81 <td><a href="#HistoryTreeModel.mapToSource">mapToSource</a></td>
82 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#97;&#110; &#105;&#110;&#100;&#101;x &#116;&#111; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x.</td>
83 </tr><tr>
84 <td><a href="#HistoryTreeModel.parent">parent</a></td>
85 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x.</td>
86 </tr><tr>
87 <td><a href="#HistoryTreeModel.removeRows">removeRows</a></td>
88 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
89 </tr><tr>
90 <td><a href="#HistoryTreeModel.rowCount">rowCount</a></td>
91 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115;.</td>
92 </tr><tr>
93 <td><a href="#HistoryTreeModel.setSourceModel">setSourceModel</a></td>
94 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
95 </tr>
96 </table>
97 <a NAME="HistoryTreeModel.__init__" ID="HistoryTreeModel.__init__"></a>
98 <h4>HistoryTreeModel (Constructor)</h4>
99 <b>HistoryTreeModel</b>(<i>sourceModel, parent = None</i>)
100 <p>
101 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
102 </p><dl>
103 <dt><i>sourceModel</i></dt>
104 <dd>
105 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#73;&#116;&#101;&#109;&#77;&#111;&#100;&#101;&#108;)
106 </dd><dt><i>parent</i></dt>
107 <dd>
108 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;)
109 </dd>
110 </dl><a NAME="HistoryTreeModel.__sourceDateRow" ID="HistoryTreeModel.__sourceDateRow"></a>
111 <h4>HistoryTreeModel.__sourceDateRow</h4>
112 <b>__sourceDateRow</b>(<i>row</i>)
113 <p>
114 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#116;&#114;&#97;&#110;&#115;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#116;&#111;&#112; &#108;&#101;v&#101;&#108; &#100;&#97;&#116;&#101; &#114;&#111;w &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#111;&#102;&#102;&#115;&#101;&#116;
115 w&#104;&#101;&#114;&#101; &#116;&#104;&#97;&#116; &#100;&#97;&#116;&#101; &#115;&#116;&#97;&#114;&#116;&#115;.
116 </p><dl>
117 <dt><i>row</i></dt>
118 <dd>
119 &#114;&#111;w &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
120 </dd>
121 </dl><dl>
122 <dt>Returns:</dt>
123 <dd>
124 &#111;&#102;&#102;&#115;&#101;&#116; w&#104;&#101;&#114;&#101; &#116;&#104;&#97;&#116; &#100;&#97;&#116;&#101; &#115;&#116;&#97;&#114;&#116;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
125 </dd>
126 </dl><a NAME="HistoryTreeModel.__sourceReset" ID="HistoryTreeModel.__sourceReset"></a>
127 <h4>HistoryTreeModel.__sourceReset</h4>
128 <b>__sourceReset</b>(<i></i>)
129 <p>
130 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#114;&#101;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.
131 </p><a NAME="HistoryTreeModel.__sourceRowsInserted" ID="HistoryTreeModel.__sourceRowsInserted"></a>
132 <h4>HistoryTreeModel.__sourceRowsInserted</h4>
133 <b>__sourceRowsInserted</b>(<i>parent, start, end</i>)
134 <p>
135 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#105;&#110;&#115;&#101;&#114;&#116;&#105;&#111;&#110; &#111;&#102; &#100;&#97;&#116;&#97; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.
136 </p><dl>
137 <dt><i>parent</i></dt>
138 <dd>
139 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
140 </dd><dt><i>start</i></dt>
141 <dd>
142 &#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
143 </dd><dt><i>end</i></dt>
144 <dd>
145 &#101;&#110;&#100; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
146 </dd>
147 </dl><a NAME="HistoryTreeModel.__sourceRowsRemoved" ID="HistoryTreeModel.__sourceRowsRemoved"></a>
148 <h4>HistoryTreeModel.__sourceRowsRemoved</h4>
149 <b>__sourceRowsRemoved</b>(<i>parent, start, end</i>)
150 <p>
151 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#109;&#111;v&#97;&#108; &#111;&#102; &#100;&#97;&#116;&#97; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.
152 </p><dl>
153 <dt><i>parent</i></dt>
154 <dd>
155 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
156 </dd><dt><i>start</i></dt>
157 <dd>
158 &#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
159 </dd><dt><i>end</i></dt>
160 <dd>
161 &#101;&#110;&#100; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
162 </dd>
163 </dl><a NAME="HistoryTreeModel.columnCount" ID="HistoryTreeModel.columnCount"></a>
164 <h4>HistoryTreeModel.columnCount</h4>
165 <b>columnCount</b>(<i>parent = QModelIndex()</i>)
166 <p>
167 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115;.
168 </p><dl>
169 <dt><i>parent</i></dt>
170 <dd>
171 &#105;&#110;&#100;&#101;x &#111;&#102; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
172 </dd>
173 </dl><dl>
174 <dt>Returns:</dt>
175 <dd>
176 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
177 </dd>
178 </dl><a NAME="HistoryTreeModel.data" ID="HistoryTreeModel.data"></a>
179 <h4>HistoryTreeModel.data</h4>
180 <b>data</b>(<i>index, role = Qt.DisplayRole</i>)
181 <p>
182 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
183 </p><dl>
184 <dt><i>index</i></dt>
185 <dd>
186 &#105;&#110;&#100;&#101;x &#111;&#102; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#111;&#114; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
187 </dd><dt><i>role</i></dt>
188 <dd>
189 &#100;&#97;&#116;&#97; &#114;&#111;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
190 </dd>
191 </dl><dl>
192 <dt>Returns:</dt>
193 <dd>
194 &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#100;&#97;&#116;&#97;
195 </dd>
196 </dl><a NAME="HistoryTreeModel.flags" ID="HistoryTreeModel.flags"></a>
197 <h4>HistoryTreeModel.flags</h4>
198 <b>flags</b>(<i>index</i>)
199 <p>
200 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#102;&#108;&#97;&#103;&#115;.
201 </p><dl>
202 <dt><i>index</i></dt>
203 <dd>
204 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#105;&#116;&#101;&#109; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
205 </dd>
206 </dl><dl>
207 <dt>Returns:</dt>
208 <dd>
209 &#102;&#108;&#97;&#103;&#115; (&#81;&#116;.&#73;&#116;&#101;&#109;&#70;&#108;&#97;&#103;&#115;)
210 </dd>
211 </dl><a NAME="HistoryTreeModel.hasChildren" ID="HistoryTreeModel.hasChildren"></a>
212 <h4>HistoryTreeModel.hasChildren</h4>
213 <b>hasChildren</b>(<i>parent = QModelIndex()</i>)
214 <p>
215 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97;&#110; &#101;&#110;&#116;&#114;y &#104;&#97;&#115; &#115;&#111;&#109;&#101; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110;.
216 </p><dl>
217 <dt><i>parent</i></dt>
218 <dd>
219 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#99;&#104;&#101;&#99;&#107; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
220 </dd>
221 </dl><dl>
222 <dt>Returns:</dt>
223 <dd>
224 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#112;&#114;&#101;&#115;&#101;&#110;&#99;&#101; &#111;&#102; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
225 </dd>
226 </dl><a NAME="HistoryTreeModel.headerData" ID="HistoryTreeModel.headerData"></a>
227 <h4>HistoryTreeModel.headerData</h4>
228 <b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>)
229 <p>
230 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;.
231 </p><dl>
232 <dt><i>section</i></dt>
233 <dd>
234 &#115;&#101;&#99;&#116;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
235 </dd><dt><i>orientation</i></dt>
236 <dd>
237 &#104;&#101;&#97;&#100;&#101;&#114; &#111;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; (&#81;&#116;.&#79;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;)
238 </dd><dt><i>role</i></dt>
239 <dd>
240 &#100;&#97;&#116;&#97; &#114;&#111;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
241 </dd>
242 </dl><dl>
243 <dt>Returns:</dt>
244 <dd>
245 &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;
246 </dd>
247 </dl><a NAME="HistoryTreeModel.index" ID="HistoryTreeModel.index"></a>
248 <h4>HistoryTreeModel.index</h4>
249 <b>index</b>(<i>row, column, parent = QModelIndex()</i>)
250 <p>
251 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97;&#110; &#105;&#110;&#100;&#101;x.
252 </p><dl>
253 <dt><i>row</i></dt>
254 <dd>
255 &#114;&#111;w &#110;&#117;&#109;&#98;&#101;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#105;&#110;&#100;&#101;x (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
256 </dd><dt><i>column</i></dt>
257 <dd>
258 &#99;&#111;&#108;&#117;&#109;&#110; &#110;&#117;&#109;&#98;&#101;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#105;&#110;&#100;&#101;x (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
259 </dd><dt><i>parent</i></dt>
260 <dd>
261 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#116;&#101;&#109; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
262 </dd>
263 </dl><dl>
264 <dt>Returns:</dt>
265 <dd>
266 &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
267 </dd>
268 </dl><a NAME="HistoryTreeModel.mapFromSource" ID="HistoryTreeModel.mapFromSource"></a>
269 <h4>HistoryTreeModel.mapFromSource</h4>
270 <b>mapFromSource</b>(<i>sourceIndex</i>)
271 <p>
272 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#97;&#110; &#105;&#110;&#100;&#101;x &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x.
273 </p><dl>
274 <dt><i>sourceIndex</i></dt>
275 <dd>
276 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#97; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
277 </dd>
278 </dl><dl>
279 <dt>Returns:</dt>
280 <dd>
281 &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
282 </dd>
283 </dl><a NAME="HistoryTreeModel.mapToSource" ID="HistoryTreeModel.mapToSource"></a>
284 <h4>HistoryTreeModel.mapToSource</h4>
285 <b>mapToSource</b>(<i>proxyIndex</i>)
286 <p>
287 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#97;&#110; &#105;&#110;&#100;&#101;x &#116;&#111; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x.
288 </p><dl>
289 <dt><i>proxyIndex</i></dt>
290 <dd>
291 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#97; &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
292 </dd>
293 </dl><dl>
294 <dt>Returns:</dt>
295 <dd>
296 &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
297 </dd>
298 </dl><a NAME="HistoryTreeModel.parent" ID="HistoryTreeModel.parent"></a>
299 <h4>HistoryTreeModel.parent</h4>
300 <b>parent</b>(<i>index</i>)
301 <p>
302 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x.
303 </p><dl>
304 <dt><i>index</i></dt>
305 <dd>
306 &#105;&#110;&#100;&#101;x &#111;&#102; &#105;&#116;&#101;&#109; &#116;&#111; &#103;&#101;&#116; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
307 </dd>
308 </dl><dl>
309 <dt>Returns:</dt>
310 <dd>
311 &#105;&#110;&#100;&#101;x &#111;&#102; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
312 </dd>
313 </dl><a NAME="HistoryTreeModel.removeRows" ID="HistoryTreeModel.removeRows"></a>
314 <h4>HistoryTreeModel.removeRows</h4>
315 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>)
316 <p>
317 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
318 </p><dl>
319 <dt><i>row</i></dt>
320 <dd>
321 &#114;&#111;w &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#101;&#110;&#116;&#114;y &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
322 </dd><dt><i>count</i></dt>
323 <dd>
324 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
325 </dd><dt><i>index</i></dt>
326 <dd>
327 &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#101;&#110;&#116;&#114;y (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
328 </dd>
329 </dl><dl>
330 <dt>Returns:</dt>
331 <dd>
332 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#114;&#101;&#109;&#111;v&#97;&#108; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
333 </dd>
334 </dl><a NAME="HistoryTreeModel.rowCount" ID="HistoryTreeModel.rowCount"></a>
335 <h4>HistoryTreeModel.rowCount</h4>
336 <b>rowCount</b>(<i>parent = QModelIndex()</i>)
337 <p>
338 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115;.
339 </p><dl>
340 <dt><i>parent</i></dt>
341 <dd>
342 &#105;&#110;&#100;&#101;x &#111;&#102; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
343 </dd>
344 </dl><dl>
345 <dt>Returns:</dt>
346 <dd>
347 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
348 </dd>
349 </dl><a NAME="HistoryTreeModel.setSourceModel" ID="HistoryTreeModel.setSourceModel"></a>
350 <h4>HistoryTreeModel.setSourceModel</h4>
351 <b>setSourceModel</b>(<i>sourceModel</i>)
352 <p>
353 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.
354 </p><dl>
355 <dt><i>sourceModel</i></dt>
356 <dd>
357 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#73;&#116;&#101;&#109;&#77;&#111;&#100;&#101;&#108;)
358 </dd>
359 </dl>
360 <div align="right"><a href="#top">Up</a></div>
361 <hr />
362 </body></html>

eric ide

mercurial