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. Zooming content of a Qt application
Forum Updated to NodeBB v4.3 + New Features

Zooming content of a Qt application

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 5.6k 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.
  • S Offline
    S Offline
    scottb08
    wrote on last edited by
    #1

    In Qt Designer there is an option in the preferences to set a preview zoom scale (also available from a right-click context menu when you preview). This will scale (in/out) the entire Qt Application window along with all of the widgets contained in it.

    Does anyone know if this is using some scaling mechanism in Qt or is it just a display trick of Qt Designer?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      ludde
      wrote on last edited by
      #2

      I would assume that they use the ability to have QWidgets in a QGraphicsScene, shown in a QGraphicsView, which can be transformed pretty much any way you want to.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        scottb08
        wrote on last edited by
        #3

        Any other clever ways of scaling all of the widgets in an Application. We've gotten comments from our users that some of the widgets are hard to read on their monitors and they'd like a zoom feature.

        I don't think converting our entire application to use QGraphicsScene is viable at this point.

        I could override the font size in the stylesheet but that only scales the font and only the widgets that have text will increase in size.

        Thanks for the feedback!

        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