Documentation/Source/eric6.Preferences.SubstyleDefinitionDialog.html

branch
sub_styles
changeset 6866
b792455b35cd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric6.Preferences.SubstyleDefinitionDialog.html	Sat Mar 16 20:14:21 2019 +0100
@@ -0,0 +1,153 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.Preferences.SubstyleDefinitionDialog</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>eric6.Preferences.SubstyleDefinitionDialog</h1>
+<p>
+Module implementing the sub-style definition dialog.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#SubstyleDefinitionDialog">SubstyleDefinitionDialog</a></td>
+<td>Class implementing the sub-style definition dialog.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="SubstyleDefinitionDialog" ID="SubstyleDefinitionDialog"></a>
+<h2>SubstyleDefinitionDialog</h2>
+<p>
+    Class implementing the sub-style definition dialog.
+</p>
+<h3>Derived from</h3>
+QDialog, Ui_SubstyleDefinitionDialog
+<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="#SubstyleDefinitionDialog.__init__">SubstyleDefinitionDialog</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#SubstyleDefinitionDialog.__updateOk">__updateOk</a></td>
+<td>Private slot to update the state of the OK button.</td>
+</tr><tr>
+<td><a href="#SubstyleDefinitionDialog.getData">getData</a></td>
+<td>Public method to get the entered data.</td>
+</tr><tr>
+<td><a href="#SubstyleDefinitionDialog.on_defaultButton_clicked">on_defaultButton_clicked</a></td>
+<td>Private slot to set the dialog contents to default values.</td>
+</tr><tr>
+<td><a href="#SubstyleDefinitionDialog.on_descriptionEdit_textChanged">on_descriptionEdit_textChanged</a></td>
+<td>Private slot handling changes of the description.</td>
+</tr><tr>
+<td><a href="#SubstyleDefinitionDialog.on_resetButton_clicked">on_resetButton_clicked</a></td>
+<td>Private slot to reset the dialog contents.</td>
+</tr><tr>
+<td><a href="#SubstyleDefinitionDialog.on_wordsEdit_textChanged">on_wordsEdit_textChanged</a></td>
+<td>Private slot handling changes of the word list.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="SubstyleDefinitionDialog.__init__" ID="SubstyleDefinitionDialog.__init__"></a>
+<h4>SubstyleDefinitionDialog (Constructor)</h4>
+<b>SubstyleDefinitionDialog</b>(<i>lexer, style, substyle, parent=None</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>lexer</i> (PreferencesLexer)</dt>
+<dd>
+reference to the lexer object
+</dd><dt><i>style</i> (int)</dt>
+<dd>
+style number
+</dd><dt><i>substyle</i> (int)</dt>
+<dd>
+sub-style number
+</dd><dt><i>parent</i> (QWidget)</dt>
+<dd>
+reference to the parent widget
+</dd>
+</dl><a NAME="SubstyleDefinitionDialog.__updateOk" ID="SubstyleDefinitionDialog.__updateOk"></a>
+<h4>SubstyleDefinitionDialog.__updateOk</h4>
+<b>__updateOk</b>(<i></i>)
+<p>
+        Private slot to update the state of the OK button.
+</p><a NAME="SubstyleDefinitionDialog.getData" ID="SubstyleDefinitionDialog.getData"></a>
+<h4>SubstyleDefinitionDialog.getData</h4>
+<b>getData</b>(<i></i>)
+<p>
+        Public method to get the entered data.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+tuple containing the sub-style description and words list.
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of (str, str)
+</dd>
+</dl><a NAME="SubstyleDefinitionDialog.on_defaultButton_clicked" ID="SubstyleDefinitionDialog.on_defaultButton_clicked"></a>
+<h4>SubstyleDefinitionDialog.on_defaultButton_clicked</h4>
+<b>on_defaultButton_clicked</b>(<i></i>)
+<p>
+        Private slot to set the dialog contents to default values.
+</p><a NAME="SubstyleDefinitionDialog.on_descriptionEdit_textChanged" ID="SubstyleDefinitionDialog.on_descriptionEdit_textChanged"></a>
+<h4>SubstyleDefinitionDialog.on_descriptionEdit_textChanged</h4>
+<b>on_descriptionEdit_textChanged</b>(<i>txt</i>)
+<p>
+        Private slot handling changes of the description.
+</p><dl>
+<dt><i>txt</i> (str)</dt>
+<dd>
+text of the description
+</dd>
+</dl><a NAME="SubstyleDefinitionDialog.on_resetButton_clicked" ID="SubstyleDefinitionDialog.on_resetButton_clicked"></a>
+<h4>SubstyleDefinitionDialog.on_resetButton_clicked</h4>
+<b>on_resetButton_clicked</b>(<i></i>)
+<p>
+        Private slot to reset the dialog contents.
+</p><a NAME="SubstyleDefinitionDialog.on_wordsEdit_textChanged" ID="SubstyleDefinitionDialog.on_wordsEdit_textChanged"></a>
+<h4>SubstyleDefinitionDialog.on_wordsEdit_textChanged</h4>
+<b>on_wordsEdit_textChanged</b>(<i></i>)
+<p>
+        Private slot handling changes of the word list.
+</p>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial