src/eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorHighlightingStylesSelectionDialog.html

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9209
b99e7fd55fd3
child 10479
856476537696
permissions
-rw-r--r--

Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.

<!DOCTYPE html>
<html><head>
<title>eric7.Preferences.ConfigurationPages.EditorHighlightingStylesSelectionDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</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>

eric ide

mercurial