Results 1 to 2 of 2

Thread: Desktop vs Mobile

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Posts
    29
    Thanked 3 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Desktop vs Mobile

    I have a problem with QML. I've created a button (just two circles with gradients) and I've put text inside them. When compiled to a desktop application everything is fine but on the simulator the text does not scale with the circles and get's out of their boundaries.

    Could you please hint me what I'm doing wrong?


    Also is it possible to have "mouse hover" behavior in QML?

  2. #2
    Join Date
    Jan 2011
    Location
    Pearl of the Orient Seas
    Posts
    40
    Thanks
    12
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: Desktop vs Mobile

    for the mouse hover, i think you can use containsMouse(), it returns true if the mouse is currently inside the mouse area.

    I'm not so sure about your first problem though..

Similar Threads

  1. mobile extensions problems in Qt mobile app
    By hasnain in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 31st December 2010, 11:29
  2. Desktop using QT
    By QT-embedded in forum Newbie
    Replies: 9
    Last Post: 26th April 2010, 13:47
  3. Desktop environment for mobile devices
    By zuck in forum Qt Programming
    Replies: 4
    Last Post: 17th December 2009, 17:47
  4. Desktop dir
    By TomASS in forum Newbie
    Replies: 1
    Last Post: 8th November 2009, 13:22
  5. Replies: 5
    Last Post: 31st January 2009, 07: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.