ToolsColumn QML Type

The tools column component for Neptune 3 applications. More...

Since: Qt 5.11




Detailed Description

The ToolsColumn provides a custom column of tool buttons for Neptune 3 Applications to follow the specification where only one of them can be selected at any given time.

See Neptune 3 UI Components and Interfaces to see more available components in Neptune 3 UI.

Example Usage

The following example uses ToolsColumn:

import QtQuick 2.10
import shared.controls 1.0

Item {
    id: root

    ToolsColumn {
        translationContext: "MyToolsColumn"
        model: ListModel {
            ListElement { icon: "ic-foo"; text: QT_TRANSLATE_NOOP("MyToolsColumn", "foo") }
            ListElement { icon: "ic-bar"; text: QT_TRANSLATE_NOOP("MyToolsColumn", "bar") }

Property Documentation

currentIndex : int

This property holds the current selected index of the tools column.

This property's default is 0.

currentItem : Item

This property holds the current selected item of the tools column.

[read-only] currentText : string

This property holds the current selected text of the tools column.

model : var

This property holds the model to be delegated in the tools column.

[read-only] translationContext : string

This property holds the translation context of the tools column.

This property's default is 0.

Signal Documentation


This signal is emitted when one of the tool is clicked by the user.

Note: The corresponding handler is onClicked.

© 2018 Pelagicore AG. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.