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