|
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.SqlBrowser.SqlBrowser</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.SqlBrowser.SqlBrowser</h1> |
|
24 <p> |
|
25 Module implementing the SQL Browser main window. |
|
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="#SqlBrowser">SqlBrowser</a></td> |
|
35 <td>Class implementing the SQL Browser main window.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="SqlBrowser" ID="SqlBrowser"></a> |
|
44 <h2>SqlBrowser</h2> |
|
45 <p> |
|
46 Class implementing the SQL Browser main window. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QMainWindow |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#SqlBrowser.__init__">SqlBrowser</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SqlBrowser.__about">__about</a></td> |
|
61 <td>Private slot to show the about information.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SqlBrowser.__aboutQt">__aboutQt</a></td> |
|
64 <td>Private slot to show info about Qt.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SqlBrowser.__initActions">__initActions</a></td> |
|
67 <td>Private method to define the user interface actions.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SqlBrowser.__initMenus">__initMenus</a></td> |
|
70 <td>Private method to create the menus.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SqlBrowser.__initToolbars">__initToolbars</a></td> |
|
73 <td>Private method to create the toolbars.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SqlBrowser.__uiStartUp">__uiStartUp</a></td> |
|
76 <td>Private slot to do some actions after the UI has started and the main loop is up.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <a NAME="SqlBrowser.__init__" ID="SqlBrowser.__init__"></a> |
|
80 <h4>SqlBrowser (Constructor)</h4> |
|
81 <b>SqlBrowser</b>(<i>connections = [], parent = None</i>) |
|
82 <p> |
|
83 Constructor |
|
84 </p><dl> |
|
85 <dt><i>connections</i></dt> |
|
86 <dd> |
|
87 list of database connections to add (list of strings) |
|
88 </dd><dt><i>reference</i></dt> |
|
89 <dd> |
|
90 to the parent widget (QWidget) |
|
91 </dd> |
|
92 </dl><a NAME="SqlBrowser.__about" ID="SqlBrowser.__about"></a> |
|
93 <h4>SqlBrowser.__about</h4> |
|
94 <b>__about</b>(<i></i>) |
|
95 <p> |
|
96 Private slot to show the about information. |
|
97 </p><a NAME="SqlBrowser.__aboutQt" ID="SqlBrowser.__aboutQt"></a> |
|
98 <h4>SqlBrowser.__aboutQt</h4> |
|
99 <b>__aboutQt</b>(<i></i>) |
|
100 <p> |
|
101 Private slot to show info about Qt. |
|
102 </p><a NAME="SqlBrowser.__initActions" ID="SqlBrowser.__initActions"></a> |
|
103 <h4>SqlBrowser.__initActions</h4> |
|
104 <b>__initActions</b>(<i></i>) |
|
105 <p> |
|
106 Private method to define the user interface actions. |
|
107 </p><a NAME="SqlBrowser.__initMenus" ID="SqlBrowser.__initMenus"></a> |
|
108 <h4>SqlBrowser.__initMenus</h4> |
|
109 <b>__initMenus</b>(<i></i>) |
|
110 <p> |
|
111 Private method to create the menus. |
|
112 </p><a NAME="SqlBrowser.__initToolbars" ID="SqlBrowser.__initToolbars"></a> |
|
113 <h4>SqlBrowser.__initToolbars</h4> |
|
114 <b>__initToolbars</b>(<i></i>) |
|
115 <p> |
|
116 Private method to create the toolbars. |
|
117 </p><a NAME="SqlBrowser.__uiStartUp" ID="SqlBrowser.__uiStartUp"></a> |
|
118 <h4>SqlBrowser.__uiStartUp</h4> |
|
119 <b>__uiStartUp</b>(<i></i>) |
|
120 <p> |
|
121 Private slot to do some actions after the UI has started and the main loop is up. |
|
122 </p> |
|
123 <div align="right"><a href="#top">Up</a></div> |
|
124 <hr /> |
|
125 </body></html> |