Results 1 to 6 of 6

Thread: setwindowtitle.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    47
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Post setwindowtitle.

    hi,
    I have a qtoolbutton's object which i have typecasted to QWidget.so that i can use it.
    I want the text in qtoolbutton to change when a particular condition becomes true.
    I tried doing this using Setwindowtext.Its not working.What is the problem in my code.

    Qt Code:
    1. QToolButton* toolbuttonmsg;
    2. QWidget* msg = toolbuttonmsg;
    3. msg->setWindowTitle("Hi");
    To copy to clipboard, switch view to plain text mode 
    Last edited by jpn; 7th March 2008 at 11:41. Reason: missing [code] tags

Similar Threads

  1. setWindowTitle
    By JeanC in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2008, 10:01
  2. setWindowTitle and last compile date/time
    By jcr in forum Qt Programming
    Replies: 1
    Last Post: 8th April 2006, 23:59
  3. setWindowTitle() with nice font
    By Dwarf007 in forum Qt Programming
    Replies: 15
    Last Post: 19th March 2006, 15:31
  4. QtSingleApplication
    By mule in forum Qt Programming
    Replies: 8
    Last Post: 28th February 2006, 19:21

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.