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