Commit d48d06e0 authored by Aleksi Suomalainen's avatar Aleksi Suomalainen Committed by GitHub

Merge pull request #36 from neochapay/master

Add listview decorator
parents e7163219 d2b21596
qtquickcontrols-nemo qtquickcontrols-nemo
==================== ====================
QML components for Nemomobile, based on QtQuickControls
Glacier/Breeze components for Nemomobile, based on QtQuickControls # Mockups
All mockups of qtquickcontrols-nemo aviable here : https://github.com/qwazix/glacier-controls-spec
Hello people :) # Current status
I took inspiration from the current qtquickcontrols-tizen repo and Current status you can see on mer wiki https://wiki.merproject.org/wiki/Nemo/Glacier
built the repo for the new Nemo components for Glacier UI! # Development
So, first of all, a big thank you to Tomasz Olszak (nickname: tolszak)
and Jarosław_Staniek (nickname: staniek) for their awesome work on
Qt for Tizen!
I changed quite a lot of stuff from qtquickcontrols-tizen repo
in the attempt to improve the overall quality and make things
easier for the people who will contribute to building Glacier
components. I hope I succeeded at that task :)
For those who don't know what Glacier is:
It is the new UI for Nemomobile, you can find some mockup here:
http://play.qwazix.com/grog/?p=344
Yes, it will be as awesome as it looks from the mockups! :D
If you want to be part of the development please do not hesitate If you want to be part of the development please do not hesitate
to come talk to me (faenil) at #nemomobile IRC channel (FreeNode server) to come talk at #nemomobile IRC channel (FreeNode server)
and...let's make it happen!
Cheers,
faenil
(Andrea Bernabei)
...@@ -8,6 +8,8 @@ ListView { ...@@ -8,6 +8,8 @@ ListView {
signal hideAllActions(int hideIndex) signal hideAllActions(int hideIndex)
property bool showDecorator: false
section.criteria: ViewSection.FullString section.criteria: ViewSection.FullString
section.delegate: Component{ section.delegate: Component{
id: sectionHeading id: sectionHeading
...@@ -63,5 +65,19 @@ ListView { ...@@ -63,5 +65,19 @@ ListView {
} }
} }
Rectangle{
id: scrollerDecorator
visible: (listView.showDecorator && listView.contentHeight > listView.height)
color: "#0091e5"
width: 5
height: listView.height*listView.height/listView.contentHeight
y: (listView.height)/listView.contentHeight*listView.contentY
anchors{
right: listView.right
rightMargin: 4
}
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment