|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Preferences.ConfigurationPages.MimeTypesPage</h1> |
|
23 <p> |
|
24 Module implementing the Text Mime Types configuration page. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#MimeTypesPage">MimeTypesPage</a></td> |
|
34 <td>Class implementing the Text Mime Types configuration page.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr> |
|
40 <td><a href="#create">create</a></td> |
|
41 <td>Module function to create the configuration page.</td> |
|
42 </tr> |
|
43 </table> |
|
44 <hr /><hr /> |
|
45 <a NAME="MimeTypesPage" ID="MimeTypesPage"></a> |
|
46 <h2>MimeTypesPage</h2> |
|
47 <p> |
|
48 Class implementing the Text Mime Types configuration page. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 ConfigurationPageBase, Ui_MimeTypesPage |
|
52 <h3>Class Attributes</h3> |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Class Methods</h3> |
|
57 <table> |
|
58 <tr><td>None</td></tr> |
|
59 </table> |
|
60 <h3>Methods</h3> |
|
61 <table> |
|
62 <tr> |
|
63 <td><a href="#MimeTypesPage.__init__">MimeTypesPage</a></td> |
|
64 <td>Constructor</td> |
|
65 </tr><tr> |
|
66 <td><a href="#MimeTypesPage.on_resetButton_clicked">on_resetButton_clicked</a></td> |
|
67 <td>Private slot to set the default list of mime types.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#MimeTypesPage.save">save</a></td> |
|
70 <td>Public slot to save the Interface configuration.</td> |
|
71 </tr> |
|
72 </table> |
|
73 <h3>Static Methods</h3> |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 <a NAME="MimeTypesPage.__init__" ID="MimeTypesPage.__init__"></a> |
|
78 <h4>MimeTypesPage (Constructor)</h4> |
|
79 <b>MimeTypesPage</b>(<i>parent=None</i>) |
|
80 <p> |
|
81 Constructor |
|
82 </p><dl> |
|
83 <dt><i>parent</i></dt> |
|
84 <dd> |
|
85 reference to the parent widget (QWidget) |
|
86 </dd> |
|
87 </dl><a NAME="MimeTypesPage.on_resetButton_clicked" ID="MimeTypesPage.on_resetButton_clicked"></a> |
|
88 <h4>MimeTypesPage.on_resetButton_clicked</h4> |
|
89 <b>on_resetButton_clicked</b>(<i></i>) |
|
90 <p> |
|
91 Private slot to set the default list of mime types. |
|
92 </p><a NAME="MimeTypesPage.save" ID="MimeTypesPage.save"></a> |
|
93 <h4>MimeTypesPage.save</h4> |
|
94 <b>save</b>(<i></i>) |
|
95 <p> |
|
96 Public slot to save the Interface configuration. |
|
97 </p> |
|
98 <div align="right"><a href="#top">Up</a></div> |
|
99 <hr /><hr /> |
|
100 <a NAME="create" ID="create"></a> |
|
101 <h2>create</h2> |
|
102 <b>create</b>(<i>dlg</i>) |
|
103 <p> |
|
104 Module function to create the configuration page. |
|
105 </p><dl> |
|
106 <dt><i>dlg</i></dt> |
|
107 <dd> |
|
108 reference to the configuration dialog |
|
109 </dd> |
|
110 </dl><dl> |
|
111 <dt>Returns:</dt> |
|
112 <dd> |
|
113 reference to the instantiated page (ConfigurationPageBase) |
|
114 </dd> |
|
115 </dl> |
|
116 <div align="right"><a href="#top">Up</a></div> |
|
117 <hr /> |
|
118 </body></html> |