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. QSpalshScreen Scale Properties ?
Forum Updated to NodeBB v4.3 + New Features

QSpalshScreen Scale Properties ?

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 2.3k 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
    syedasadalibs03
    wrote on last edited by
    #1

    I have to Scale the Splash Screen for different Resolution can any one help me

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

      The QSplashScreen takes in a QPixmap. You can scale the pixmap to whatever resolution you want first and then assign to splash screen. Just tried and works fine ...

      @
      QPixmap pixmap("c:/design.jpg");
      QSplashScreen splash(pixmap.scaled(1000,1000));
      // the orig pixmap was 640x360 and shows up in that size if I don't scale
      splash.show();
      @

      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