Questions tagged [flickable]
33 questions
1
vote
1 answer
Flickable scrollbar malfunctioning
I have created a TextArea inside a flickable, and when I add lots of newlines the area scrolls as expected. However, although a scrollbar appears when I type more lines than the available height, if I try to drag the scrollbar it resets to fully…

TSG
- 4,242
- 9
- 61
- 121
1
vote
1 answer
qml flickable canvas load content doesn't resize and cannot flick
I have a Flickable with a child Canvas and Image. I am loading an image into the source of the Image on a button click. That all works.
The issue is the flickable doesn't refresh its dimensions to that of the image so that the whole image is…

amlwwalker
- 3,161
- 4
- 26
- 47
1
vote
2 answers
Click \ flick through emptry area of a Flickable that partially overlaps another Flickable
I have a scene "editor" flickable on the bottom, and docked at its right side, a scene "outliner" flickable on top of it, which shows a tree of the scene structure.
Flickable {
id: editor
anchors.fill: parent
contentWidth: 5000
…

dtech
- 47,916
- 17
- 112
- 190
1
vote
1 answer
stop flickable item from exceeding boundaries in qml
This question is regarding QtQuick 1.1, QML, Qt 4.5
I am making a windows style scroll bar for showing text area.
Using Flickable with TextEdit inside, and simple rectangle parts for scrollbar.
Problem is When I flick the text, it shows contents…

Daniel Sampras
- 309
- 2
- 18
1
vote
2 answers
How do I access that the movement of a QML ScrollView has ended?
I would like to do something the moment the scrolling of a QML ScrollView has ended. From the documentation I assume that flickableItem.onMovementEnded is what I'm looking for but I never get that signal. Am I understanding "Movement" wrong?
I have…

philipp
- 119
- 1
- 6
1
vote
1 answer
Disable draging of the view by pressing and holding a mouse button while moving the cursor
I want to disable the dragging of my List view using pressing and holding a mouse button while moving the cursor. I am trying to implement some other feature such as multiple selection using this command. I would only like the scrolling to be…

Vishwas
- 506
- 1
- 5
- 20
1
vote
1 answer
QML flickable print height/width while dragging view
I want to be able to print the height/width of the Flickable view while dragging it. I believe it can be done using onDraggingChanged or onMovingChanged, since a similar event listener onTextChanged does the job of listening text changes in text…

Akash Agarwal
- 2,326
- 1
- 27
- 57
1
vote
0 answers
QML Flickable Issues
I need a horizontal controller consisting of a background and moving thumb-stick. It requires the following behaviours:
Initially centred, the thumb-stick can drag to the left or right within the background bounds.
When the drag is released, the…

Constantly_Stuck
- 21
- 3
1
vote
1 answer
Access Flickable from parent element
I'm trying to call a function which is defined inside a Flickable element, but it seems impossible to access it by id. The following code produces ReferenceError: flickable is not defined when tab.getValues() is called:
import QtQuick 2.4
Tab {
…

Andrej Repiský
- 477
- 1
- 6
- 19
0
votes
0 answers
Custom DragHandler in Flickable Removes Desired Default Behavior
I have a Qt QML 6.5 flickable that I would like to drag the contents of using the right mouse button. Following this question, I implemented a custom DragHandler QML: acceptedButtons for Flickable with example code shown below. When I use the…

Steve
- 3,957
- 2
- 26
- 50
0
votes
0 answers
Zoom out in QML Flickable
When I use the scale to control the zoom in Flickable (in zoom out), the Flickable shrinks inside the item. I want to always Flickable fill parent with scale change. How can do it?
Results of my code
Flickable {
id: flickable
anchors.fill:…

Mohsen Kondori. its not real
- 35
- 1
- 6
0
votes
1 answer
How to space vertically QML objects in a Flickable using anchors?
How to space vertically QML objects in a Flickable using anchors?
The code snippet (reproduced below in this message) is supposed to display texts and images supplied by a C++ model (the C++ object is named Global in this snippet).
I get an error…

Jean-Loup Sabatier
- 789
- 4
- 10
0
votes
0 answers
create Flickable and list view that start again at end
hello how o create list view that start again at end like (0-1-2-3...8-9-0-1-2) like loop
i used tumbler but it have some problem i need something like tumbler…

amir ahmadi
- 11
- 4
0
votes
0 answers
Qt/QML: MouseArea in Flickable does not signal released/clicked when tapped on Touch Screen after upgrade
After upgrade from Qt 5.4.1 to 5.9.1 the following code has changed behavior when using a touchscreen:
import QtQuick 2.1
import QtQuick.Window 2.2
Window {
visible: true
width: flick.width + 2*grid.spacing
height: flick.height +…

buggex
- 9
- 4
0
votes
2 answers
Scroll two or more List views in QML
I need to scroll two or more list view at once using a single scrollBar. Initially, i used Column inside a Flickable but scroll was not happening as expected. Later, I used ListView and even that was not scrolling correctly.
So how to scroll a…

pra7
- 834
- 2
- 21
- 50