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

branch
eric7
changeset 9610
b45bccbdf331
parent 9530
c30f02ea1b27
child 10430
e440aaf179ce
--- a/src/eric7/Documentation/Source/eric7.Project.FiletypeAssociationDialog.html	Sun Dec 11 15:49:39 2022 +0100
+++ b/src/eric7/Documentation/Source/eric7.Project.FiletypeAssociationDialog.html	Sun Dec 11 17:33:46 2022 +0100
@@ -75,6 +75,10 @@
 <td>Private method to update the enabled state of the 'add' button.</td>
 </tr>
 <tr>
+<td><a href="#FiletypeAssociationDialog.getData">getData</a></td>
+<td>Public method to get the entered associations into.</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,17 +91,13 @@
 <td>Private slot to handle the textChanged signal of the pattern lineedit.</td>
 </tr>
 <tr>
-<td><a href="#FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged">on_filetypeAssociationList_currentItemChanged</a></td>
-<td>Private slot to handle the currentItemChanged signal of the association list.</td>
+<td><a href="#FiletypeAssociationDialog.on_filetypeAssociationList_itemSelectionChanged">on_filetypeAssociationList_itemSelectionChanged</a></td>
+<td>Private slot to handle a change of the selected item.</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>
 </table>
 <h3>Static Methods</h3>
 
@@ -107,20 +107,24 @@
 
 <a NAME="FiletypeAssociationDialog.__init__" ID="FiletypeAssociationDialog.__init__"></a>
 <h4>FiletypeAssociationDialog (Constructor)</h4>
-<b>FiletypeAssociationDialog</b>(<i>project, parent=None</i>)
+<b>FiletypeAssociationDialog</b>(<i>project, fileTypesDict, parent=None</i>)
 
 <p>
         Constructor
 </p>
 <dl>
 
-<dt><i>project</i></dt>
+<dt><i>project</i> (Project)</dt>
 <dd>
 reference to the project object
 </dd>
-<dt><i>parent</i></dt>
+<dt><i>fileTypesDict</i> (dict)</dt>
 <dd>
-reference to the parent widget (QWidget)
+dictionary containing the file type associations
+</dd>
+<dt><i>parent</i> (QWidget (optional))</dt>
+<dd>
+reference to the parent widget (defaults to None)
 </dd>
 </dl>
 <a NAME="FiletypeAssociationDialog.__createItem" ID="FiletypeAssociationDialog.__createItem"></a>
@@ -178,6 +182,25 @@
 <p>
         Private method to update the enabled state of the 'add' button.
 </p>
+<a NAME="FiletypeAssociationDialog.getData" ID="FiletypeAssociationDialog.getData"></a>
+<h4>FiletypeAssociationDialog.getData</h4>
+<b>getData</b>(<i></i>)
+
+<p>
+        Public method to get the entered associations into.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+dictionary containing the defined file type associations
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+dict
+</dd>
+</dl>
 <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>)
@@ -207,25 +230,13 @@
 text of the line edit (string)
 </dd>
 </dl>
-<a NAME="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged" ID="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged"></a>
-<h4>FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged</h4>
-<b>on_filetypeAssociationList_currentItemChanged</b>(<i>itm, prevItm</i>)
+<a NAME="FiletypeAssociationDialog.on_filetypeAssociationList_itemSelectionChanged" ID="FiletypeAssociationDialog.on_filetypeAssociationList_itemSelectionChanged"></a>
+<h4>FiletypeAssociationDialog.on_filetypeAssociationList_itemSelectionChanged</h4>
+<b>on_filetypeAssociationList_itemSelectionChanged</b>(<i></i>)
 
 <p>
-        Private slot to handle the currentItemChanged signal of the
-        association list.
+        Private slot to handle a change of the selected item.
 </p>
-<dl>
-
-<dt><i>itm</i></dt>
-<dd>
-reference to the new current item (QTreeWidgetItem)
-</dd>
-<dt><i>prevItm</i></dt>
-<dd>
-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>)
@@ -240,14 +251,6 @@
 index of the selected entry
 </dd>
 </dl>
-<a NAME="FiletypeAssociationDialog.transferData" ID="FiletypeAssociationDialog.transferData"></a>
-<h4>FiletypeAssociationDialog.transferData</h4>
-<b>transferData</b>(<i></i>)
-
-<p>
-        Public slot to transfer the associations into the projects data
-        structure.
-</p>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 </body></html>
\ No newline at end of file

eric ide

mercurial