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. Recommended PNG display method
Qt 6.11 is out! See what's new in the release blog

Recommended PNG display method

Scheduled Pinned Locked Moved General and Desktop
5 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.
  • W Offline
    W Offline
    weblife
    wrote on last edited by
    #1

    There are a few different ways I could do this. It is fairly easy to use pixmap widget and push to a label field.

    What might others suggest?

    Brandon Clark
    www.themindspot.com

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DerManu
      wrote on last edited by
      #2

      Totally depends on what your application is. Is it a graphics editor? Is the PNG just some static company logo on the info screen? ...

      1 Reply Last reply
      0
      • W Offline
        W Offline
        weblife
        wrote on last edited by
        #3

        Good question. I know there are some pretty advanced class types like animation but I want to know what the best practice would be for something like a company logo. It seems like using the QPixmap and bliting it to the screen in a label field is easiest but is it the most efficient.

        Brandon Clark
        www.themindspot.com

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DerManu
          wrote on last edited by
          #4

          Displaying a company logo statically somewhere on your form is irrelevant regarding performance. Any method is fine, so chose the easiest one. QLabel with a pixmap.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            weblife
            wrote on last edited by
            #5

            Thank you for the advice.

            Brandon Clark
            www.themindspot.com

            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