Results 1 to 2 of 2

Thread: QML page - Lock orientation of the phone

  1. #1
    Join Date
    Aug 2010
    Posts
    5
    Thanked 3 Times in 1 Post
    Platforms
    Symbian S60 Maemo/MeeGo

    Default QML page - Lock orientation of the phone

    Hi - I'm developing a QML app for Symbian (Qt4.7.1). I'm loading my QML pages dynamically, as follows:

    function loadPage(qmlFileString) {
    //console.log("Load Page:"+ qmlFileString)
    var loadedComponent = Qt.createComponent(qmlFileString);
    if (loadedComponent.status == Component.Ready) {
    var loadedPage = loadedComponent.createObject(mainRectangle);
    }
    }

    I was wondering if there's a possibility to lock the orientation of the phone screen for specific QML pages?

    Thanks!

  2. #2
    Join Date
    Feb 2011
    Posts
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: QML page - Lock orientation of the phone

    Hi,I've got the same problem. no one has ideas?

Similar Threads

  1. QLabel orientation
    By smacchia in forum Qt Programming
    Replies: 1
    Last Post: 18th November 2010, 15:56
  2. Screen orientation
    By Tomasz in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 31st August 2010, 09:47
  3. QWidget orientation
    By Valheru in forum Qt Programming
    Replies: 8
    Last Post: 19th August 2008, 17:20
  4. Vertical Orientation of Text.
    By ashukla in forum Qt Programming
    Replies: 9
    Last Post: 28th January 2008, 12:40
  5. QTabWidget remove a page at the page's request
    By thomaspu in forum Qt Programming
    Replies: 2
    Last Post: 29th December 2007, 20:45

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.