src/eric7/Documentation/Source/eric7.EricWidgets.EricMainWindow.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8877
548d45c3f571
child 10479
856476537696
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.EricWidgets.EricMainWindow</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.EricWidgets.EricMainWindow</h1>
10
11 <p>
12 Module implementing a main window class with styling support.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#EricMainWindow">EricMainWindow</a></td>
25 <td>Class implementing a main window with styling support.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="EricMainWindow" ID="EricMainWindow"></a>
36 <h2>EricMainWindow</h2>
37
38 <p>
39 Class implementing a main window with styling support.
40 </p>
41 <h3>Derived from</h3>
42 QMainWindow
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#EricMainWindow.__init__">EricMainWindow</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#EricMainWindow.setStyle">setStyle</a></td>
63 <td>Public method to set the style of the interface.</td>
64 </tr>
65 </table>
66 <h3>Static Methods</h3>
67
68 <table>
69 <tr><td>None</td></tr>
70 </table>
71
72 <a NAME="EricMainWindow.__init__" ID="EricMainWindow.__init__"></a>
73 <h4>EricMainWindow (Constructor)</h4>
74 <b>EricMainWindow</b>(<i>parent=None</i>)
75
76 <p>
77 Constructor
78 </p>
79 <dl>
80
81 <dt><i>parent</i> (QWidget)</dt>
82 <dd>
83 reference to the parent widget
84 </dd>
85 </dl>
86 <a NAME="EricMainWindow.setStyle" ID="EricMainWindow.setStyle"></a>
87 <h4>EricMainWindow.setStyle</h4>
88 <b>setStyle</b>(<i>styleName, styleSheetFile</i>)
89
90 <p>
91 Public method to set the style of the interface.
92 </p>
93 <dl>
94
95 <dt><i>styleName</i> (str)</dt>
96 <dd>
97 name of the style to set
98 </dd>
99 <dt><i>styleSheetFile</i> (str)</dt>
100 <dd>
101 name of a style sheet file to read to overwrite
102 defaults of the given style
103 </dd>
104 </dl>
105 <div align="right"><a href="#top">Up</a></div>
106 <hr />
107 </body></html>

eric ide

mercurial