Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMessageBox: setGeometry does not apply
Forum Updated to NodeBB v4.3 + New Features

QMessageBox: setGeometry does not apply

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.7k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    blackbelt
    wrote on last edited by
    #1

    I tried to change the posiotion and the size of a QMessageBox through setGeomtry but I was able to change only its position.

    @msgBox->setGeometry((scene->get_width()- scene->get_width()*0.5)/2,(scene->get_height()-scene->get_height()*0.5)/2,scene->get_width()*0.5,scene->get_height()*0.5);@

    is that some kind of bug?

    I am using qt 4.8.2 embedded Windows CE

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Could please inform us on which platform are you testing your application and which version of Qt are you using?

      http://anavi.org/

      1 Reply Last reply
      0

      • Login

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