Displays a clickable AppIcon inside a NavigationBar slot. More...
Import Statement: | import Felgo 4.0 |
Inherits: |
This item can be used to display a static AppIcon inside the left or right NavigationBar slot. It also acts as a button and can be clicked by the user.
To have an icon in the right slot of a NavigationBar, which can toggle some other item, use this code:
NavigationBar { rightBarItem: IconButtonBarItem { iconType: widgetsPage.activated ? IconType.toggleon : IconType.toggleoff onClicked: widgetsPage.activated = !widgetsPage.activated } }
color : color |
Color of the icon. Default is Theme::navigationBar.itemColor.
iconSize : real |
Size (height) for the icon to be shown, in pixels.
iconType : IconType |
Sets the icon to be shown inside the item. Use one of the IconType constants.
Note: This property was renamed from icon
in Felgo 4.0.0. This is because many types already inherit a property AbstractButton::icon from Qt Quick Controls 2.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: