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

changeset 942
1d2a6b8509c6
parent 440
69ace3e2dcf6
child 945
8cd4d08fa9f6
equal deleted inserted replaced
940:0f5461fe69d4 942:1d2a6b8509c6
112 <b>saveState</b>(<i></i>) 112 <b>saveState</b>(<i></i>)
113 <p> 113 <p>
114 Public method to save the current state of the widget. 114 Public method to save the current state of the widget.
115 </p><a NAME="ConfigurationPageBase.selectColour" ID="ConfigurationPageBase.selectColour"></a> 115 </p><a NAME="ConfigurationPageBase.selectColour" ID="ConfigurationPageBase.selectColour"></a>
116 <h4>ConfigurationPageBase.selectColour</h4> 116 <h4>ConfigurationPageBase.selectColour</h4>
117 <b>selectColour</b>(<i>button, colourVar</i>) 117 <b>selectColour</b>(<i>button, colourVar, showAlpha = False</i>)
118 <p> 118 <p>
119 Public method used by the colour selection buttons. 119 Public method used by the colour selection buttons.
120 </p><dl> 120 </p><dl>
121 <dt><i>button</i></dt> 121 <dt><i>button</i></dt>
122 <dd> 122 <dd>
123 reference to a button to show the colour on (QPushButton) 123 reference to a button to show the colour on (QPushButton)
124 </dd><dt><i>colourVar</i></dt> 124 </dd><dt><i>colourVar</i></dt>
125 <dd> 125 <dd>
126 reference to the variable containing the colour (QColor) 126 reference to the variable containing the colour (QColor)
127 </dd><dt><i>showAlpha</i></dt>
128 <dd>
129 flag indicating to show a selection for the alpha
130 channel (boolean)
127 </dd> 131 </dd>
128 </dl><dl> 132 </dl><dl>
129 <dt>Returns:</dt> 133 <dt>Returns:</dt>
130 <dd> 134 <dd>
131 selected colour (QColor) 135 selected colour (QColor)

eric ide

mercurial