53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#ConfigurationPageBase.__init__">ConfigurationPageBase</a></td> |
57 <td><a href="#ConfigurationPageBase.__init__">ConfigurationPageBase</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#ConfigurationPageBase.initColour">initColour</a></td> |
60 <td><a href="#ConfigurationPageBase.initColour">initColour</a></td> |
61 <td>Public method to initialize a colour selection button.</td> |
61 <td>Public method to initialize a colour selection button.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#ConfigurationPageBase.polishPage">polishPage</a></td> |
63 <td><a href="#ConfigurationPageBase.polishPage">polishPage</a></td> |
64 <td>Public slot to perform some polishing actions.</td> |
64 <td>Public slot to perform some polishing actions.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#ConfigurationPageBase.saveState">saveState</a></td> |
66 <td><a href="#ConfigurationPageBase.saveState">saveState</a></td> |
67 <td>Public method to save the current state of the widget.</td> |
67 <td>Public method to save the current state of the widget.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#ConfigurationPageBase.selectColour">selectColour</a></td> |
69 <td><a href="#ConfigurationPageBase.selectColour">selectColour</a></td> |
70 <td>Public method used by the colour selection buttons.</td> |
70 <td>Public method used by the colour selection buttons.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#ConfigurationPageBase.selectFont">selectFont</a></td> |
72 <td><a href="#ConfigurationPageBase.selectFont">selectFont</a></td> |
73 <td>Public method used by the font selection buttons.</td> |
73 <td>Public method used by the font selection buttons.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#ConfigurationPageBase.setState">setState</a></td> |
75 <td><a href="#ConfigurationPageBase.setState">setState</a></td> |
76 <td>Public method to set the state of the widget.</td> |
76 <td>Public method to set the state of the widget.</td> |
77 </tr> |
77 </tr> |
78 </table> |
78 </table> |
79 <a NAME="ConfigurationPageBase.__init__" ID="ConfigurationPageBase.__init__"></a> |
79 <a NAME="ConfigurationPageBase.__init__" ID="ConfigurationPageBase.__init__"></a> |
80 <h4>ConfigurationPageBase (Constructor)</h4> |
80 <h4>ConfigurationPageBase (Constructor)</h4> |
81 <b>ConfigurationPageBase</b>(<i></i>) |
81 <b>ConfigurationPageBase</b>(<i></i>) |
82 <p> |
82 <p> |
83 Constructor |
83 Constructor |
84 </p><a NAME="ConfigurationPageBase.initColour" ID="ConfigurationPageBase.initColour"></a> |
84 </p><a NAME="ConfigurationPageBase.initColour" ID="ConfigurationPageBase.initColour"></a> |
85 <h4>ConfigurationPageBase.initColour</h4> |
85 <h4>ConfigurationPageBase.initColour</h4> |
86 <b>initColour</b>(<i>colourstr, button, prefMethod</i>) |
86 <b>initColour</b>(<i>colourstr, button, prefMethod</i>) |
87 <p> |
87 <p> |
88 Public method to initialize a colour selection button. |
88 Public method to initialize a colour selection button. |
89 </p><dl> |
89 </p><dl> |
90 <dt><i>colourstr</i></dt> |
90 <dt><i>colourstr</i></dt> |
91 <dd> |
91 <dd> |
92 colour to be set (string) |
92 colour to be set (string) |
93 </dd><dt><i>button</i></dt> |
93 </dd><dt><i>button</i></dt> |
94 <dd> |
94 <dd> |
95 reference to a button to show the colour on (QPushButton) |
95 reference to a button to show the colour on (QPushButton) |
96 </dd><dt><i>prefMethod</i></dt> |
96 </dd><dt><i>prefMethod</i></dt> |
97 <dd> |
97 <dd> |
98 preferences method to get the colour |
98 preferences method to get the colour |
99 </dd> |
99 </dd> |
100 </dl><dl> |
100 </dl><dl> |
101 <dt>Returns:</dt> |
101 <dt>Returns:</dt> |
102 <dd> |
102 <dd> |
103 reference to the created colour (QColor) |
103 reference to the created colour (QColor) |
104 </dd> |
104 </dd> |
105 </dl><a NAME="ConfigurationPageBase.polishPage" ID="ConfigurationPageBase.polishPage"></a> |
105 </dl><a NAME="ConfigurationPageBase.polishPage" ID="ConfigurationPageBase.polishPage"></a> |
106 <h4>ConfigurationPageBase.polishPage</h4> |
106 <h4>ConfigurationPageBase.polishPage</h4> |
107 <b>polishPage</b>(<i></i>) |
107 <b>polishPage</b>(<i></i>) |
108 <p> |
108 <p> |
109 Public slot to perform some polishing actions. |
109 Public slot to perform some polishing actions. |
110 </p><a NAME="ConfigurationPageBase.saveState" ID="ConfigurationPageBase.saveState"></a> |
110 </p><a NAME="ConfigurationPageBase.saveState" ID="ConfigurationPageBase.saveState"></a> |
111 <h4>ConfigurationPageBase.saveState</h4> |
111 <h4>ConfigurationPageBase.saveState</h4> |
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</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> |
127 </dd> |
128 </dl><dl> |
128 </dl><dl> |
129 <dt>Returns:</dt> |
129 <dt>Returns:</dt> |
130 <dd> |
130 <dd> |
131 selected colour (QColor) |
131 selected colour (QColor) |
132 </dd> |
132 </dd> |
133 </dl><a NAME="ConfigurationPageBase.selectFont" ID="ConfigurationPageBase.selectFont"></a> |
133 </dl><a NAME="ConfigurationPageBase.selectFont" ID="ConfigurationPageBase.selectFont"></a> |
134 <h4>ConfigurationPageBase.selectFont</h4> |
134 <h4>ConfigurationPageBase.selectFont</h4> |
135 <b>selectFont</b>(<i>fontSample, fontVar, showFontInfo = False</i>) |
135 <b>selectFont</b>(<i>fontSample, fontVar, showFontInfo = False</i>) |
136 <p> |
136 <p> |
137 Public method used by the font selection buttons. |
137 Public method used by the font selection buttons. |
138 </p><dl> |
138 </p><dl> |
139 <dt><i>fontSample</i></dt> |
139 <dt><i>fontSample</i></dt> |
140 <dd> |
140 <dd> |
141 reference to the font sample widget (QLineEdit) |
141 reference to the font sample widget (QLineEdit) |
142 </dd><dt><i>fontVar</i></dt> |
142 </dd><dt><i>fontVar</i></dt> |
143 <dd> |
143 <dd> |
144 reference to the variable containing the font (QFont) |
144 reference to the variable containing the font (QFont) |
145 </dd><dt><i>showFontInfo</i></dt> |
145 </dd><dt><i>showFontInfo</i></dt> |
146 <dd> |
146 <dd> |
147 flag indicating to show some font info |
147 flag indicating to show some font info |
148 as the sample (boolean) |
148 as the sample (boolean) |
149 </dd> |
149 </dd> |
150 </dl><dl> |
150 </dl><dl> |
151 <dt>Returns:</dt> |
151 <dt>Returns:</dt> |
152 <dd> |
152 <dd> |
153 selected font (QFont) |
153 selected font (QFont) |
154 </dd> |
154 </dd> |
155 </dl><a NAME="ConfigurationPageBase.setState" ID="ConfigurationPageBase.setState"></a> |
155 </dl><a NAME="ConfigurationPageBase.setState" ID="ConfigurationPageBase.setState"></a> |
156 <h4>ConfigurationPageBase.setState</h4> |
156 <h4>ConfigurationPageBase.setState</h4> |
157 <b>setState</b>(<i>state</i>) |
157 <b>setState</b>(<i>state</i>) |
158 <p> |
158 <p> |
159 Public method to set the state of the widget. |
159 Public method to set the state of the widget. |
160 </p><dl> |
160 </p><dl> |
161 <dt><i>state</i></dt> |
161 <dt><i>state</i></dt> |
162 <dd> |
162 <dd> |
163 state data generated by saveState |
163 state data generated by saveState |
164 </dd> |
164 </dd> |
165 </dl> |
165 </dl> |
166 <div align="right"><a href="#top">Up</a></div> |
166 <div align="right"><a href="#top">Up</a></div> |
167 <hr /> |
167 <hr /> |
168 </body></html> |
168 </body></html> |