--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Project.TranslationPropertiesDialog.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,179 @@ +<?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.TranslationPropertiesDialog</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.TranslationPropertiesDialog</h1> +<p> +Module implementing the Translations Properties dialog. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#TranslationPropertiesDialog">TranslationPropertiesDialog</a></td> +<td>Class implementing the Translations Properties dialog.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="TranslationPropertiesDialog" ID="TranslationPropertiesDialog"></a> +<h2>TranslationPropertiesDialog</h2> +<p> + Class implementing the Translations Properties dialog. +</p> +<h3>Derived from</h3> +QDialog, Ui_TranslationPropertiesDialog +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#TranslationPropertiesDialog.__init__">TranslationPropertiesDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.initDialog">initDialog</a></td> +<td>Public method to initialize the dialogs data.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.initFilters">initFilters</a></td> +<td>Public method to initialize the filters.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_addExceptionButton_clicked">on_addExceptionButton_clicked</a></td> +<td>Private slot to add the shown exception to the listwidget.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_deleteExceptionButton_clicked">on_deleteExceptionButton_clicked</a></td> +<td>Private slot to delete the currently selected entry of the listwidget.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_exceptDirButton_clicked">on_exceptDirButton_clicked</a></td> +<td>Private slot to select a file to exempt from translation.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_exceptFileButton_clicked">on_exceptFileButton_clicked</a></td> +<td>Private slot to select a file to exempt from translation.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_exceptionEdit_textChanged">on_exceptionEdit_textChanged</a></td> +<td>Private slot to handle the textChanged signal of the exception edit.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_exceptionsList_currentRowChanged">on_exceptionsList_currentRowChanged</a></td> +<td>Private slot to handle the currentRowChanged signal of the exceptions list.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_transBinPathButton_clicked">on_transBinPathButton_clicked</a></td> +<td>Private slot to display a directory selection dialog.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_transPatternButton_clicked">on_transPatternButton_clicked</a></td> +<td>Private slot to display a file selection dialog.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.on_transPatternEdit_textChanged">on_transPatternEdit_textChanged</a></td> +<td>Private slot to check the translation pattern for correctness.</td> +</tr><tr> +<td><a href="#TranslationPropertiesDialog.storeData">storeData</a></td> +<td>Public method to store the entered/modified data.</td> +</tr> +</table> +<a NAME="TranslationPropertiesDialog.__init__" ID="TranslationPropertiesDialog.__init__"></a> +<h4>TranslationPropertiesDialog (Constructor)</h4> +<b>TranslationPropertiesDialog</b>(<i>project, new, parent</i>) +<p> + Constructor +</p><dl> +<dt><i>project</i></dt> +<dd> +reference to the project object +</dd><dt><i>new</i></dt> +<dd> +flag indicating the generation of a new project +</dd><dt><i>parent</i></dt> +<dd> +parent widget of this dialog (QWidget) +</dd> +</dl><a NAME="TranslationPropertiesDialog.initDialog" ID="TranslationPropertiesDialog.initDialog"></a> +<h4>TranslationPropertiesDialog.initDialog</h4> +<b>initDialog</b>(<i></i>) +<p> + Public method to initialize the dialogs data. +</p><a NAME="TranslationPropertiesDialog.initFilters" ID="TranslationPropertiesDialog.initFilters"></a> +<h4>TranslationPropertiesDialog.initFilters</h4> +<b>initFilters</b>(<i></i>) +<p> + Public method to initialize the filters. +</p><a NAME="TranslationPropertiesDialog.on_addExceptionButton_clicked" ID="TranslationPropertiesDialog.on_addExceptionButton_clicked"></a> +<h4>TranslationPropertiesDialog.on_addExceptionButton_clicked</h4> +<b>on_addExceptionButton_clicked</b>(<i></i>) +<p> + Private slot to add the shown exception to the listwidget. +</p><a NAME="TranslationPropertiesDialog.on_deleteExceptionButton_clicked" ID="TranslationPropertiesDialog.on_deleteExceptionButton_clicked"></a> +<h4>TranslationPropertiesDialog.on_deleteExceptionButton_clicked</h4> +<b>on_deleteExceptionButton_clicked</b>(<i></i>) +<p> + Private slot to delete the currently selected entry of the listwidget. +</p><a NAME="TranslationPropertiesDialog.on_exceptDirButton_clicked" ID="TranslationPropertiesDialog.on_exceptDirButton_clicked"></a> +<h4>TranslationPropertiesDialog.on_exceptDirButton_clicked</h4> +<b>on_exceptDirButton_clicked</b>(<i></i>) +<p> + Private slot to select a file to exempt from translation. +</p><a NAME="TranslationPropertiesDialog.on_exceptFileButton_clicked" ID="TranslationPropertiesDialog.on_exceptFileButton_clicked"></a> +<h4>TranslationPropertiesDialog.on_exceptFileButton_clicked</h4> +<b>on_exceptFileButton_clicked</b>(<i></i>) +<p> + Private slot to select a file to exempt from translation. +</p><a NAME="TranslationPropertiesDialog.on_exceptionEdit_textChanged" ID="TranslationPropertiesDialog.on_exceptionEdit_textChanged"></a> +<h4>TranslationPropertiesDialog.on_exceptionEdit_textChanged</h4> +<b>on_exceptionEdit_textChanged</b>(<i>txt</i>) +<p> + Private slot to handle the textChanged signal of the exception edit. +</p><dl> +<dt><i>txt</i></dt> +<dd> +the text of the exception edit (string) +</dd> +</dl><a NAME="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged" ID="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged"></a> +<h4>TranslationPropertiesDialog.on_exceptionsList_currentRowChanged</h4> +<b>on_exceptionsList_currentRowChanged</b>(<i>row</i>) +<p> + Private slot to handle the currentRowChanged signal of the exceptions list. +</p><dl> +<dt><i>row</i></dt> +<dd> +the current row (integer) +</dd> +</dl><a NAME="TranslationPropertiesDialog.on_transBinPathButton_clicked" ID="TranslationPropertiesDialog.on_transBinPathButton_clicked"></a> +<h4>TranslationPropertiesDialog.on_transBinPathButton_clicked</h4> +<b>on_transBinPathButton_clicked</b>(<i></i>) +<p> + Private slot to display a directory selection dialog. +</p><a NAME="TranslationPropertiesDialog.on_transPatternButton_clicked" ID="TranslationPropertiesDialog.on_transPatternButton_clicked"></a> +<h4>TranslationPropertiesDialog.on_transPatternButton_clicked</h4> +<b>on_transPatternButton_clicked</b>(<i></i>) +<p> + Private slot to display a file selection dialog. +</p><a NAME="TranslationPropertiesDialog.on_transPatternEdit_textChanged" ID="TranslationPropertiesDialog.on_transPatternEdit_textChanged"></a> +<h4>TranslationPropertiesDialog.on_transPatternEdit_textChanged</h4> +<b>on_transPatternEdit_textChanged</b>(<i>txt</i>) +<p> + Private slot to check the translation pattern for correctness. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text of the transPatternEdit lineedit (string) +</dd> +</dl><a NAME="TranslationPropertiesDialog.storeData" ID="TranslationPropertiesDialog.storeData"></a> +<h4>TranslationPropertiesDialog.storeData</h4> +<b>storeData</b>(<i></i>) +<p> + Public method to store the entered/modified data. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file