129 <p> |
129 <p> |
130 Public method to initialize a colour selection button. |
130 Public method to initialize a colour selection button. |
131 </p> |
131 </p> |
132 <dl> |
132 <dl> |
133 |
133 |
134 <dt><i>colourKey</i></dt> |
134 <dt><i>colourKey</i> (string)</dt> |
135 <dd> |
135 <dd> |
136 key of the colour resource (string) |
136 key of the colour resource |
137 </dd> |
137 </dd> |
138 <dt><i>button</i></dt> |
138 <dt><i>button</i> (QPushButton)</dt> |
139 <dd> |
139 <dd> |
140 reference to a button to show the colour on (QPushButton) |
140 reference to a button to show the colour on |
141 </dd> |
141 </dd> |
142 <dt><i>prefMethod</i></dt> |
142 <dt><i>prefMethod</i> (function)</dt> |
143 <dd> |
143 <dd> |
144 preferences method to get the colour |
144 preferences method to get the colour |
145 </dd> |
145 </dd> |
146 <dt><i>byName</i></dt> |
146 <dt><i>byName</i> (bool)</dt> |
147 <dd> |
147 <dd> |
148 flag indicating to retrieve/save by colour name |
148 flag indicating to retrieve/save by colour name |
149 (boolean) |
149 </dd> |
150 </dd> |
150 <dt><i>hasAlpha</i> (bool)</dt> |
151 <dt><i>hasAlpha</i></dt> |
151 <dd> |
152 <dd> |
152 flag indicating to allow alpha channel |
153 flag indicating to allow alpha channel (boolean) |
|
154 </dd> |
153 </dd> |
155 </dl> |
154 </dl> |
156 <a NAME="ConfigurationPageBase.polishPage" ID="ConfigurationPageBase.polishPage"></a> |
155 <a NAME="ConfigurationPageBase.polishPage" ID="ConfigurationPageBase.polishPage"></a> |
157 <h4>ConfigurationPageBase.polishPage</h4> |
156 <h4>ConfigurationPageBase.polishPage</h4> |
158 <b>polishPage</b>(<i></i>) |
157 <b>polishPage</b>(<i></i>) |
188 <p> |
187 <p> |
189 Public method used by the font selection buttons. |
188 Public method used by the font selection buttons. |
190 </p> |
189 </p> |
191 <dl> |
190 <dl> |
192 |
191 |
193 <dt><i>fontSample</i></dt> |
192 <dt><i>fontSample</i> (QLineEdit)</dt> |
194 <dd> |
193 <dd> |
195 reference to the font sample widget (QLineEdit) |
194 reference to the font sample widget |
196 </dd> |
195 </dd> |
197 <dt><i>fontVar</i></dt> |
196 <dt><i>fontVar</i> (QFont)</dt> |
198 <dd> |
197 <dd> |
199 reference to the variable containing the font (QFont) |
198 reference to the variable containing the font |
200 </dd> |
199 </dd> |
201 <dt><i>showFontInfo</i></dt> |
200 <dt><i>showFontInfo</i> (bool)</dt> |
202 <dd> |
201 <dd> |
203 flag indicating to show some font info |
202 flag indicating to show some font info |
204 as the sample (boolean) |
203 as the sample |
205 </dd> |
204 </dd> |
206 <dt><i>options</i></dt> |
205 <dt><i>options</i> (QFontDialog.FontDialogOption)</dt> |
207 <dd> |
206 <dd> |
208 options for the font dialog |
207 options for the font dialog |
209 (QFontDialog.FontDialogOption) |
|
210 </dd> |
208 </dd> |
211 </dl> |
209 </dl> |
212 <dl> |
210 <dl> |
213 <dt>Return:</dt> |
211 <dt>Return:</dt> |
214 <dd> |
212 <dd> |
215 selected font (QFont) |
213 selected font |
|
214 </dd> |
|
215 </dl> |
|
216 <dl> |
|
217 <dt>Return Type:</dt> |
|
218 <dd> |
|
219 QFont |
216 </dd> |
220 </dd> |
217 </dl> |
221 </dl> |
218 <a NAME="ConfigurationPageBase.setState" ID="ConfigurationPageBase.setState"></a> |
222 <a NAME="ConfigurationPageBase.setState" ID="ConfigurationPageBase.setState"></a> |
219 <h4>ConfigurationPageBase.setState</h4> |
223 <h4>ConfigurationPageBase.setState</h4> |
220 <b>setState</b>(<i>state</i>) |
224 <b>setState</b>(<i>state</i>) |