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. Improve The Look Of QT Screen
Qt 6.11 is out! See what's new in the release blog

Improve The Look Of QT Screen

Scheduled Pinned Locked Moved General and Desktop
12 Posts 3 Posters 3.4k 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
    ScottKrise
    wrote on last edited by
    #3

    I was able to find documentation on the getting a custom Icon to appear. It was accomplished by creating a resource file and referencing in within my project using RC_FILE = myapp.rc. My myapp.rc contains a line like (IDI_ICON1 ICON DISCARDABLE "myappico.ico") which points to the icon I want to use. This is working, however...I am running into problems when I try to change the myappico.ico from one icon to another. Even after rebuilding my app and recreating the executable, the new icon does not appear. Any thoughts on what I might be doing wrong?

    Number 2 on my list above is still unresolved. I basically want to place a bitmap of a company logo it in the middle of the screen under my pull down menu to give it a more professional look. Im using windows 7 as my os and QT creator version 2.0.0.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      ScottKrise
      wrote on last edited by
      #4

      Ok...I think I figured out the icon not updating when its changed. I've found that I must change the Rc file that points to the icon, then it seems to include it when I run qmake, and recompile.

      So number 2 is still my problem child.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #5

        Can you show an example of what number 2 looks like ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • S Offline
          S Offline
          ScottKrise
          wrote on last edited by
          #6

          Not familar with this posting screen. How do I attach a bmp or jpg? I tried the picture button, but cant seem to see how to get to my file.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #7

            You have to have it somewhere online

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • _ Offline
              _ Offline
              _Kunda_
              wrote on last edited by
              #8

              use imgur

              1 Reply Last reply
              0
              • S Offline
                S Offline
                ScottKrise
                wrote on last edited by
                #9

                Ok. Try looking at http://scottkrise.imgur.com. This is my first time using imgur...so let me know if you need anything else. I could email it to you if this doesnt work.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  You can e.g. reimplement the paintEvent to draw your logo

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    ScottKrise
                    wrote on last edited by
                    #11

                    Where and how would this be accomplished? Would this be done within QT, or in CPP? Do you have an example?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      Have a look "here":http://qt-project.org/doc/qt-5/qwidget.html#custom-widgets-and-painting

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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