|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Helpviewer.UrlBar.StackedUrlBar</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.Helpviewer.UrlBar.StackedUrlBar</h1> |
|
23 <p> |
|
24 Module implementing a widget to stack url bars. |
|
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="#StackedUrlBar">StackedUrlBar</a></td> |
|
34 <td>Class implementing a widget to stack url bars.</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="StackedUrlBar" ID="StackedUrlBar"></a> |
|
43 <h2>StackedUrlBar</h2> |
|
44 <p> |
|
45 Class implementing a widget to stack url bars. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QStackedWidget |
|
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="#StackedUrlBar.__init__">StackedUrlBar</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#StackedUrlBar.currentUrlBar">currentUrlBar</a></td> |
|
64 <td>Public method to get a reference to the current url bar.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#StackedUrlBar.moveBar">moveBar</a></td> |
|
67 <td>Public slot to move a url bar.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#StackedUrlBar.urlBar">urlBar</a></td> |
|
70 <td>Public method to get a reference to the url bar for a given index.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#StackedUrlBar.urlBars">urlBars</a></td> |
|
73 <td>Public method to get a list of references to all url bars.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <h3>Static Methods</h3> |
|
77 <table> |
|
78 <tr><td>None</td></tr> |
|
79 </table> |
|
80 <a NAME="StackedUrlBar.__init__" ID="StackedUrlBar.__init__"></a> |
|
81 <h4>StackedUrlBar (Constructor)</h4> |
|
82 <b>StackedUrlBar</b>(<i>parent=None</i>) |
|
83 <p> |
|
84 Constructor |
|
85 </p><dl> |
|
86 <dt><i>parent</i></dt> |
|
87 <dd> |
|
88 reference to the parent widget (QWidget) |
|
89 </dd> |
|
90 </dl><a NAME="StackedUrlBar.currentUrlBar" ID="StackedUrlBar.currentUrlBar"></a> |
|
91 <h4>StackedUrlBar.currentUrlBar</h4> |
|
92 <b>currentUrlBar</b>(<i></i>) |
|
93 <p> |
|
94 Public method to get a reference to the current url bar. |
|
95 </p><dl> |
|
96 <dt>Returns:</dt> |
|
97 <dd> |
|
98 reference to the current url bar (UrlBar) |
|
99 </dd> |
|
100 </dl><a NAME="StackedUrlBar.moveBar" ID="StackedUrlBar.moveBar"></a> |
|
101 <h4>StackedUrlBar.moveBar</h4> |
|
102 <b>moveBar</b>(<i>from_, to_</i>) |
|
103 <p> |
|
104 Public slot to move a url bar. |
|
105 </p><dl> |
|
106 <dt><i>from_</i></dt> |
|
107 <dd> |
|
108 index of url bar to be moved (integer) |
|
109 </dd><dt><i>to_</i></dt> |
|
110 <dd> |
|
111 into to move the url bar to (integer) |
|
112 </dd> |
|
113 </dl><a NAME="StackedUrlBar.urlBar" ID="StackedUrlBar.urlBar"></a> |
|
114 <h4>StackedUrlBar.urlBar</h4> |
|
115 <b>urlBar</b>(<i>index</i>) |
|
116 <p> |
|
117 Public method to get a reference to the url bar for a given index. |
|
118 </p><dl> |
|
119 <dt><i>index</i></dt> |
|
120 <dd> |
|
121 index of the url bar (integer) |
|
122 </dd> |
|
123 </dl><dl> |
|
124 <dt>Returns:</dt> |
|
125 <dd> |
|
126 reference to the url bar for the given index (UrlBar) |
|
127 </dd> |
|
128 </dl><a NAME="StackedUrlBar.urlBars" ID="StackedUrlBar.urlBars"></a> |
|
129 <h4>StackedUrlBar.urlBars</h4> |
|
130 <b>urlBars</b>(<i></i>) |
|
131 <p> |
|
132 Public method to get a list of references to all url bars. |
|
133 </p><dl> |
|
134 <dt>Returns:</dt> |
|
135 <dd> |
|
136 list of references to url bars (list of UrlBar) |
|
137 </dd> |
|
138 </dl> |
|
139 <div align="right"><a href="#top">Up</a></div> |
|
140 <hr /> |
|
141 </body></html> |