Questions tagged [flickable]
33 questions
10
votes
3 answers
How to make scrollbar always visible on Flckable in QML
I would like to make Scrollbar.vertical in Flickable area is always visible. currently it is visible upon clicking. Also the text area is overlapping with scroll bar. How can i sepearate scrollbar with text area in the following qml code
import…

Bupa
- 217
- 1
- 3
- 7
6
votes
1 answer
QML WebEngineView flick content
I'm trying to make a simple web-browser for desktop with Ubuntu 14.04 using QML and WebEngineView component. The application will be working on devices with touchpad so it would be nice to make the content displayed inside WebEngineView flickable.…

Evgeny Slastnikov
- 83
- 1
- 4
5
votes
1 answer
Flickable + property alias contents
I've noticed a strange behavior with inheriting Flickable.
I have two files, Comp.qml and main.qml. The idea is that any children of a Comp object will be children of the Flickable under Comp. I've defaulted the contents using
default property alias…

BlueMagma
- 2,392
- 1
- 22
- 46
5
votes
1 answer
QML listview: Flickable as delegate cannot be scrollable
To make a Android ViewPager-like for Qt, I use a listview like this:
ListView {
id: myListViewArticle
anchors.fill: parent
focus: true
highlightRangeMode: ListView.StrictlyEnforceRange
orientation:…

anticafe
- 6,816
- 9
- 43
- 74
4
votes
2 answers
How to make Flickable ensure the visibility of an item inside of it?
I have a Flickable that includes a large number of TextField objects laid out in a column with each TextField anchored to the bottom on the previous TextField. Everything is working fine except that when I use the tab key to navigate through these…

MusiGenesis
- 74,184
- 40
- 190
- 334
3
votes
1 answer
QML : Prevent snap back to bounds on touch event for flickable
I'm building a pinch and zoom feature in QML. For performance reasons, the pinchArea is a child of a flickable item.
The code below is set up where if the user double clicks on the image after manipulation, the image re-centers itself and the scale…

alex
- 107
- 2
- 8
3
votes
1 answer
How to predict a good position for snapping a flickable in QML
I have a flickable, which I want to snap to certain positions (which I compute in a specific way). I see two options:
in movementEnded I snap to the nearest position to "contentX" with a number animation
in flickEnded I snap to the nearest position…

Nathan
- 7,099
- 14
- 61
- 125
2
votes
3 answers
Qt Quick QML Flickable disable flicking and enable only scrolling
I have two Flickable inside a column and I want to scroll vertically first Flickable when user scrolls second Flickable.
Rectangle {
id: root
anchors.fill: parent
Flickable {
id: first
anchors.left: parent.left
width: parent.width/2
…

User7723337
- 11,857
- 27
- 101
- 182
2
votes
1 answer
QML FlickArea center content
I am attempting to make a PDF viewer inside of a Flickable in QML. To do this I use the Poppler library to render my PDFPages to images. When I zoom, I re-scale the size of the image, causing the content Height and Width to change.
My question is,…

piper2200s
- 151
- 7
2
votes
1 answer
Right to left Flickable
when i add a child into Flickable it anchors that to the left of whole control,but i want flickable's child anchors to the right of whole control (i think when there is anything inside flickable its flickableItem implicitWidth affects the whole…

Mahdi Khalili
- 1,025
- 15
- 32
2
votes
0 answers
detect drag from boundary in flickable but do not display the gap of the content to the boundary
I am trying to implement effects like here: https://www.google.com/design/spec/patterns/swipe-to-refresh.html
So I need the information, when the user drags the contents of a flickable away from the boundaries, but I do not want the flickable to…

Nathan
- 7,099
- 14
- 61
- 125
2
votes
0 answers
How to show JSON using a QML component?
I have a C++ code that interacts with a web API to get some data in JSON, then the JSON response is stored in a variable that can be accessed from the QML side with no issues. I want to be able to parse and show these JSON data using a custom…

Alaa Salah
- 1,047
- 3
- 12
- 28
2
votes
1 answer
Webview not scrollable using QtWebKit 1.0
Im trying to use a webview in my qml code, but the scrolling is not wrking with those two versions of QtQuick and QtWebKit.
Also I tried the Flickable Web View, the scroll works fine but fixed position content is not properly repositionned.
What I…

Mils
- 388
- 6
- 22
1
vote
1 answer
QML - Move to top #TOP
I am using a Flickable which is embedded in a Rectangle.
There is a button in the bottom of the rectangle.
My requirement is when I press the button my Flickable will move to top.
Its almost like #TOP in HTML.
Is anybody have an idea how to achieve…

Tanmay Mandal
- 39,873
- 12
- 51
- 48
1
vote
1 answer
Get mouse x & y in nested MouseArea with hoverEnabled
I made a simplified MapImage component which allows to zoom and pan an image with the mouse. This component uses Flickable and MouseArea components. The MapImage component just handles image display, zooming and panning. I want to use another…

matt
- 384
- 2
- 11