Discussion Board

Results 1 to 2 of 2

Thread: Qt for Symbian

  1. #1
    Registered User imran7313's Avatar
    Join Date
    Dec 2009
    Posts
    41
    Hi,

    Can any body tell me how to get the information of the device(or Simulator). For example: device screen width, heght etc..
    So that I can write my application window that fits to the device screen.

    Or is there any other way that my application window gets fit exactly to the device(or Simulator) screen.

    Thank you so much.

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Code:
    QDesktopWidget *desktop = QApplication::desktop();
    QRect applicationArea = desktop->availableGeometry(QCursor::pos());
    qDebug() << applicationArea;

Similar Threads

  1. Qt for Symbian development resources
    By liuxg in forum [Archived] Qt General ( Qt技术)
    Replies: 55
    Last Post: 2011-01-26, 04:06
  2. kinetic scrolling
    By stalep in forum Nokia N9
    Replies: 10
    Last Post: 2009-12-08, 12:41
  3. Senior QT Client Developer (Dublin, Ireland)
    By marynyc in forum News, Announcements and Job Listings
    Replies: 0
    Last Post: 2009-06-02, 18:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved