Results 1 to 6 of 6

Thread: Qlabel position update

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Apr 2011
    Posts
    124
    Thanks
    1
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default Re: Qlabel position update

    If you want to change the position of the label you use move() or setGeometry(). But understand that if the label is inside a layout the layout manager is going to more or less immediately "readjust" the size/position of the label back to where it was.

    And remember that you may need to update() the label after changing its position, for the change to be made visible.

  2. The following user says thank you to DanH for this useful post:

    robotics (30th May 2011)

Similar Threads

  1. show the position in qlabel
    By ready in forum Qt Programming
    Replies: 8
    Last Post: 28th March 2011, 07:58
  2. Cannot update mouse Pointer position
    By srinirao in forum Newbie
    Replies: 3
    Last Post: 12th November 2009, 09:09
  3. Set Position of QLabel
    By Qt Coder in forum Newbie
    Replies: 1
    Last Post: 19th March 2009, 06:51
  4. Position of text in a qlabel
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2008, 13:26
  5. Clearing a QLabel since the mouse position
    By SkripT in forum Qt Programming
    Replies: 10
    Last Post: 18th January 2006, 18:23

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
  •  
Qt is a trademark of The Qt Company.