Results 1 to 7 of 7

Thread: How to press a button and change the text of a label,button or tab?

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

    Talking How to press a button and change the text of a label,button or tab?

    How to press a button and change the text of a label,button or tab? Also the image of a label.. Something like a language selection...

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to press a button and change the text of a label,button or tab?

    search:
    this forum
    google
    doc.qt.nokia.com

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

    Default Re: How to press a button and change the text of a label,button or tab?

    I searched and i just didn't find anything... please answer to the question .

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to press a button and change the text of a label,button or tab?

    I give you a very big hint:
    - signals and slots
    - events
    - other techniques that google knows better than me.

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

    Default Re: How to press a button and change the text of a label,button or tab?

    ok i know that.. but google isn't perfect.. sometimes it cannot answer directly to your question... it is just a search engine

  6. #6
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to press a button and change the text of a label,button or tab?

    Check out doc.qt.nokia.com
    It contains a tutorial, tons of examples and a lot of documentation

  7. #7
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to press a button and change the text of a label,button or tab?

    Quote Originally Posted by Bong.Da.City View Post
    ok i know that.. but google isn't perfect.. sometimes it cannot answer directly to your question... it is just a search engine
    and if you enter a meanful search term, it can give you meaningful results

    Really, if you can't figure out how to use a search engine efficiently, give up now.

    There are examples a'plenty for what you wish to do and I hardly think your question is "General more advanced Qt programming issues" so it's also posted in completely the wrong forum.

Similar Threads

  1. Replies: 1
    Last Post: 2nd August 2010, 06:40
  2. Replies: 1
    Last Post: 17th May 2010, 17:15
  3. Replies: 4
    Last Post: 6th April 2010, 01:46
  4. How to change text color of push button?
    By augusbas in forum Qt Programming
    Replies: 2
    Last Post: 3rd July 2009, 11:32
  5. Custom QStyle: change only tool button text color
    By Lykurg in forum Qt Programming
    Replies: 0
    Last Post: 27th February 2009, 20:55

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.