Documentation/Source/eric5.Project.LexerAssociationDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
--- a/Documentation/Source/eric5.Project.LexerAssociationDialog.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Project.LexerAssociationDialog.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Project.LexerAssociationDialog</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; &#108;&#101;x&#101;&#114; &#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 lexer associations for the project.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#LexerAssociationDialog">LexerAssociationDialog</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; &#108;&#101;x&#101;&#114; &#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 lexer associations for the project.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="LexerAssociationDialog" ID="LexerAssociationDialog"></a>
 <h2>LexerAssociationDialog</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; &#108;&#101;x&#101;&#114; &#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 lexer associations for the project.
 </p>
 <h3>Derived from</h3>
 QDialog, Ui_LexerAssociationDialog
@@ -55,91 +55,91 @@
 <table>
 <tr>
 <td><a href="#LexerAssociationDialog.__init__">LexerAssociationDialog</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#LexerAssociationDialog.on_addLexerButton_clicked">on_addLexerButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#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 lexer association displayed to the list.</td>
 </tr><tr>
 <td><a href="#LexerAssociationDialog.on_deleteLexerButton_clicked">on_deleteLexerButton_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; &#108;&#101;x&#101;&#114; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#115;&#116;.</td>
+<td>Private slot to delete the currently selected lexer association of the list.</td>
 </tr><tr>
 <td><a href="#LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged">on_editorLexerCombo_currentIndexChanged</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; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#108;&#101;x&#101;&#114;.</td>
+<td>Private slot to handle the selection of a lexer.</td>
 </tr><tr>
 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemActivated">on_editorLexerList_itemActivated</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; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.</td>
+<td>Private slot to handle the activated signal of the lexer association list.</td>
 </tr><tr>
 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemClicked">on_editorLexerList_itemClicked</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;&#108;&#105;&#99;&#107;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.</td>
+<td>Private slot to handle the clicked signal of the lexer association list.</td>
 </tr><tr>
 <td><a href="#LexerAssociationDialog.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="LexerAssociationDialog.__init__" ID="LexerAssociationDialog.__init__"></a>
 <h4>LexerAssociationDialog (Constructor)</h4>
 <b>LexerAssociationDialog</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="LexerAssociationDialog.on_addLexerButton_clicked" ID="LexerAssociationDialog.on_addLexerButton_clicked"></a>
 <h4>LexerAssociationDialog.on_addLexerButton_clicked</h4>
 <b>on_addLexerButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#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 lexer association displayed to the list.
 </p><a NAME="LexerAssociationDialog.on_deleteLexerButton_clicked" ID="LexerAssociationDialog.on_deleteLexerButton_clicked"></a>
 <h4>LexerAssociationDialog.on_deleteLexerButton_clicked</h4>
 <b>on_deleteLexerButton_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; &#108;&#101;x&#101;&#114; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#108;&#105;&#115;&#116;.
+        Private slot to delete the currently selected lexer association of the list.
 </p><a NAME="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged" ID="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged"></a>
 <h4>LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged</h4>
 <b>on_editorLexerCombo_currentIndexChanged</b>(<i>text</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#108;&#101;x&#101;&#114;.
+        Private slot to handle the selection of a lexer.
 </p><dl>
 <dt><i>text</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 line edit (string)
 </dd>
 </dl><a NAME="LexerAssociationDialog.on_editorLexerList_itemActivated" ID="LexerAssociationDialog.on_editorLexerList_itemActivated"></a>
 <h4>LexerAssociationDialog.on_editorLexerList_itemActivated</h4>
 <b>on_editorLexerList_itemActivated</b>(<i>itm, column</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.
+        Private slot to handle the activated signal of the lexer association list.
 </p><dl>
 <dt><i>itm</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101; &#105;&#116;&#101;&#109; (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;)
+reference to the selecte item (QTreeWidgetItem)
 </dd><dt><i>column</i></dt>
 <dd>
-&#99;&#111;&#108;&#117;&#109;&#110; &#116;&#104;&#101; &#105;&#116;&#101;&#109; w&#97;&#115; &#99;&#108;&#105;&#99;&#107;&#101;&#100; &#111;&#114; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) (&#105;&#103;&#110;&#111;&#114;&#101;&#100;)
+column the item was clicked or activated (integer) (ignored)
 </dd>
 </dl><a NAME="LexerAssociationDialog.on_editorLexerList_itemClicked" ID="LexerAssociationDialog.on_editorLexerList_itemClicked"></a>
 <h4>LexerAssociationDialog.on_editorLexerList_itemClicked</h4>
 <b>on_editorLexerList_itemClicked</b>(<i>itm, column</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;&#108;&#105;&#99;&#107;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#97;&#115;&#115;&#111;&#99;&#105;&#97;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.
+        Private slot to handle the clicked signal of the lexer association list.
 </p><dl>
 <dt><i>itm</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101; &#105;&#116;&#101;&#109; (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;)
+reference to the selecte item (QTreeWidgetItem)
 </dd><dt><i>column</i></dt>
 <dd>
-&#99;&#111;&#108;&#117;&#109;&#110; &#116;&#104;&#101; &#105;&#116;&#101;&#109; w&#97;&#115; &#99;&#108;&#105;&#99;&#107;&#101;&#100; &#111;&#114; &#97;&#99;&#116;&#105;v&#97;&#116;&#101;&#100; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) (&#105;&#103;&#110;&#111;&#114;&#101;&#100;)
+column the item was clicked or activated (integer) (ignored)
 </dd>
 </dl><a NAME="LexerAssociationDialog.transferData" ID="LexerAssociationDialog.transferData"></a>
 <h4>LexerAssociationDialog.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