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

branch
eric7
changeset 10500
40fc136e7002
parent 10479
856476537696
equal deleted inserted replaced
10499:71208bcc7d99 10500:40fc136e7002
40 <p> 40 <p>
41 Class implementing a sidebar with a widget area, that is hidden or shown, 41 Class implementing a sidebar with a widget area, that is hidden or shown,
42 if the current tab is clicked again. 42 if the current tab is clicked again.
43 </p> 43 </p>
44 44
45 <h3>Signals</h3>
46 <dl>
47
48 <dt>currentChanged(index)</dt>
49 <dd>
50 emitted to indicate a change of the current
51 index
52 </dd>
53 </dl>
45 <h3>Derived from</h3> 54 <h3>Derived from</h3>
46 QWidget 55 QWidget
47 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
48 <table> 57 <table>
49 <tr><td>Version</td></tr> 58 <tr><td>Version</td></tr>
159 <tr> 168 <tr>
160 <td><a href="#EricSideBar.setOrientation">setOrientation</a></td> 169 <td><a href="#EricSideBar.setOrientation">setOrientation</a></td>
161 <td>Public method to set the orientation of the sidebar.</td> 170 <td>Public method to set the orientation of the sidebar.</td>
162 </tr> 171 </tr>
163 <tr> 172 <tr>
173 <td><a href="#EricSideBar.setTabIcon">setTabIcon</a></td>
174 <td>Public method to set the icon at the given index.</td>
175 </tr>
176 <tr>
164 <td><a href="#EricSideBar.widget">widget</a></td> 177 <td><a href="#EricSideBar.widget">widget</a></td>
165 <td>Public method to get a reference to the widget associated with a tab.</td> 178 <td>Public method to get a reference to the widget associated with a tab.</td>
166 </tr> 179 </tr>
167 </table> 180 </table>
168 181
585 <dl> 598 <dl>
586 599
587 <dt><i>orient</i> (EricSideBarSide)</dt> 600 <dt><i>orient</i> (EricSideBarSide)</dt>
588 <dd> 601 <dd>
589 orientation of the sidebar 602 orientation of the sidebar
603 </dd>
604 </dl>
605 <a NAME="EricSideBar.setTabIcon" ID="EricSideBar.setTabIcon"></a>
606 <h4>EricSideBar.setTabIcon</h4>
607 <b>setTabIcon</b>(<i>index, icon</i>)
608 <p>
609 Public method to set the icon at the given index.
610 </p>
611
612 <dl>
613
614 <dt><i>index</i> (int)</dt>
615 <dd>
616 icon index
617 </dd>
618 <dt><i>icon</i> (QIcon)</dt>
619 <dd>
620 reference to the icon
590 </dd> 621 </dd>
591 </dl> 622 </dl>
592 <a NAME="EricSideBar.widget" ID="EricSideBar.widget"></a> 623 <a NAME="EricSideBar.widget" ID="EricSideBar.widget"></a>
593 <h4>EricSideBar.widget</h4> 624 <h4>EricSideBar.widget</h4>
594 <b>widget</b>(<i>index</i>) 625 <b>widget</b>(<i>index</i>)

eric ide

mercurial