|
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>eric4.Preferences.ConfigurationPages.ProjectBrowserPage</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Preferences.ConfigurationPages.ProjectBrowserPage</h1> |
|
24 <p> |
|
25 Module implementing the Project Browser configuration page. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#ProjectBrowserPage">ProjectBrowserPage</a></td> |
|
35 <td>Class implementing the Project Browser configuration page.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr> |
|
41 <td><a href="#create">create</a></td> |
|
42 <td>Module function to create the configuration page.</td> |
|
43 </tr> |
|
44 </table> |
|
45 <hr /><hr /> |
|
46 <a NAME="ProjectBrowserPage" ID="ProjectBrowserPage"></a> |
|
47 <h2>ProjectBrowserPage</h2> |
|
48 <p> |
|
49 Class implementing the Project Browser configuration page. |
|
50 </p> |
|
51 <h3>Derived from</h3> |
|
52 ConfigurationPageBase, Ui_ProjectBrowserPage |
|
53 <h3>Class Attributes</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#ProjectBrowserPage.__init__">ProjectBrowserPage</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#ProjectBrowserPage.__setProjectBrowsersCheckBoxes">__setProjectBrowsersCheckBoxes</a></td> |
|
64 <td>Private method to set the checkboxes according to the selected project type.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#ProjectBrowserPage.__storeProjectBrowserFlags">__storeProjectBrowserFlags</a></td> |
|
67 <td>Private method to store the flags for the selected project type.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#ProjectBrowserPage.on_pbHighlightedButton_clicked">on_pbHighlightedButton_clicked</a></td> |
|
70 <td>Private slot to set the colour for highlighted entries of the project others browser.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#ProjectBrowserPage.on_projectTypeCombo_activated">on_projectTypeCombo_activated</a></td> |
|
73 <td>Private slot to set the browser checkboxes according to the selected project type.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#ProjectBrowserPage.save">save</a></td> |
|
76 <td>Public slot to save the Project Browser configuration.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <a NAME="ProjectBrowserPage.__init__" ID="ProjectBrowserPage.__init__"></a> |
|
80 <h4>ProjectBrowserPage (Constructor)</h4> |
|
81 <b>ProjectBrowserPage</b>(<i></i>) |
|
82 <p> |
|
83 Constructor |
|
84 </p><a NAME="ProjectBrowserPage.__setProjectBrowsersCheckBoxes" ID="ProjectBrowserPage.__setProjectBrowsersCheckBoxes"></a> |
|
85 <h4>ProjectBrowserPage.__setProjectBrowsersCheckBoxes</h4> |
|
86 <b>__setProjectBrowsersCheckBoxes</b>(<i>projectType</i>) |
|
87 <p> |
|
88 Private method to set the checkboxes according to the selected project type. |
|
89 </p><dl> |
|
90 <dt><i>projectType</i></dt> |
|
91 <dd> |
|
92 type of the selected project (string) |
|
93 </dd> |
|
94 </dl><a NAME="ProjectBrowserPage.__storeProjectBrowserFlags" ID="ProjectBrowserPage.__storeProjectBrowserFlags"></a> |
|
95 <h4>ProjectBrowserPage.__storeProjectBrowserFlags</h4> |
|
96 <b>__storeProjectBrowserFlags</b>(<i>projectType</i>) |
|
97 <p> |
|
98 Private method to store the flags for the selected project type. |
|
99 </p><dl> |
|
100 <dt><i>projectType</i></dt> |
|
101 <dd> |
|
102 type of the selected project (string) |
|
103 </dd> |
|
104 </dl><a NAME="ProjectBrowserPage.on_pbHighlightedButton_clicked" ID="ProjectBrowserPage.on_pbHighlightedButton_clicked"></a> |
|
105 <h4>ProjectBrowserPage.on_pbHighlightedButton_clicked</h4> |
|
106 <b>on_pbHighlightedButton_clicked</b>(<i></i>) |
|
107 <p> |
|
108 Private slot to set the colour for highlighted entries of the |
|
109 project others browser. |
|
110 </p><a NAME="ProjectBrowserPage.on_projectTypeCombo_activated" ID="ProjectBrowserPage.on_projectTypeCombo_activated"></a> |
|
111 <h4>ProjectBrowserPage.on_projectTypeCombo_activated</h4> |
|
112 <b>on_projectTypeCombo_activated</b>(<i>index</i>) |
|
113 <p> |
|
114 Private slot to set the browser checkboxes according to the selected |
|
115 project type. |
|
116 </p><dl> |
|
117 <dt><i>index</i></dt> |
|
118 <dd> |
|
119 index of the selected project type (integer) |
|
120 </dd> |
|
121 </dl><a NAME="ProjectBrowserPage.save" ID="ProjectBrowserPage.save"></a> |
|
122 <h4>ProjectBrowserPage.save</h4> |
|
123 <b>save</b>(<i></i>) |
|
124 <p> |
|
125 Public slot to save the Project Browser configuration. |
|
126 </p> |
|
127 <div align="right"><a href="#top">Up</a></div> |
|
128 <hr /><hr /> |
|
129 <a NAME="create" ID="create"></a> |
|
130 <h2>create</h2> |
|
131 <b>create</b>(<i>dlg</i>) |
|
132 <p> |
|
133 Module function to create the configuration page. |
|
134 </p><dl> |
|
135 <dt><i>dlg</i></dt> |
|
136 <dd> |
|
137 reference to the configuration dialog |
|
138 </dd> |
|
139 </dl> |
|
140 <div align="right"><a href="#top">Up</a></div> |
|
141 <hr /> |
|
142 </body></html> |