--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorHighlightingStylesSelectionDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,180 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Preferences.ConfigurationPages.EditorHighlightingStylesSelectionDialog</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.Preferences.ConfigurationPages.EditorHighlightingStylesSelectionDialog</h1> + +<p> +Module implementing a dialog to select the styles to be imported/exported. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#EditorHighlightingStylesSelectionDialog">EditorHighlightingStylesSelectionDialog</a></td> +<td>Class implementing a dialog to select the styles to be imported/exported.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="EditorHighlightingStylesSelectionDialog" ID="EditorHighlightingStylesSelectionDialog"></a> +<h2>EditorHighlightingStylesSelectionDialog</h2> + +<p> + Class implementing a dialog to select the styles to be imported/exported. +</p> +<h3>Derived from</h3> +QDialog, Ui_EditorHighlightingStylesSelectionDialog +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#EditorHighlightingStylesSelectionDialog.__init__">EditorHighlightingStylesSelectionDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#EditorHighlightingStylesSelectionDialog.__updateOkButton">__updateOkButton</a></td> +<td>Private slot to update the state of the OK button.</td> +</tr> +<tr> +<td><a href="#EditorHighlightingStylesSelectionDialog.getLexerNames">getLexerNames</a></td> +<td>Public method to get the selected lexer names.</td> +</tr> +<tr> +<td><a href="#EditorHighlightingStylesSelectionDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> +<td>Private slot to handle the user pressing a button.</td> +</tr> +<tr> +<td><a href="#EditorHighlightingStylesSelectionDialog.on_lexersList_itemChanged">on_lexersList_itemChanged</a></td> +<td>Private slot to react on changes in check state.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="EditorHighlightingStylesSelectionDialog.__init__" ID="EditorHighlightingStylesSelectionDialog.__init__"></a> +<h4>EditorHighlightingStylesSelectionDialog (Constructor)</h4> +<b>EditorHighlightingStylesSelectionDialog</b>(<i>lexerNames, forImport, preselect=None, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>lexerNames</i> (list of str)</dt> +<dd> +list of lexer names to select from +</dd> +<dt><i>forImport</i> (bool)</dt> +<dd> +flag indicating a dialog for importing styles +</dd> +<dt><i>preselect</i> (list of str)</dt> +<dd> +list of lexer names to be preselected +</dd> +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget +</dd> +</dl> +<a NAME="EditorHighlightingStylesSelectionDialog.__updateOkButton" ID="EditorHighlightingStylesSelectionDialog.__updateOkButton"></a> +<h4>EditorHighlightingStylesSelectionDialog.__updateOkButton</h4> +<b>__updateOkButton</b>(<i></i>) + +<p> + Private slot to update the state of the OK button. +</p> +<a NAME="EditorHighlightingStylesSelectionDialog.getLexerNames" ID="EditorHighlightingStylesSelectionDialog.getLexerNames"></a> +<h4>EditorHighlightingStylesSelectionDialog.getLexerNames</h4> +<b>getLexerNames</b>(<i></i>) + +<p> + Public method to get the selected lexer names. +</p> +<dl> +<dt>Return:</dt> +<dd> +list of selected lexer names +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl> +<a NAME="EditorHighlightingStylesSelectionDialog.on_buttonBox_clicked" ID="EditorHighlightingStylesSelectionDialog.on_buttonBox_clicked"></a> +<h4>EditorHighlightingStylesSelectionDialog.on_buttonBox_clicked</h4> +<b>on_buttonBox_clicked</b>(<i>button</i>) + +<p> + Private slot to handle the user pressing a button. +</p> +<dl> + +<dt><i>button</i> (QAbstractButton)</dt> +<dd> +reference to the button pressed +</dd> +</dl> +<a NAME="EditorHighlightingStylesSelectionDialog.on_lexersList_itemChanged" ID="EditorHighlightingStylesSelectionDialog.on_lexersList_itemChanged"></a> +<h4>EditorHighlightingStylesSelectionDialog.on_lexersList_itemChanged</h4> +<b>on_lexersList_itemChanged</b>(<i>item</i>) + +<p> + Private slot to react on changes in check state. +</p> +<dl> + +<dt><i>item</i> (QListWidgetItem)</dt> +<dd> +reference to the changed item +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file