Documentation/Source/eric5.Project.FiletypeAssociationDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
--- a/Documentation/Source/eric5.Project.FiletypeAssociationDialog.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Project.FiletypeAssociationDialog.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Project.FiletypeAssociationDialog</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#101;&#110;&#116;&#101;&#114; &#102;&#105;&#108;&#101;&#116;y&#112;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#102;&#111;&#114; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;.
+Module implementing a dialog to enter filetype associations for the project.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#FiletypeAssociationDialog">FiletypeAssociationDialog</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#101;&#110;&#116;&#101;&#114; &#102;&#105;&#108;&#101;&#116;y&#112;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#102;&#111;&#114; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;.</td>
+<td>Class implementing a dialog to enter filetype associations for the project.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="FiletypeAssociationDialog" ID="FiletypeAssociationDialog"></a>
 <h2>FiletypeAssociationDialog</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#101;&#110;&#116;&#101;&#114; &#102;&#105;&#108;&#101;&#116;y&#112;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#102;&#111;&#114; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;.
+    Class implementing a dialog to enter filetype associations for the project.
 </p>
 <h3>Derived from</h3>
 QDialog, Ui_FiletypeAssociationDialog
@@ -55,112 +55,112 @@
 <table>
 <tr>
 <td><a href="#FiletypeAssociationDialog.__init__">FiletypeAssociationDialog</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#FiletypeAssociationDialog.__createItem">__createItem</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#110;&#101;w &#101;&#110;&#116;&#114;y &#105;&#110; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.</td>
+<td>Private slot to create a new entry in the association list.</td>
 </tr><tr>
 <td><a href="#FiletypeAssociationDialog.__reformat">__reformat</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#102;&#111;&#114;&#109;&#97;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;.</td>
+<td>Private method to reformat the tree.</td>
 </tr><tr>
 <td><a href="#FiletypeAssociationDialog.__resort">__resort</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#114;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;.</td>
+<td>Private method to resort the tree.</td>
 </tr><tr>
 <td><a href="#FiletypeAssociationDialog.on_addAssociationButton_clicked">on_addAssociationButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#100;&#105;&#115;&#112;&#108;&#97;y&#101;&#100; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116;.</td>
+<td>Private slot to add the association displayed to the list.</td>
 </tr><tr>
 <td><a href="#FiletypeAssociationDialog.on_deleteAssociationButton_clicked">on_deleteAssociationButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#100;&#101;&#108;&#101;&#116;&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116;&#108;y &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#115;&#116;&#98;&#111;x.</td>
+<td>Private slot to delete the currently selected association of the listbox.</td>
 </tr><tr>
 <td><a href="#FiletypeAssociationDialog.on_filePatternEdit_textChanged">on_filePatternEdit_textChanged</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#116;&#101;x&#116;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#116;&#116;&#101;&#114;&#110; &#108;&#105;&#110;&#101;&#101;&#100;&#105;&#116;.</td>
+<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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116;&#73;&#116;&#101;&#109;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.</td>
+<td>Private slot to handle the currentItemChanged signal of the association list.</td>
 </tr><tr>
 <td><a href="#FiletypeAssociationDialog.transferData">transferData</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#116;&#114;&#97;&#110;&#115;&#102;&#101;&#114; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;&#115; &#100;&#97;&#116;&#97; &#115;&#116;&#114;&#117;&#99;&#116;&#117;&#114;&#101;.</td>
+<td>Public slot to transfer the associations into the projects data structure.</td>
 </tr>
 </table>
 <a NAME="FiletypeAssociationDialog.__init__" ID="FiletypeAssociationDialog.__init__"></a>
 <h4>FiletypeAssociationDialog (Constructor)</h4>
 <b>FiletypeAssociationDialog</b>(<i>project, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>project</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#111;&#98;&#106;&#101;&#99;&#116;
+reference to the project object
 </dd><dt><i>parent</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
+reference to the parent widget (QWidget)
 </dd>
 </dl><a NAME="FiletypeAssociationDialog.__createItem" ID="FiletypeAssociationDialog.__createItem"></a>
 <h4>FiletypeAssociationDialog.__createItem</h4>
 <b>__createItem</b>(<i>pattern, filetype</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#110;&#101;w &#101;&#110;&#116;&#114;y &#105;&#110; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.
+        Private slot to create a new entry in the association list.
 </p><dl>
 <dt><i>pattern</i></dt>
 <dd>
-&#112;&#97;&#116;&#116;&#101;&#114;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;)
+pattern of the entry (string)
 </dd><dt><i>filetype</i></dt>
 <dd>
-&#102;&#105;&#108;&#101; &#116;y&#112;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y (&#115;&#116;&#114;&#105;&#110;&#103;)
+file type of the entry (string)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;w&#108;y &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101;&#100; &#101;&#110;&#116;&#114;y (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;)
+reference to the newly generated entry (QTreeWidgetItem)
 </dd>
 </dl><a NAME="FiletypeAssociationDialog.__reformat" ID="FiletypeAssociationDialog.__reformat"></a>
 <h4>FiletypeAssociationDialog.__reformat</h4>
 <b>__reformat</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#102;&#111;&#114;&#109;&#97;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;.
+        Private method to reformat the tree.
 </p><a NAME="FiletypeAssociationDialog.__resort" ID="FiletypeAssociationDialog.__resort"></a>
 <h4>FiletypeAssociationDialog.__resort</h4>
 <b>__resort</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#111;&#114;&#116; &#116;&#104;&#101; &#116;&#114;&#101;&#101;.
+        Private method to resort the tree.
 </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>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#100;&#105;&#115;&#112;&#108;&#97;y&#101;&#100; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116;.
+        Private slot to add the association displayed to the list.
 </p><a NAME="FiletypeAssociationDialog.on_deleteAssociationButton_clicked" ID="FiletypeAssociationDialog.on_deleteAssociationButton_clicked"></a>
 <h4>FiletypeAssociationDialog.on_deleteAssociationButton_clicked</h4>
 <b>on_deleteAssociationButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#100;&#101;&#108;&#101;&#116;&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116;&#108;y &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#115;&#116;&#98;&#111;x.
+        Private slot to delete the currently selected association of the listbox.
 </p><a NAME="FiletypeAssociationDialog.on_filePatternEdit_textChanged" ID="FiletypeAssociationDialog.on_filePatternEdit_textChanged"></a>
 <h4>FiletypeAssociationDialog.on_filePatternEdit_textChanged</h4>
 <b>on_filePatternEdit_textChanged</b>(<i>txt</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#116;&#101;x&#116;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#116;&#116;&#101;&#114;&#110; &#108;&#105;&#110;&#101;&#101;&#100;&#105;&#116;.
+        Private slot to handle the textChanged signal of the pattern lineedit.
 </p><dl>
 <dt><i>txt</i></dt>
 <dd>
-&#116;&#101;x&#116; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#110;&#101;&#101;&#100;&#105;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;)
+text of the lineedit (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>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116;&#73;&#116;&#101;&#109;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.
+        Private slot to handle the currentItemChanged signal of the association list.
 </p><dl>
 <dt><i>itm</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;w &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#116;&#101;&#109; (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;)
+reference to the new current item (QTreeWidgetItem)
 </dd><dt><i>prevItm</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#101;v&#105;&#111;&#117;&#115; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#116;&#101;&#109; (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;)
+reference to the previous current item (QTreeWidgetItem)
 </dd>
 </dl><a NAME="FiletypeAssociationDialog.transferData" ID="FiletypeAssociationDialog.transferData"></a>
 <h4>FiletypeAssociationDialog.transferData</h4>
 <b>transferData</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#116;&#114;&#97;&#110;&#115;&#102;&#101;&#114; &#116;&#104;&#101; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110;&#115; &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;&#115; &#100;&#97;&#116;&#97; &#115;&#116;&#114;&#117;&#99;&#116;&#117;&#114;&#101;.
+        Public slot to transfer the associations into the projects data structure.
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr />

eric ide

mercurial