59 <table> |
59 <table> |
60 <tr> |
60 <tr> |
61 <td><a href="#ConfigurationPageBase.__init__">ConfigurationPageBase</a></td> |
61 <td><a href="#ConfigurationPageBase.__init__">ConfigurationPageBase</a></td> |
62 <td>Constructor</td> |
62 <td>Constructor</td> |
63 </tr><tr> |
63 </tr><tr> |
|
64 <td><a href="#ConfigurationPageBase.__selectColourSlot">__selectColourSlot</a></td> |
|
65 <td>Private slot to select a color.</td> |
|
66 </tr><tr> |
64 <td><a href="#ConfigurationPageBase.initColour">initColour</a></td> |
67 <td><a href="#ConfigurationPageBase.initColour">initColour</a></td> |
65 <td>Public method to initialize a colour selection button.</td> |
68 <td>Public method to initialize a colour selection button.</td> |
66 </tr><tr> |
69 </tr><tr> |
67 <td><a href="#ConfigurationPageBase.polishPage">polishPage</a></td> |
70 <td><a href="#ConfigurationPageBase.polishPage">polishPage</a></td> |
68 <td>Public slot to perform some polishing actions.</td> |
71 <td>Public slot to perform some polishing actions.</td> |
69 </tr><tr> |
72 </tr><tr> |
|
73 <td><a href="#ConfigurationPageBase.saveColours">saveColours</a></td> |
|
74 <td>Public method to save the colour selections.</td> |
|
75 </tr><tr> |
70 <td><a href="#ConfigurationPageBase.saveState">saveState</a></td> |
76 <td><a href="#ConfigurationPageBase.saveState">saveState</a></td> |
71 <td>Public method to save the current state of the widget.</td> |
77 <td>Public method to save the current state of the widget.</td> |
72 </tr><tr> |
|
73 <td><a href="#ConfigurationPageBase.selectColour">selectColour</a></td> |
|
74 <td>Public method used by the colour selection buttons.</td> |
|
75 </tr><tr> |
78 </tr><tr> |
76 <td><a href="#ConfigurationPageBase.selectFont">selectFont</a></td> |
79 <td><a href="#ConfigurationPageBase.selectFont">selectFont</a></td> |
77 <td>Public method used by the font selection buttons.</td> |
80 <td>Public method used by the font selection buttons.</td> |
78 </tr><tr> |
81 </tr><tr> |
79 <td><a href="#ConfigurationPageBase.setState">setState</a></td> |
82 <td><a href="#ConfigurationPageBase.setState">setState</a></td> |
87 <a NAME="ConfigurationPageBase.__init__" ID="ConfigurationPageBase.__init__"></a> |
90 <a NAME="ConfigurationPageBase.__init__" ID="ConfigurationPageBase.__init__"></a> |
88 <h4>ConfigurationPageBase (Constructor)</h4> |
91 <h4>ConfigurationPageBase (Constructor)</h4> |
89 <b>ConfigurationPageBase</b>(<i></i>) |
92 <b>ConfigurationPageBase</b>(<i></i>) |
90 <p> |
93 <p> |
91 Constructor |
94 Constructor |
|
95 </p><a NAME="ConfigurationPageBase.__selectColourSlot" ID="ConfigurationPageBase.__selectColourSlot"></a> |
|
96 <h4>ConfigurationPageBase.__selectColourSlot</h4> |
|
97 <b>__selectColourSlot</b>(<i></i>) |
|
98 <p> |
|
99 Private slot to select a color. |
92 </p><a NAME="ConfigurationPageBase.initColour" ID="ConfigurationPageBase.initColour"></a> |
100 </p><a NAME="ConfigurationPageBase.initColour" ID="ConfigurationPageBase.initColour"></a> |
93 <h4>ConfigurationPageBase.initColour</h4> |
101 <h4>ConfigurationPageBase.initColour</h4> |
94 <b>initColour</b>(<i>colourstr, button, prefMethod</i>) |
102 <b>initColour</b>(<i>colourKey, button, prefMethod, byName=False, hasAlpha=False</i>) |
95 <p> |
103 <p> |
96 Public method to initialize a colour selection button. |
104 Public method to initialize a colour selection button. |
97 </p><dl> |
105 </p><dl> |
98 <dt><i>colourstr</i></dt> |
106 <dt><i>colourKey</i></dt> |
99 <dd> |
107 <dd> |
100 colour to be set (string) |
108 key of the colour resource (string) |
101 </dd><dt><i>button</i></dt> |
109 </dd><dt><i>button</i></dt> |
102 <dd> |
110 <dd> |
103 reference to a button to show the colour on (QPushButton) |
111 reference to a button to show the colour on (QPushButton) |
104 </dd><dt><i>prefMethod</i></dt> |
112 </dd><dt><i>prefMethod</i></dt> |
105 <dd> |
113 <dd> |
106 preferences method to get the colour |
114 preferences method to get the colour |
107 </dd> |
115 </dd><dt><i>byName=</i></dt> |
108 </dl><dl> |
|
109 <dt>Returns:</dt> |
|
110 <dd> |
116 <dd> |
111 reference to the created colour (QColor) |
117 flag indicating to retrieve/save by colour name (boolean) |
|
118 </dd><dt><i>hasAlpha=</i></dt> |
|
119 <dd> |
|
120 flag indicating to allow alpha channel (boolean) |
112 </dd> |
121 </dd> |
113 </dl><a NAME="ConfigurationPageBase.polishPage" ID="ConfigurationPageBase.polishPage"></a> |
122 </dl><a NAME="ConfigurationPageBase.polishPage" ID="ConfigurationPageBase.polishPage"></a> |
114 <h4>ConfigurationPageBase.polishPage</h4> |
123 <h4>ConfigurationPageBase.polishPage</h4> |
115 <b>polishPage</b>(<i></i>) |
124 <b>polishPage</b>(<i></i>) |
116 <p> |
125 <p> |
117 Public slot to perform some polishing actions. |
126 Public slot to perform some polishing actions. |
118 </p><a NAME="ConfigurationPageBase.saveState" ID="ConfigurationPageBase.saveState"></a> |
127 </p><a NAME="ConfigurationPageBase.saveColours" ID="ConfigurationPageBase.saveColours"></a> |
|
128 <h4>ConfigurationPageBase.saveColours</h4> |
|
129 <b>saveColours</b>(<i>prefMethod</i>) |
|
130 <p> |
|
131 Public method to save the colour selections. |
|
132 </p><dl> |
|
133 <dt><i>prefMethod</i></dt> |
|
134 <dd> |
|
135 preferences method to set the colour |
|
136 </dd> |
|
137 </dl><a NAME="ConfigurationPageBase.saveState" ID="ConfigurationPageBase.saveState"></a> |
119 <h4>ConfigurationPageBase.saveState</h4> |
138 <h4>ConfigurationPageBase.saveState</h4> |
120 <b>saveState</b>(<i></i>) |
139 <b>saveState</b>(<i></i>) |
121 <p> |
140 <p> |
122 Public method to save the current state of the widget. |
141 Public method to save the current state of the widget. |
123 </p><a NAME="ConfigurationPageBase.selectColour" ID="ConfigurationPageBase.selectColour"></a> |
142 </p><a NAME="ConfigurationPageBase.selectFont" ID="ConfigurationPageBase.selectFont"></a> |
124 <h4>ConfigurationPageBase.selectColour</h4> |
|
125 <b>selectColour</b>(<i>button, colourVar, showAlpha=False</i>) |
|
126 <p> |
|
127 Public method used by the colour selection buttons. |
|
128 </p><dl> |
|
129 <dt><i>button</i></dt> |
|
130 <dd> |
|
131 reference to a button to show the colour on (QPushButton) |
|
132 </dd><dt><i>colourVar</i></dt> |
|
133 <dd> |
|
134 reference to the variable containing the colour (QColor) |
|
135 </dd><dt><i>showAlpha</i></dt> |
|
136 <dd> |
|
137 flag indicating to show a selection for the alpha |
|
138 channel (boolean) |
|
139 </dd> |
|
140 </dl><dl> |
|
141 <dt>Returns:</dt> |
|
142 <dd> |
|
143 selected colour (QColor) |
|
144 </dd> |
|
145 </dl><a NAME="ConfigurationPageBase.selectFont" ID="ConfigurationPageBase.selectFont"></a> |
|
146 <h4>ConfigurationPageBase.selectFont</h4> |
143 <h4>ConfigurationPageBase.selectFont</h4> |
147 <b>selectFont</b>(<i>fontSample, fontVar, showFontInfo=False</i>) |
144 <b>selectFont</b>(<i>fontSample, fontVar, showFontInfo=False</i>) |
148 <p> |
145 <p> |
149 Public method used by the font selection buttons. |
146 Public method used by the font selection buttons. |
150 </p><dl> |
147 </p><dl> |