eric7/Documentation/Source/eric7.Plugins.WizardPlugins.FontDialogWizard.FontDialogWizardDialog.html

Tue, 08 Jun 2021 19:41:08 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 08 Jun 2021 19:41:08 +0200
branch
eric7
changeset 8413
65ed18753c40
parent 8372
e0227a7c850e
child 8596
d64760b2da50
permissions
-rw-r--r--

Font Dialog Wizard: enhanced the wizard to allow the selection of font dialog options.

<!DOCTYPE html>
<html><head>
<title>eric7.Plugins.WizardPlugins.FontDialogWizard.FontDialogWizardDialog</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.Plugins.WizardPlugins.FontDialogWizard.FontDialogWizardDialog</h1>

<p>
Module implementing the font dialog wizard dialog.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#FontDialogWizardDialog">FontDialogWizardDialog</a></td>
<td>Class implementing the font dialog wizard dialog.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="FontDialogWizardDialog" ID="FontDialogWizardDialog"></a>
<h2>FontDialogWizardDialog</h2>

<p>
    Class implementing the font dialog wizard dialog.
</p>
<p>
    It displays a dialog for entering the parameters
    for the QFontDialog code generator.
</p>
<h3>Derived from</h3>
QDialog, Ui_FontDialogWizardDialog
<h3>Class Attributes</h3>

<table>
<tr><td>FontWeight2Code</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#FontDialogWizardDialog.__init__">FontDialogWizardDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#FontDialogWizardDialog.getCode">getCode</a></td>
<td>Public method to get the source code.</td>
</tr>
<tr>
<td><a href="#FontDialogWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td>
<td>Private method to test the selected options.</td>
</tr>
<tr>
<td><a href="#FontDialogWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
<td>Private slot called by a button of the button box clicked.</td>
</tr>
<tr>
<td><a href="#FontDialogWizardDialog.on_eVariable_textChanged">on_eVariable_textChanged</a></td>
<td>Private slot to handle the textChanged signal of eVariable.</td>
</tr>
<tr>
<td><a href="#FontDialogWizardDialog.on_fontButton_clicked">on_fontButton_clicked</a></td>
<td>Private slot to handle the button press to select a font via a font selection dialog.</td>
</tr>
<tr>
<td><a href="#FontDialogWizardDialog.on_optionsButton_clicked">on_optionsButton_clicked</a></td>
<td>Private slot to handle the selection of font dialog options.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="FontDialogWizardDialog.__init__" ID="FontDialogWizardDialog.__init__"></a>
<h4>FontDialogWizardDialog (Constructor)</h4>
<b>FontDialogWizardDialog</b>(<i>parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>parent</i></dt>
<dd>
parent widget (QWidget)
</dd>
</dl>
<a NAME="FontDialogWizardDialog.getCode" ID="FontDialogWizardDialog.getCode"></a>
<h4>FontDialogWizardDialog.getCode</h4>
<b>getCode</b>(<i>indLevel, indString</i>)

<p>
        Public method to get the source code.
</p>
<dl>

<dt><i>indLevel</i></dt>
<dd>
indentation level (int)
</dd>
<dt><i>indString</i></dt>
<dd>
string used for indentation (space or tab) (string)
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
generated code (string)
</dd>
</dl>
<a NAME="FontDialogWizardDialog.on_bTest_clicked" ID="FontDialogWizardDialog.on_bTest_clicked"></a>
<h4>FontDialogWizardDialog.on_bTest_clicked</h4>
<b>on_bTest_clicked</b>(<i></i>)

<p>
        Private method to test the selected options.
</p>
<a NAME="FontDialogWizardDialog.on_buttonBox_clicked" ID="FontDialogWizardDialog.on_buttonBox_clicked"></a>
<h4>FontDialogWizardDialog.on_buttonBox_clicked</h4>
<b>on_buttonBox_clicked</b>(<i>button</i>)

<p>
        Private slot called by a button of the button box clicked.
</p>
<dl>

<dt><i>button</i></dt>
<dd>
button that was clicked (QAbstractButton)
</dd>
</dl>
<a NAME="FontDialogWizardDialog.on_eVariable_textChanged" ID="FontDialogWizardDialog.on_eVariable_textChanged"></a>
<h4>FontDialogWizardDialog.on_eVariable_textChanged</h4>
<b>on_eVariable_textChanged</b>(<i>text</i>)

<p>
        Private slot to handle the textChanged signal of eVariable.
</p>
<dl>

<dt><i>text</i></dt>
<dd>
the new text (string)
</dd>
</dl>
<a NAME="FontDialogWizardDialog.on_fontButton_clicked" ID="FontDialogWizardDialog.on_fontButton_clicked"></a>
<h4>FontDialogWizardDialog.on_fontButton_clicked</h4>
<b>on_fontButton_clicked</b>(<i></i>)

<p>
        Private slot to handle the button press to select a font via a
        font selection dialog.
</p>
<a NAME="FontDialogWizardDialog.on_optionsButton_clicked" ID="FontDialogWizardDialog.on_optionsButton_clicked"></a>
<h4>FontDialogWizardDialog.on_optionsButton_clicked</h4>
<b>on_optionsButton_clicked</b>(<i></i>)

<p>
        Private slot to handle the selection of font dialog options.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial