--- a/src/eric7/Documentation/Source/eric7.Project.FiletypeAssociationDialog.html Thu Nov 24 16:10:58 2022 +0100 +++ b/src/eric7/Documentation/Source/eric7.Project.FiletypeAssociationDialog.html Thu Nov 24 16:11:55 2022 +0100 @@ -71,6 +71,10 @@ <td>Private method to resort the tree.</td> </tr> <tr> +<td><a href="#FiletypeAssociationDialog.__updateAddButton">__updateAddButton</a></td> +<td>Private method to update the enabled state of the 'add' button.</td> +</tr> +<tr> <td><a href="#FiletypeAssociationDialog.on_addAssociationButton_clicked">on_addAssociationButton_clicked</a></td> <td>Private slot to add the association displayed to the list.</td> </tr> @@ -87,6 +91,10 @@ <td>Private slot to handle the currentItemChanged signal of the association list.</td> </tr> <tr> +<td><a href="#FiletypeAssociationDialog.on_filetypeCombo_currentIndexChanged">on_filetypeCombo_currentIndexChanged</a></td> +<td>Private slot handling the selection of a file type.</td> +</tr> +<tr> <td><a href="#FiletypeAssociationDialog.transferData">transferData</a></td> <td>Public slot to transfer the associations into the projects data structure.</td> </tr> @@ -117,26 +125,36 @@ </dl> <a NAME="FiletypeAssociationDialog.__createItem" ID="FiletypeAssociationDialog.__createItem"></a> <h4>FiletypeAssociationDialog.__createItem</h4> -<b>__createItem</b>(<i>pattern, filetype</i>) +<b>__createItem</b>(<i>pattern, filetypeStr, fileCategory</i>) <p> Private slot to create a new entry in the association list. </p> <dl> -<dt><i>pattern</i></dt> +<dt><i>pattern</i> (str)</dt> <dd> -pattern of the entry (string) +pattern of the entry </dd> -<dt><i>filetype</i></dt> +<dt><i>filetypeStr</i> (str)</dt> <dd> -file type of the entry (string) +file type user string of the entry +</dd> +<dt><i>fileCategory</i> (str)</dt> +<dd> +category of the file </dd> </dl> <dl> <dt>Return:</dt> <dd> -reference to the newly generated entry (QTreeWidgetItem) +reference to the newly generated entry +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QTreeWidgetItem </dd> </dl> <a NAME="FiletypeAssociationDialog.__reformat" ID="FiletypeAssociationDialog.__reformat"></a> @@ -153,6 +171,13 @@ <p> Private method to resort the tree. </p> +<a NAME="FiletypeAssociationDialog.__updateAddButton" ID="FiletypeAssociationDialog.__updateAddButton"></a> +<h4>FiletypeAssociationDialog.__updateAddButton</h4> +<b>__updateAddButton</b>(<i></i>) + +<p> + Private method to update the enabled state of the 'add' button. +</p> <a NAME="FiletypeAssociationDialog.on_addAssociationButton_clicked" ID="FiletypeAssociationDialog.on_addAssociationButton_clicked"></a> <h4>FiletypeAssociationDialog.on_addAssociationButton_clicked</h4> <b>on_addAssociationButton_clicked</b>(<i></i>) @@ -179,7 +204,7 @@ <dt><i>txt</i></dt> <dd> -text of the lineedit (string) +text of the line edit (string) </dd> </dl> <a NAME="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged" ID="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged"></a> @@ -201,6 +226,20 @@ reference to the previous current item (QTreeWidgetItem) </dd> </dl> +<a NAME="FiletypeAssociationDialog.on_filetypeCombo_currentIndexChanged" ID="FiletypeAssociationDialog.on_filetypeCombo_currentIndexChanged"></a> +<h4>FiletypeAssociationDialog.on_filetypeCombo_currentIndexChanged</h4> +<b>on_filetypeCombo_currentIndexChanged</b>(<i>index</i>) + +<p> + Private slot handling the selection of a file type. +</p> +<dl> + +<dt><i>index</i> (int)</dt> +<dd> +index of the selected entry +</dd> +</dl> <a NAME="FiletypeAssociationDialog.transferData" ID="FiletypeAssociationDialog.transferData"></a> <h4>FiletypeAssociationDialog.transferData</h4> <b>transferData</b>(<i></i>)