|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.WizardPlugins.FontDialogWizard.FontDialogWizardDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.WizardPlugins.FontDialogWizard.FontDialogWizardDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the font dialog wizard dialog. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#FontDialogWizardDialog">FontDialogWizardDialog</a></td> |
|
25 <td>Class implementing the font dialog wizard dialog.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="FontDialogWizardDialog" ID="FontDialogWizardDialog"></a> |
|
36 <h2>FontDialogWizardDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the font dialog wizard dialog. |
|
40 </p> |
|
41 <p> |
|
42 It displays a dialog for entering the parameters |
|
43 for the QFontDialog code generator. |
|
44 </p> |
|
45 <h3>Derived from</h3> |
|
46 QDialog, Ui_FontDialogWizardDialog |
|
47 <h3>Class Attributes</h3> |
|
48 |
|
49 <table> |
|
50 <tr><td>FontWeight2Code</td></tr> |
|
51 </table> |
|
52 <h3>Class Methods</h3> |
|
53 |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 |
|
59 <table> |
|
60 |
|
61 <tr> |
|
62 <td><a href="#FontDialogWizardDialog.__init__">FontDialogWizardDialog</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#FontDialogWizardDialog.getCode">getCode</a></td> |
|
67 <td>Public method to get the source code.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#FontDialogWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td> |
|
71 <td>Private method to test the selected options.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#FontDialogWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
75 <td>Private slot called by a button of the button box clicked.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#FontDialogWizardDialog.on_eVariable_textChanged">on_eVariable_textChanged</a></td> |
|
79 <td>Private slot to handle the textChanged signal of eVariable.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#FontDialogWizardDialog.on_fontButton_clicked">on_fontButton_clicked</a></td> |
|
83 <td>Private slot to handle the button press to select a font via a font selection dialog.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#FontDialogWizardDialog.on_optionsButton_clicked">on_optionsButton_clicked</a></td> |
|
87 <td>Private slot to handle the selection of font dialog options.</td> |
|
88 </tr> |
|
89 </table> |
|
90 <h3>Static Methods</h3> |
|
91 |
|
92 <table> |
|
93 <tr><td>None</td></tr> |
|
94 </table> |
|
95 |
|
96 <a NAME="FontDialogWizardDialog.__init__" ID="FontDialogWizardDialog.__init__"></a> |
|
97 <h4>FontDialogWizardDialog (Constructor)</h4> |
|
98 <b>FontDialogWizardDialog</b>(<i>parent=None</i>) |
|
99 |
|
100 <p> |
|
101 Constructor |
|
102 </p> |
|
103 <dl> |
|
104 |
|
105 <dt><i>parent</i></dt> |
|
106 <dd> |
|
107 parent widget (QWidget) |
|
108 </dd> |
|
109 </dl> |
|
110 <a NAME="FontDialogWizardDialog.getCode" ID="FontDialogWizardDialog.getCode"></a> |
|
111 <h4>FontDialogWizardDialog.getCode</h4> |
|
112 <b>getCode</b>(<i>indLevel, indString</i>) |
|
113 |
|
114 <p> |
|
115 Public method to get the source code. |
|
116 </p> |
|
117 <dl> |
|
118 |
|
119 <dt><i>indLevel</i></dt> |
|
120 <dd> |
|
121 indentation level (int) |
|
122 </dd> |
|
123 <dt><i>indString</i></dt> |
|
124 <dd> |
|
125 string used for indentation (space or tab) (string) |
|
126 </dd> |
|
127 </dl> |
|
128 <dl> |
|
129 <dt>Return:</dt> |
|
130 <dd> |
|
131 generated code (string) |
|
132 </dd> |
|
133 </dl> |
|
134 <a NAME="FontDialogWizardDialog.on_bTest_clicked" ID="FontDialogWizardDialog.on_bTest_clicked"></a> |
|
135 <h4>FontDialogWizardDialog.on_bTest_clicked</h4> |
|
136 <b>on_bTest_clicked</b>(<i></i>) |
|
137 |
|
138 <p> |
|
139 Private method to test the selected options. |
|
140 </p> |
|
141 <a NAME="FontDialogWizardDialog.on_buttonBox_clicked" ID="FontDialogWizardDialog.on_buttonBox_clicked"></a> |
|
142 <h4>FontDialogWizardDialog.on_buttonBox_clicked</h4> |
|
143 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
144 |
|
145 <p> |
|
146 Private slot called by a button of the button box clicked. |
|
147 </p> |
|
148 <dl> |
|
149 |
|
150 <dt><i>button</i></dt> |
|
151 <dd> |
|
152 button that was clicked (QAbstractButton) |
|
153 </dd> |
|
154 </dl> |
|
155 <a NAME="FontDialogWizardDialog.on_eVariable_textChanged" ID="FontDialogWizardDialog.on_eVariable_textChanged"></a> |
|
156 <h4>FontDialogWizardDialog.on_eVariable_textChanged</h4> |
|
157 <b>on_eVariable_textChanged</b>(<i>text</i>) |
|
158 |
|
159 <p> |
|
160 Private slot to handle the textChanged signal of eVariable. |
|
161 </p> |
|
162 <dl> |
|
163 |
|
164 <dt><i>text</i></dt> |
|
165 <dd> |
|
166 the new text (string) |
|
167 </dd> |
|
168 </dl> |
|
169 <a NAME="FontDialogWizardDialog.on_fontButton_clicked" ID="FontDialogWizardDialog.on_fontButton_clicked"></a> |
|
170 <h4>FontDialogWizardDialog.on_fontButton_clicked</h4> |
|
171 <b>on_fontButton_clicked</b>(<i></i>) |
|
172 |
|
173 <p> |
|
174 Private slot to handle the button press to select a font via a |
|
175 font selection dialog. |
|
176 </p> |
|
177 <a NAME="FontDialogWizardDialog.on_optionsButton_clicked" ID="FontDialogWizardDialog.on_optionsButton_clicked"></a> |
|
178 <h4>FontDialogWizardDialog.on_optionsButton_clicked</h4> |
|
179 <b>on_optionsButton_clicked</b>(<i></i>) |
|
180 |
|
181 <p> |
|
182 Private slot to handle the selection of font dialog options. |
|
183 </p> |
|
184 <div align="right"><a href="#top">Up</a></div> |
|
185 <hr /> |
|
186 </body></html> |