We are using QML ListViews in our desktop app. It works well... Now that a
lot of bugs have been fixed, and that we really understand how ListView
works :)

As for the scrollbar, we made a quick Scrollbar component that works very
well. The code looks like this:

ListView {
  id: myList
...
}
ScrollBar {
  attachTo: myList
}

The scrollbar can be attached to any Flickable (so that includes ListView).
But it only works for vertical scrolling, as of now. We may share the code
for this component, if it's of any interest to you. Just drop me a mail.

(By the way, that raises again the question of a public place to share qml
componentns :) )

Cheers

greg


On Thu, Aug 12, 2010 at 8:31 PM, Riaan Kruger <[email protected]> wrote:

> I am playing with QML and is considering replacing a listview in a C++
> (desktop) application with a QML based listview using qdeclarativeview.
> I want to do this to demonstrate the capabilities of QML and because I find
> customizing list/tree views in Qt C++ hard.
>
> Is this a good idea, or am I in for some hurt?
> What is the best strategy for handling scrolling; scrollbars are normally
> preferred on the desktop
>
>
> Riaan
>
> _______________________________________________
> Qt-qml mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
>
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to