src/eric7/Documentation/Source/eric7.Project.FiletypeAssociationDialog.html

branch
eric7
changeset 9530
c30f02ea1b27
parent 9209
b99e7fd55fd3
child 9610
b45bccbdf331
equal deleted inserted replaced
9529:5ce1774b3106 9530:c30f02ea1b27
69 <tr> 69 <tr>
70 <td><a href="#FiletypeAssociationDialog.__resort">__resort</a></td> 70 <td><a href="#FiletypeAssociationDialog.__resort">__resort</a></td>
71 <td>Private method to resort the tree.</td> 71 <td>Private method to resort the tree.</td>
72 </tr> 72 </tr>
73 <tr> 73 <tr>
74 <td><a href="#FiletypeAssociationDialog.__updateAddButton">__updateAddButton</a></td>
75 <td>Private method to update the enabled state of the 'add' button.</td>
76 </tr>
77 <tr>
74 <td><a href="#FiletypeAssociationDialog.on_addAssociationButton_clicked">on_addAssociationButton_clicked</a></td> 78 <td><a href="#FiletypeAssociationDialog.on_addAssociationButton_clicked">on_addAssociationButton_clicked</a></td>
75 <td>Private slot to add the association displayed to the list.</td> 79 <td>Private slot to add the association displayed to the list.</td>
76 </tr> 80 </tr>
77 <tr> 81 <tr>
78 <td><a href="#FiletypeAssociationDialog.on_deleteAssociationButton_clicked">on_deleteAssociationButton_clicked</a></td> 82 <td><a href="#FiletypeAssociationDialog.on_deleteAssociationButton_clicked">on_deleteAssociationButton_clicked</a></td>
83 <td>Private slot to handle the textChanged signal of the pattern lineedit.</td> 87 <td>Private slot to handle the textChanged signal of the pattern lineedit.</td>
84 </tr> 88 </tr>
85 <tr> 89 <tr>
86 <td><a href="#FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged">on_filetypeAssociationList_currentItemChanged</a></td> 90 <td><a href="#FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged">on_filetypeAssociationList_currentItemChanged</a></td>
87 <td>Private slot to handle the currentItemChanged signal of the association list.</td> 91 <td>Private slot to handle the currentItemChanged signal of the association list.</td>
92 </tr>
93 <tr>
94 <td><a href="#FiletypeAssociationDialog.on_filetypeCombo_currentIndexChanged">on_filetypeCombo_currentIndexChanged</a></td>
95 <td>Private slot handling the selection of a file type.</td>
88 </tr> 96 </tr>
89 <tr> 97 <tr>
90 <td><a href="#FiletypeAssociationDialog.transferData">transferData</a></td> 98 <td><a href="#FiletypeAssociationDialog.transferData">transferData</a></td>
91 <td>Public slot to transfer the associations into the projects data structure.</td> 99 <td>Public slot to transfer the associations into the projects data structure.</td>
92 </tr> 100 </tr>
115 reference to the parent widget (QWidget) 123 reference to the parent widget (QWidget)
116 </dd> 124 </dd>
117 </dl> 125 </dl>
118 <a NAME="FiletypeAssociationDialog.__createItem" ID="FiletypeAssociationDialog.__createItem"></a> 126 <a NAME="FiletypeAssociationDialog.__createItem" ID="FiletypeAssociationDialog.__createItem"></a>
119 <h4>FiletypeAssociationDialog.__createItem</h4> 127 <h4>FiletypeAssociationDialog.__createItem</h4>
120 <b>__createItem</b>(<i>pattern, filetype</i>) 128 <b>__createItem</b>(<i>pattern, filetypeStr, fileCategory</i>)
121 129
122 <p> 130 <p>
123 Private slot to create a new entry in the association list. 131 Private slot to create a new entry in the association list.
124 </p> 132 </p>
125 <dl> 133 <dl>
126 134
127 <dt><i>pattern</i></dt> 135 <dt><i>pattern</i> (str)</dt>
128 <dd> 136 <dd>
129 pattern of the entry (string) 137 pattern of the entry
130 </dd> 138 </dd>
131 <dt><i>filetype</i></dt> 139 <dt><i>filetypeStr</i> (str)</dt>
132 <dd> 140 <dd>
133 file type of the entry (string) 141 file type user string of the entry
142 </dd>
143 <dt><i>fileCategory</i> (str)</dt>
144 <dd>
145 category of the file
134 </dd> 146 </dd>
135 </dl> 147 </dl>
136 <dl> 148 <dl>
137 <dt>Return:</dt> 149 <dt>Return:</dt>
138 <dd> 150 <dd>
139 reference to the newly generated entry (QTreeWidgetItem) 151 reference to the newly generated entry
152 </dd>
153 </dl>
154 <dl>
155 <dt>Return Type:</dt>
156 <dd>
157 QTreeWidgetItem
140 </dd> 158 </dd>
141 </dl> 159 </dl>
142 <a NAME="FiletypeAssociationDialog.__reformat" ID="FiletypeAssociationDialog.__reformat"></a> 160 <a NAME="FiletypeAssociationDialog.__reformat" ID="FiletypeAssociationDialog.__reformat"></a>
143 <h4>FiletypeAssociationDialog.__reformat</h4> 161 <h4>FiletypeAssociationDialog.__reformat</h4>
144 <b>__reformat</b>(<i></i>) 162 <b>__reformat</b>(<i></i>)
151 <b>__resort</b>(<i></i>) 169 <b>__resort</b>(<i></i>)
152 170
153 <p> 171 <p>
154 Private method to resort the tree. 172 Private method to resort the tree.
155 </p> 173 </p>
174 <a NAME="FiletypeAssociationDialog.__updateAddButton" ID="FiletypeAssociationDialog.__updateAddButton"></a>
175 <h4>FiletypeAssociationDialog.__updateAddButton</h4>
176 <b>__updateAddButton</b>(<i></i>)
177
178 <p>
179 Private method to update the enabled state of the 'add' button.
180 </p>
156 <a NAME="FiletypeAssociationDialog.on_addAssociationButton_clicked" ID="FiletypeAssociationDialog.on_addAssociationButton_clicked"></a> 181 <a NAME="FiletypeAssociationDialog.on_addAssociationButton_clicked" ID="FiletypeAssociationDialog.on_addAssociationButton_clicked"></a>
157 <h4>FiletypeAssociationDialog.on_addAssociationButton_clicked</h4> 182 <h4>FiletypeAssociationDialog.on_addAssociationButton_clicked</h4>
158 <b>on_addAssociationButton_clicked</b>(<i></i>) 183 <b>on_addAssociationButton_clicked</b>(<i></i>)
159 184
160 <p> 185 <p>
177 </p> 202 </p>
178 <dl> 203 <dl>
179 204
180 <dt><i>txt</i></dt> 205 <dt><i>txt</i></dt>
181 <dd> 206 <dd>
182 text of the lineedit (string) 207 text of the line edit (string)
183 </dd> 208 </dd>
184 </dl> 209 </dl>
185 <a NAME="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged" ID="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged"></a> 210 <a NAME="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged" ID="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged"></a>
186 <h4>FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged</h4> 211 <h4>FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged</h4>
187 <b>on_filetypeAssociationList_currentItemChanged</b>(<i>itm, prevItm</i>) 212 <b>on_filetypeAssociationList_currentItemChanged</b>(<i>itm, prevItm</i>)
199 <dt><i>prevItm</i></dt> 224 <dt><i>prevItm</i></dt>
200 <dd> 225 <dd>
201 reference to the previous current item (QTreeWidgetItem) 226 reference to the previous current item (QTreeWidgetItem)
202 </dd> 227 </dd>
203 </dl> 228 </dl>
229 <a NAME="FiletypeAssociationDialog.on_filetypeCombo_currentIndexChanged" ID="FiletypeAssociationDialog.on_filetypeCombo_currentIndexChanged"></a>
230 <h4>FiletypeAssociationDialog.on_filetypeCombo_currentIndexChanged</h4>
231 <b>on_filetypeCombo_currentIndexChanged</b>(<i>index</i>)
232
233 <p>
234 Private slot handling the selection of a file type.
235 </p>
236 <dl>
237
238 <dt><i>index</i> (int)</dt>
239 <dd>
240 index of the selected entry
241 </dd>
242 </dl>
204 <a NAME="FiletypeAssociationDialog.transferData" ID="FiletypeAssociationDialog.transferData"></a> 243 <a NAME="FiletypeAssociationDialog.transferData" ID="FiletypeAssociationDialog.transferData"></a>
205 <h4>FiletypeAssociationDialog.transferData</h4> 244 <h4>FiletypeAssociationDialog.transferData</h4>
206 <b>transferData</b>(<i></i>) 245 <b>transferData</b>(<i></i>)
207 246
208 <p> 247 <p>

eric ide

mercurial