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

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
equal deleted inserted replaced
16:892c1787d666 17:edde1fe80b3e
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.Preferences.ConfigurationPages.ConfigurationPageBase</title>
6 <style>
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n'
8 </style>
9 </head>
10 <body><a NAME="top" ID="top"></a>
11 <h1>eric5.Preferences.ConfigurationPages.ConfigurationPageBase</h1>
12 <p>
13 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#97;&#108;&#108; &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#97;&#116;&#105;&#111;&#110; &#112;&#97;&#103;&#101;&#115;.
14 </p>
15 <h3>Global Attributes</h3>
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20 <table>
21 <tr>
22 <td><a href="#ConfigurationPageBase">ConfigurationPageBase</a></td>
23 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#97;&#108;&#108; &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#97;&#116;&#105;&#111;&#110; &#112;&#97;&#103;&#101;&#115;.</td>
24 </tr>
25 </table>
26 <h3>Functions</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <hr /><hr />
31 <a NAME="ConfigurationPageBase" ID="ConfigurationPageBase"></a>
32 <h2>ConfigurationPageBase</h2>
33 <p>
34 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#97;&#108;&#108; &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#97;&#116;&#105;&#111;&#110; &#112;&#97;&#103;&#101;&#115;.
35 </p>
36 <h3>Derived from</h3>
37 QWidget
38 <h3>Class Attributes</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <h3>Methods</h3>
43 <table>
44 <tr>
45 <td><a href="#ConfigurationPageBase.__init__">ConfigurationPageBase</a></td>
46 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
47 </tr><tr>
48 <td><a href="#ConfigurationPageBase.initColour">initColour</a></td>
49 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#97; &#99;&#111;&#108;&#111;&#117;&#114; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#98;&#117;&#116;&#116;&#111;&#110;.</td>
50 </tr><tr>
51 <td><a href="#ConfigurationPageBase.polishPage">polishPage</a></td>
52 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#115;&#111;&#109;&#101; &#112;&#111;&#108;&#105;&#115;&#104;&#105;&#110;&#103; &#97;&#99;&#116;&#105;&#111;&#110;&#115;.</td>
53 </tr><tr>
54 <td><a href="#ConfigurationPageBase.saveState">saveState</a></td>
55 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#115;&#116;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.</td>
56 </tr><tr>
57 <td><a href="#ConfigurationPageBase.selectColour">selectColour</a></td>
58 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#98;y &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#98;&#117;&#116;&#116;&#111;&#110;&#115;.</td>
59 </tr><tr>
60 <td><a href="#ConfigurationPageBase.selectFont">selectFont</a></td>
61 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#98;y &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#98;&#117;&#116;&#116;&#111;&#110;&#115;.</td>
62 </tr><tr>
63 <td><a href="#ConfigurationPageBase.setState">setState</a></td>
64 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.</td>
65 </tr>
66 </table>
67 <a NAME="ConfigurationPageBase.__init__" ID="ConfigurationPageBase.__init__"></a>
68 <h4>ConfigurationPageBase (Constructor)</h4>
69 <b>ConfigurationPageBase</b>(<i></i>)
70 <p>
71 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
72 </p><a NAME="ConfigurationPageBase.initColour" ID="ConfigurationPageBase.initColour"></a>
73 <h4>ConfigurationPageBase.initColour</h4>
74 <b>initColour</b>(<i>colourstr, button, prefMethod</i>)
75 <p>
76 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#97; &#99;&#111;&#108;&#111;&#117;&#114; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#98;&#117;&#116;&#116;&#111;&#110;.
77 </p><dl>
78 <dt><i>colourstr</i></dt>
79 <dd>
80 &#99;&#111;&#108;&#111;&#117;&#114; &#116;&#111; &#98;&#101; &#115;&#101;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;)
81 </dd><dt><i>button</i></dt>
82 <dd>
83 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; &#111;&#110; (&#81;&#80;&#117;&#115;&#104;&#66;&#117;&#116;&#116;&#111;&#110;)
84 </dd><dt><i>prefMethod</i></dt>
85 <dd>
86 &#112;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114;
87 </dd>
88 </dl><dl>
89 <dt>Returns:</dt>
90 <dd>
91 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#114;&#101;&#97;&#116;&#101;&#100; &#99;&#111;&#108;&#111;&#117;&#114; (&#81;&#67;&#111;&#108;&#111;&#114;)
92 </dd>
93 </dl><a NAME="ConfigurationPageBase.polishPage" ID="ConfigurationPageBase.polishPage"></a>
94 <h4>ConfigurationPageBase.polishPage</h4>
95 <b>polishPage</b>(<i></i>)
96 <p>
97 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#112;&#101;&#114;&#102;&#111;&#114;&#109; &#115;&#111;&#109;&#101; &#112;&#111;&#108;&#105;&#115;&#104;&#105;&#110;&#103; &#97;&#99;&#116;&#105;&#111;&#110;&#115;.
98 </p><a NAME="ConfigurationPageBase.saveState" ID="ConfigurationPageBase.saveState"></a>
99 <h4>ConfigurationPageBase.saveState</h4>
100 <b>saveState</b>(<i></i>)
101 <p>
102 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#115;&#116;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.
103 </p><a NAME="ConfigurationPageBase.selectColour" ID="ConfigurationPageBase.selectColour"></a>
104 <h4>ConfigurationPageBase.selectColour</h4>
105 <b>selectColour</b>(<i>button, colourVar</i>)
106 <p>
107 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#98;y &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#98;&#117;&#116;&#116;&#111;&#110;&#115;.
108 </p><dl>
109 <dt><i>button</i></dt>
110 <dd>
111 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; &#111;&#110; (&#81;&#80;&#117;&#115;&#104;&#66;&#117;&#116;&#116;&#111;&#110;)
112 </dd><dt><i>colourVar</i></dt>
113 <dd>
114 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; (&#81;&#67;&#111;&#108;&#111;&#114;)
115 </dd>
116 </dl><dl>
117 <dt>Returns:</dt>
118 <dd>
119 &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#99;&#111;&#108;&#111;&#117;&#114; (&#81;&#67;&#111;&#108;&#111;&#114;)
120 </dd>
121 </dl><a NAME="ConfigurationPageBase.selectFont" ID="ConfigurationPageBase.selectFont"></a>
122 <h4>ConfigurationPageBase.selectFont</h4>
123 <b>selectFont</b>(<i>fontSample, fontVar, showFontInfo = False</i>)
124 <p>
125 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#98;y &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#98;&#117;&#116;&#116;&#111;&#110;&#115;.
126 </p><dl>
127 <dt><i>fontSample</i></dt>
128 <dd>
129 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#115;&#97;&#109;&#112;&#108;&#101; w&#105;&#100;&#103;&#101;&#116; (&#81;&#76;&#105;&#110;&#101;&#69;&#100;&#105;&#116;)
130 </dd><dt><i>fontVar</i></dt>
131 <dd>
132 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#102;&#111;&#110;&#116; (&#81;&#70;&#111;&#110;&#116;)
133 </dd><dt><i>showFontInfo</i></dt>
134 <dd>
135 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#115;&#104;&#111;w &#115;&#111;&#109;&#101; &#102;&#111;&#110;&#116; &#105;&#110;&#102;&#111;
136 &#97;&#115; &#116;&#104;&#101; &#115;&#97;&#109;&#112;&#108;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
137 </dd>
138 </dl><dl>
139 <dt>Returns:</dt>
140 <dd>
141 &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#102;&#111;&#110;&#116; (&#81;&#70;&#111;&#110;&#116;)
142 </dd>
143 </dl><a NAME="ConfigurationPageBase.setState" ID="ConfigurationPageBase.setState"></a>
144 <h4>ConfigurationPageBase.setState</h4>
145 <b>setState</b>(<i>state</i>)
146 <p>
147 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#101; &#111;&#102; &#116;&#104;&#101; w&#105;&#100;&#103;&#101;&#116;.
148 </p><dl>
149 <dt><i>state</i></dt>
150 <dd>
151 &#115;&#116;&#97;&#116;&#101; &#100;&#97;&#116;&#97; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101;&#100; &#98;y &#115;&#97;v&#101;&#83;&#116;&#97;&#116;&#101;
152 </dd>
153 </dl>
154 <div align="right"><a href="#top">Up</a></div>
155 <hr />
156 </body></html>

eric ide

mercurial