Results 1 to 4 of 4

Thread: How to make a label be on the background?

  1. #1
    Join Date
    Aug 2010
    Posts
    107
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Cool How to make a label be on the background?

    I created a label on my mainwindow of my app.. and i had add to it a pixmap... but if i enlarge it it covers everything on the window... how to make it be on the background?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,013 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to make a label be on the background?

    Discard the label, set the pixmap as the background brush for the palette of your window (as I understand that is what you want - your English is not easy to understand).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2010
    Posts
    107
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to make a label be on the background?

    Come on... The reason why i am asking on the Newbie section is to have a detailed answer.. you said discard label .. how? set the pixmap as the background brush for the palette of your window.. how? ( What i want to is the label that i created to be on the backround and do not cover all the button and all that... )

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,013 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to make a label be on the background?

    Quote Originally Posted by Bong.Da.City View Post
    you said discard label .. how?
    Don't use it at all.
    set the pixmap as the background brush for the palette of your window.. how?
    Open up Qt Assistant, type in "palette" into the index tab and when results pop up (choose QWidget), find something related to "background".

    Being a newbie doesn't allow you to not do research by yourself and expect others to give you complete solutions.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to make text in label or TextEDit to flash?
    By qtlinuxnewbie in forum Newbie
    Replies: 2
    Last Post: 6th April 2010, 08:53
  2. Replies: 5
    Last Post: 16th December 2009, 12:33
  3. make label of QwtPlotMarker invisible
    By rambo83 in forum Qwt
    Replies: 1
    Last Post: 26th November 2009, 13:39
  4. How to make my app to play background music
    By HelloDan in forum Qt Programming
    Replies: 3
    Last Post: 8th April 2009, 10:17
  5. make background invisible
    By punit.doshi.85 in forum Qt Programming
    Replies: 1
    Last Post: 1st October 2008, 11:48

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.