Documentation/Source/eric6.Preferences.ConfigurationPages.ConfigurationPageBase.html

changeset 4673
6fa2418f010c
parent 3673
e26d7d0c1088
child 5653
c023821bb25f
equal deleted inserted replaced
4672:67fa9b25183f 4673:6fa2418f010c
139 <b>saveState</b>(<i></i>) 139 <b>saveState</b>(<i></i>)
140 <p> 140 <p>
141 Public method to save the current state of the widget. 141 Public method to save the current state of the widget.
142 </p><a NAME="ConfigurationPageBase.selectFont" ID="ConfigurationPageBase.selectFont"></a> 142 </p><a NAME="ConfigurationPageBase.selectFont" ID="ConfigurationPageBase.selectFont"></a>
143 <h4>ConfigurationPageBase.selectFont</h4> 143 <h4>ConfigurationPageBase.selectFont</h4>
144 <b>selectFont</b>(<i>fontSample, fontVar, showFontInfo=False</i>) 144 <b>selectFont</b>(<i>fontSample, fontVar, showFontInfo=False, options=QFontDialog.FontDialogOptions(0)</i>)
145 <p> 145 <p>
146 Public method used by the font selection buttons. 146 Public method used by the font selection buttons.
147 </p><dl> 147 </p><dl>
148 <dt><i>fontSample</i></dt> 148 <dt><i>fontSample</i></dt>
149 <dd> 149 <dd>
153 reference to the variable containing the font (QFont) 153 reference to the variable containing the font (QFont)
154 </dd><dt><i>showFontInfo</i></dt> 154 </dd><dt><i>showFontInfo</i></dt>
155 <dd> 155 <dd>
156 flag indicating to show some font info 156 flag indicating to show some font info
157 as the sample (boolean) 157 as the sample (boolean)
158 </dd><dt><i>options</i></dt>
159 <dd>
160 options for the font dialog
161 (QFontDialog.FontDialogOptions)
158 </dd> 162 </dd>
159 </dl><dl> 163 </dl><dl>
160 <dt>Returns:</dt> 164 <dt>Returns:</dt>
161 <dd> 165 <dd>
162 selected font (QFont) 166 selected font (QFont)

eric ide

mercurial