--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Project.LexerAssociationDialog.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.Project.LexerAssociationDialog</title> +<style> +b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.Project.LexerAssociationDialog</h1> +<p> +Module implementing a dialog to enter lexer associations for the project. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#LexerAssociationDialog">LexerAssociationDialog</a></td> +<td>Class implementing a dialog to enter lexer associations for the project.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="LexerAssociationDialog" ID="LexerAssociationDialog"></a> +<h2>LexerAssociationDialog</h2> +<p> + Class implementing a dialog to enter lexer associations for the project. +</p> +<h3>Derived from</h3> +QDialog, Ui_LexerAssociationDialog +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#LexerAssociationDialog.__init__">LexerAssociationDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#LexerAssociationDialog.on_addLexerButton_clicked">on_addLexerButton_clicked</a></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>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>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>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>Private slot to handle the clicked signal of the lexer association list.</td> +</tr><tr> +<td><a href="#LexerAssociationDialog.transferData">transferData</a></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> + Constructor +</p><dl> +<dt><i>project</i></dt> +<dd> +reference to the project object +</dd><dt><i>parent</i></dt> +<dd> +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> + 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> + 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> + Private slot to handle the selection of a lexer. +</p><dl> +<dt><i>text</i></dt> +<dd> +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> + Private slot to handle the activated signal of the lexer association list. +</p><dl> +<dt><i>itm</i></dt> +<dd> +reference to the selecte item (QTreeWidgetItem) +</dd><dt><i>column</i></dt> +<dd> +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> + Private slot to handle the clicked signal of the lexer association list. +</p><dl> +<dt><i>itm</i></dt> +<dd> +reference to the selecte item (QTreeWidgetItem) +</dd><dt><i>column</i></dt> +<dd> +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> + 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