Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Widget geometry problem
Forum Update on Monday, May 27th 2025

Widget geometry problem

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mindomobile
    wrote on 26 Sept 2011, 13:25 last edited by
    #1

    Hey guys

    OK. So the problem I'm facing with latest QT SDK (qt 4.7.4) is that when I arrange my GUI elements with QT designer as I used to do before (using vertical and horizontal layouts) I can no longer get the width and height properties of those GUI elements for mobile simulator and desktop builds. What is more geometry() method does not seem to work ether. All I get is QRect(0,0 100x30) for every GUI component - buttons, inputs or QGraphicsView, I even took a pain to measure the size of these components using screenshot & photoshop its obvious something is not right.

    Any ideas?

    Thanks

    Mobile application development | <a href="http://mindomobile.com">mindomobile.com</a>

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Alicemirror
      wrote on 2 Oct 2011, 09:18 last edited by
      #2

      Hi,

      please take a look to the references to the Qt-Complex framework that is a QML based auto-adapting system that used geometry and other methods to solve this problem. The actual version of the project is outdated but also working. You can find all the references here:

      For the project in http://projects.developer.nokia.com/Qt_Complex while "here":http://developer.qt.nokia.com/wiki/category:Tools::QtComplex you can find some wiki pages with a first documentation on how it works.

      Enrico Miglino (aka Alicemirror)
      Balearic Dynamics
      Islas Baleares, Ibiza (Spain)
      www.balearicdynamics.com

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alicemirror
        wrote on 2 Oct 2011, 09:19 last edited by
        #3

        If it is not sufficient, please write me directly or post a note on the Mobile and Embedded group, I'll send you a preview of the Qt Complex 2.0 near to be released.

        Enrico Miglino (aka Alicemirror)
        Balearic Dynamics
        Islas Baleares, Ibiza (Spain)
        www.balearicdynamics.com

        1 Reply Last reply
        0

        1/3

        26 Sept 2011, 13:25

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved