Questions tagged [qtquickextras]

The Qt Quick Extras module provides specialized controls for creating user interfaces. These QML types work in conjunction with Qt Quick and Qt Quick Controls.

Previously known as Qt Quick Enterprise Controls and available only under certain Qt licenses, these QML types were renamed to Qt Quick Extras and distributed under the same LGPL license as the rest of the Qt modules.

Qt Quick Extras are a series of QML types that provides more advanced controls for the creation of rich UIs. The module includes the following types:

  • CircularGauge. A gauge that displays a value within a range along an arc.
  • DelayButton. A checkable button that triggers an action when held in long enough.
  • Dial. A circular dial that is rotated to set a value.
  • Gauge. A straight gauge that displays a value within a range.
  • Picture. An indicator that displays a colorized QPicture icon.
  • PieMenu. A popup menu that displays several menu items along an arc.
  • StatusIndicator. An indicator that displays active or inactive states.
  • ToggleButton. A push button that toggles between two states.
  • Tumbler. A control that can have several spinnable wheels, each with items that can be selected.
  • TumblerColumn. A column within a tumbler.
9 questions
4
votes
1 answer

QML QQuickText: Cannot anchor to an item that isn't a parent or sibling

When I use TumblerColumn in my Tumbler, I get QML QQuickText: Cannot anchor to an item that isn't a parent or sibling, When I use Tumbler alone the error doesn't appear. I can't figure out what is the problem with TumblerColumn. Here is my Dialog…
Junius L
  • 15,881
  • 6
  • 52
  • 96
3
votes
1 answer

Trying to center items programmatically in a ListView

I would like to have centered items in QML ListView and therefore I've added following code of my ListView: import QtQuick 2.0 import QtMultimedia 5.5 import QtQuick.Controls 1.3 import QtQuick.Extras 1.4 import QtQuick.Layouts 1.2 import…
KernelPanic
  • 2,328
  • 7
  • 47
  • 90
2
votes
1 answer

How to change the colour of selected item in Tumbler

I am trying to familiarise myself with QML and was looking at the nice example involving TumblerColumn. I have a simple spinner column as: TumblerColumn { id: yearColumn width: characterMetrics.width * 4 +…
Luca
  • 10,458
  • 24
  • 107
  • 234
2
votes
1 answer

Unable to position custom styled Tumbler

I am trying to give a Tumbler my own style. I declare the Tumbler like this: Tumbler { style: MyTumblerStyle {} height: UIConstants.smallFontSize * 10 width: UIConstants.smallFontSize * 3 TumblerColumn { model:…
Nathan
  • 7,099
  • 14
  • 61
  • 125
2
votes
1 answer

QML ListView populate property does not work (its animation)

I have following QML ListView inside ueLoginWindow: import QtQuick 2.0 import QtMultimedia 5.5 import QtQuick.Controls 1.3 import QtQuick.Extras 1.4 import QtQuick.Layouts 1.2 import QtQuick.Window 2.2 import QtTest 1.1 import Enginio 1.0 import…
KernelPanic
  • 2,328
  • 7
  • 47
  • 90
1
vote
1 answer

Adding a custom border for each TumblerColumn

I have just started looking into QML and QT Quick Controls and been playing around with the Tumbler control. At the moment, I have modified the example and tried to customise it to get a feel for the controls. So, the way it stands is as…
Luca
  • 10,458
  • 24
  • 107
  • 234
0
votes
2 answers

CircularGauge parent reference error

when exiting application developed under Qt, I am getting following error: file:///C:/Qt/5.10.0/mingw53_32/qml/QtQuick/Controls/Private/Control.qml:90: ReferenceError: parent is not defined from component defined as simply as this: import QtQuick…
Piotr Smaroń
  • 446
  • 3
  • 11
0
votes
1 answer

Can a QML DelayButton's flashing be programmatically turned off?

I have a DelayButton that I would like to stop flashing (after it's been pressed) when the operation triggered by the button is completed. However, it appears that none of the properties DelayButton are writeable. Is there a way to stop the…
Kyle Strand
  • 15,941
  • 8
  • 72
  • 167
0
votes
1 answer

QML TumblerColumn width exceeds ColumnLayout geometry

I have following QML Tumbler: import QtQuick 2.0 import QtMultimedia 5.5 import QtQuick.Controls 1.3 import QtQuick.Extras 1.4 import QtQuick.Layouts 1.2 import QtQuick.Window 2.2 import QtTest 1.1 import "../items" Rectangle { id:…
KernelPanic
  • 2,328
  • 7
  • 47
  • 90