Results 1 to 2 of 2

Thread: Possible to port QML Recipe ListView (expandingdelegates.qml) to QtGui?

  1. #1
    Join Date
    Aug 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Possible to port QML Recipe ListView (expandingdelegates.qml) to QtGui?

    Hello all,

    I'm fairly new to Qt, but I've been plowing through examples and am lusting over this expanding listbox QML interface as seen in:

    http://www.youtube.com/watch?v=2x_bS4M3jhY

    QML file is available at: http://doc.qt.nokia.com/4.7-snapshot...gates-qml.html

    I was able to successfully import this into my PySide project using QDeclarativeView. I was even able to import some QtGui widgets into the QML using the impressive but incomplete Qt Desktop components for QML ( http://labs.qt.nokia.com/2011/03/10/...s-for-desktop/ ).

    Eventually it became apparent that QtQuick is completely geared toward touch driven mobile devices. I can't get a real scrollbar for the life of me outside of the experimental desktop components. The scrollwheel is only available through an extension. Unfortunately the Qml desktop components, while extremely cool, did not seem to expose signals such as link activated. But finally, the dealbreaker was not being able to get a browser with actual scrollbars. I think the conclusion here is that Qml is not ready for full desktop apps, so I think I'm punting on that.

    So, next best thing would be to implement this via a listview item delegate? Is that within the realm of possibility? Anyone have examples of expanding listview delegates available? Appreciate it.

  2. #2
    Join Date
    Aug 2011
    Posts
    7
    Thanked 1 Time in 1 Post

    Default Re: Possible to port QML Recipe ListView (expandingdelegates.qml) to QtGui?

    I am curious about your problems with the scrollbars. They should be usable with any content area. You can use the ScrollArea for that. The Browser example bundles with desktop components demonstrates this.

Similar Threads

  1. How can build my dll using something like QtGui/Qwidget
    By tonnot in forum General Programming
    Replies: 6
    Last Post: 12th February 2011, 00:26
  2. QtBrowserPlugin without QtGui.dll?
    By anupamgee in forum Qt Programming
    Replies: 1
    Last Post: 13th August 2010, 15:52
  3. [QtGui] Problem with a QTextBrowser
    By Auliyaa in forum Qt Programming
    Replies: 2
    Last Post: 19th February 2010, 08:51
  4. QXmlQuery problems - recipe example doesn't work
    By nhelseth in forum Qt Programming
    Replies: 0
    Last Post: 16th January 2009, 22:45
  5. using QtGui
    By nupul in forum Qt Programming
    Replies: 5
    Last Post: 7th April 2006, 13:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.