Module implementing a bar widget showing just icons.
None |
EricIconBar | Class implementing a bar widget showing just icons. |
None |
Class implementing a bar widget showing just icons.
BarSizes |
DefaultBarSize |
LabelStyleSheetTemplate |
MenuStyleSheetTemplate |
MoreLabelAspect |
WidgetStyleSheetTemplate |
None |
EricIconBar | Constructor |
__adjustIconLabels | Private method to adjust the visibility of the icon labels. |
__createAndAddMoreLabel | Private method to create the label to be shown for too many icons. |
__createIcon | Private method to creat an icon label. |
__iconClicked | Private slot to handle an icon been clicked. |
__moreLabelClicked | Private slot to handle a click onto the 'More' label. |
addIcon | Public method to add an icon to the bar. |
barSize | Public method to get the icon bar size. |
color | Public method to return the current color. |
count | Public method to get the number of icon labels. |
currentIndex | Public method to get the current index. |
insertIcon | Public method to insert an icon into the bar. |
mouseReleaseEvent | Protected method to handle a click on the empty space. |
nextIcon | Public slot to set the icon after the current one. |
orientation | Public method to get the orientation of the widget. |
previousIcon | Public slot to set the icon before the current one. |
removeIcon | Public method to remove an icon from the bar. |
resizeEvent | Protected method to handle resizing of the icon bar. |
setBarSize | Public method to set the icon bar size. |
setColor | Public method to set the color of the widget. |
setCurrentIndex | Public method to set the current index. |
setIcon | Public method to set the icon at the given index. |
setOrientation | Public method to set the widget orientation. |
wheelEvent | Protected method to handle a wheel event. |
None |
Constructor
Private method to adjust the visibility of the icon labels.
Private method to create the label to be shown for too many icons.
Private method to creat an icon label.
Private slot to handle an icon been clicked.
Private slot to handle a click onto the 'More' label.
Public method to add an icon to the bar.
Public method to get the icon bar size.
Public method to return the current color.
Public method to get the number of icon labels.
Public method to get the current index.
Public method to insert an icon into the bar.
Protected method to handle a click on the empty space.
Public slot to set the icon after the current one.
Public method to get the orientation of the widget.
Public slot to set the icon before the current one.
Public method to remove an icon from the bar.
Protected method to handle resizing of the icon bar.
Public method to set the icon bar size.
Public method to set the color of the widget.
Public method to set the current index.
Public method to set the icon at the given index.
Public method to set the widget orientation.
Protected method to handle a wheel event.