|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.MimeTypesPage</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Preferences.ConfigurationPages.MimeTypesPage</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the Text Mime Types configuration page. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#MimeTypesPage">MimeTypesPage</a></td> |
|
39 <td>Class implementing the Text Mime Types configuration page.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 |
|
46 <tr> |
|
47 <td><a href="#create">create</a></td> |
|
48 <td>Module function to create the configuration page.</td> |
|
49 </tr> |
|
50 </table> |
|
51 <hr /> |
|
52 <hr /> |
|
53 <a NAME="MimeTypesPage" ID="MimeTypesPage"></a> |
|
54 <h2>MimeTypesPage</h2> |
|
55 |
|
56 <p> |
|
57 Class implementing the Text Mime Types configuration page. |
|
58 </p> |
|
59 <h3>Derived from</h3> |
|
60 ConfigurationPageBase, Ui_MimeTypesPage |
|
61 <h3>Class Attributes</h3> |
|
62 |
|
63 <table> |
|
64 <tr><td>None</td></tr> |
|
65 </table> |
|
66 <h3>Class Methods</h3> |
|
67 |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <h3>Methods</h3> |
|
72 |
|
73 <table> |
|
74 |
|
75 <tr> |
|
76 <td><a href="#MimeTypesPage.__init__">MimeTypesPage</a></td> |
|
77 <td>Constructor</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#MimeTypesPage.__setToDefault">__setToDefault</a></td> |
|
81 <td>Private slot to set the message list to the default values.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#MimeTypesPage.on_resetButton_clicked">on_resetButton_clicked</a></td> |
|
85 <td>Private slot to set the default list of mime types.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#MimeTypesPage.save">save</a></td> |
|
89 <td>Public slot to save the Interface configuration.</td> |
|
90 </tr> |
|
91 </table> |
|
92 <h3>Static Methods</h3> |
|
93 |
|
94 <table> |
|
95 <tr><td>None</td></tr> |
|
96 </table> |
|
97 |
|
98 <a NAME="MimeTypesPage.__init__" ID="MimeTypesPage.__init__"></a> |
|
99 <h4>MimeTypesPage (Constructor)</h4> |
|
100 <b>MimeTypesPage</b>(<i></i>) |
|
101 |
|
102 <p> |
|
103 Constructor |
|
104 </p> |
|
105 <a NAME="MimeTypesPage.__setToDefault" ID="MimeTypesPage.__setToDefault"></a> |
|
106 <h4>MimeTypesPage.__setToDefault</h4> |
|
107 <b>__setToDefault</b>(<i></i>) |
|
108 |
|
109 <p> |
|
110 Private slot to set the message list to the default values. |
|
111 </p> |
|
112 <a NAME="MimeTypesPage.on_resetButton_clicked" ID="MimeTypesPage.on_resetButton_clicked"></a> |
|
113 <h4>MimeTypesPage.on_resetButton_clicked</h4> |
|
114 <b>on_resetButton_clicked</b>(<i></i>) |
|
115 |
|
116 <p> |
|
117 Private slot to set the default list of mime types. |
|
118 </p> |
|
119 <a NAME="MimeTypesPage.save" ID="MimeTypesPage.save"></a> |
|
120 <h4>MimeTypesPage.save</h4> |
|
121 <b>save</b>(<i></i>) |
|
122 |
|
123 <p> |
|
124 Public slot to save the Interface configuration. |
|
125 </p> |
|
126 <div align="right"><a href="#top">Up</a></div> |
|
127 <hr /> |
|
128 <hr /> |
|
129 <a NAME="create" ID="create"></a> |
|
130 <h2>create</h2> |
|
131 <b>create</b>(<i>dlg</i>) |
|
132 |
|
133 <p> |
|
134 Module function to create the configuration page. |
|
135 </p> |
|
136 <dl> |
|
137 |
|
138 <dt><i>dlg</i></dt> |
|
139 <dd> |
|
140 reference to the configuration dialog |
|
141 </dd> |
|
142 </dl> |
|
143 <dl> |
|
144 <dt>Return:</dt> |
|
145 <dd> |
|
146 reference to the instantiated page (ConfigurationPageBase) |
|
147 </dd> |
|
148 </dl> |
|
149 <div align="right"><a href="#top">Up</a></div> |
|
150 <hr /> |
|
151 </body></html> |