src/eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.ConfigurationPageBase.html

branch
eric7
changeset 10428
a071d4065202
parent 9209
b99e7fd55fd3
child 10479
856476537696
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
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>)
167 <p> 166 <p>
168 Public method to save the colour selections. 167 Public method to save the colour selections.
169 </p> 168 </p>
170 <dl> 169 <dl>
171 170
172 <dt><i>prefMethod</i></dt> 171 <dt><i>prefMethod</i> (function)</dt>
173 <dd> 172 <dd>
174 preferences method to set the colour 173 preferences method to set the colour
175 </dd> 174 </dd>
176 </dl> 175 </dl>
177 <a NAME="ConfigurationPageBase.saveState" ID="ConfigurationPageBase.saveState"></a> 176 <a NAME="ConfigurationPageBase.saveState" ID="ConfigurationPageBase.saveState"></a>
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>)
222 <p> 226 <p>
223 Public method to set the state of the widget. 227 Public method to set the state of the widget.
224 </p> 228 </p>
225 <dl> 229 <dl>
226 230
227 <dt><i>state</i></dt> 231 <dt><i>state</i> (list)</dt>
228 <dd> 232 <dd>
229 state data generated by saveState 233 state data generated by saveState
230 </dd> 234 </dd>
231 </dl> 235 </dl>
232 <div align="right"><a href="#top">Up</a></div> 236 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial