Questions tagged [qtquickcontrols]

The Qt Quick Controls module provides a set of controls that can be used to build complete interfaces in Qt Quick. The module is new in Qt 5.1 and requires Qt Quick 2.1.

Qt Website

The Qt Quick Controls module provides a set of controls that can be used to build complete interfaces in Qt Quick. The module is new in Qt 5.1 and requires Qt Quick 2.1.

254 questions
0
votes
2 answers

Slider element keeps resetting target value to slider's minimum value

There is a self contained example of the problem: Rectangle { id: rect width: 200 height: 200 property real v : 50 onVChanged: console.log(v) Button { onClicked: scomp.createObject(rect) } Component { …
IvanB
  • 115
  • 8
0
votes
1 answer

how to put a generic Qt Quick's control inside a Menu

How may I put a generic Qt Quick's control inside a Menu? Something like: ApplicationWindow { visible: true menu: Menu { MenuItem { } Slider { } Button { } } } with "standard" Qt you can do that with a…
lambdauser
  • 183
  • 1
  • 8
0
votes
0 answers

Issue in QML slider implementation. Slider jumping backwards when dragged forward

I have created a slider for a mediaplayer application in QML. The value property of the slider is updated by a thread in the background. My issue is that when the slider is dragged to do a seek,even though a seek action has been done and new value…
0
votes
1 answer

Loading tab from different file does not show anything. QML

I am trying to load tabs dynamicly into a TabView from a different file. For this I am using Qt.createComponent and adds the component to the view. The tab is loaded but it's content does not show up and it is properly loaded. Like this: TabView { …
Jerry
  • 13
  • 5
0
votes
3 answers

Change font size of a Button in Android while remaining native

I'd like to change the font size of a Button. I used the solution from here import QtQuick 2.2 import QtQuick.Controls 1.2 import QtQuick.Controls.Styles 1.2 Rectangle { id: container width: 800 height: 800 Button { id: cmdQuit …
marmistrz
  • 5,974
  • 10
  • 42
  • 94
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
0
votes
3 answers

How to install QtQuick.Controls 1.4 on Ubuntu?

I have installed the latest Qt 5.5.0, but there seems to be only QtQuick.Controls 1.0 and 1.1. I want to use TreeView, which is contained in the 1.4 version.
Zen
  • 5,065
  • 8
  • 29
  • 49
0
votes
1 answer

Why does QML Model-View-Delegate behave like this?

I am trying to make a ListView of n CheckBox items where the top item is a "select/deselect all"-item. When checking the select/deselect all CheckBoxes upon program startup it selects/deselects all the n CheckBoxes, but as soon as I check/uncheck…
uniquenamehere
  • 1,869
  • 3
  • 31
  • 60
0
votes
1 answer

ListView.onRemove animation vs childrenRect.height

I noticed strange behaviour in ListView childrenRect.height when I am removing elements from its model with ListView.onRemove animation. When I remove all elements except the last one, childrenRect.height property is wrong, but contentHeight…
Mateusz Drost
  • 1,171
  • 10
  • 23
0
votes
1 answer

qml: achieve a chrome-like menu

I would like to achieve with QML a menu with a single menu item, like chrome does it. It has this button with those three horizontal bars and when you click it you get a single menu. Recent versions of firefox also follow the same principle. It…
Emmanuel Touzery
  • 9,008
  • 3
  • 65
  • 81
0
votes
1 answer

Qt 5.4, QML TextArea displays QTextCharFormat::AlignSuperScript wrong

I have QML document which contains TextArea and few Buttons (Rich Text Editor in essence). All works fine (Bold, Italic, Underline, etc.), but not Superscript. Superscript-ed text just gets smaller, but does not get raised. Please take a look at the…
Maz T
  • 1,184
  • 13
  • 18
0
votes
1 answer

Automatic updating of data in TableView and traceing all changes in QSqlTableModel

I have TableView and QSqlTableModel as a model for this TableView. They connected as written here (the second method). I'd like that TableView would refresh its view (data) automatically (when something inserted/updated/removed in the model). How…
alr
  • 1,332
  • 3
  • 13
  • 23
0
votes
2 answers

How do I manually scroll a TextArea of ScrollView (Qt Quick)?

If I have a TextArea or ScrollView, how can I manually set the scroll position, and ideally react to it too. This is to create a log window - I want it so that if I append text and the view was previously scrolled to the bottom, it is scrolled there…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
0
votes
1 answer

I have this version of Qt. still unable to use Qt.controls and QtQuick 2.0.

I have updated my Qt version to Qt Creator 2.7.1 Based on Qt 5.0.2 (32 bit) Built on Sep 6 2013 at 08:23:22 Still I am not able to use Qt Quick controls and Qt Quick 2.0. I get this error module "QtQuick" version 2.0 is not installed import…
Jino
  • 345
  • 1
  • 2
  • 16
1 2 3
16
17