Results 1 to 4 of 4

Thread: QStyleSheet vs QML

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Posts
    41
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default QStyleSheet vs QML

    Hi !

    I have downloaded the Nokia QT SDk and will develop a mobile application for s60 and maemo.

    I would like my application to look "iphone like", with large and styled buttons. I wondered what was the most appropriated for that : QStyle sheet or the new QML ? Are QStyleSheet supported on all mobile platforms ? What about QML ?

    Thanks

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QStyleSheet vs QML

    QStyleSheet or QML !!!

    Entirely 2 different things in my view.
    Have a look at documentation first.

    There can be many ways to achieve the "iphone like" buttons..
    Psst : Custom buttons is another way ..

  3. The following user says thank you to aamer4yu for this useful post:

    Guilo (10th June 2010)

  4. #3
    Join Date
    Dec 2009
    Posts
    41
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QStyleSheet vs QML

    Yes, I have read the documentation and I think I will give qml a try.

  5. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QStyleSheet vs QML

    Just for a hint -
    The iphone like fancy view can be achievable with QListWidget and custom delegate...

    With QML you will need to know Javascript also..to perform the actions etc. Am not sure, havent used it, just saw examples.

Similar Threads

  1. Force redraw of QSimpleRichText when QStyleSheet changes
    By SHesselbarth in forum Qt Programming
    Replies: 1
    Last Post: 12th April 2006, 16:10

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
  •  
Qt is a trademark of The Qt Company.