Improve The Look Of QT Screen
-
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.
-
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.
-
Can you show an example of what number 2 looks like ?
-
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.
-
You have to have it somewhere online
-
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.
-
You can e.g. reimplement the paintEvent to draw your logo
-
Where and how would this be accomplished? Would this be done within QT, or in CPP? Do you have an example?
-
Have a look "here":http://qt-project.org/doc/qt-5/qwidget.html#custom-widgets-and-painting