Results 1 to 2 of 2

Thread: Getting new label coordinates

  1. #1
    Join Date
    Jun 2013
    Posts
    58
    Thanks
    26
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Windows

    Default Getting new label coordinates

    Not familiar with the resizeEvent

    1)How do I get window size or label size after ResizeEvent?
    2)Is resizeEvent called on its own?
    3)What are the resizeEvent functions (.width() ?, .length() ?, ...)
    4)How do I compare the original size of label to the new size and adjust painter accordingly
    Once Ifigure that out
    5)How do I call a paintEvent from inside Resize event
    to repaint accordingly

    Please assist
    Ideas Welcome
    & example code most Welcome

    Kind Regards

  2. #2
    Join Date
    Mar 2010
    Location
    Brazil
    Posts
    39
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Getting new label coordinates


Similar Threads

  1. Replies: 1
    Last Post: 10th April 2013, 10:08
  2. Qwt display coordinates label
    By Jean-Luc in forum Qwt
    Replies: 2
    Last Post: 13th February 2012, 11:08
  3. rubberbanding with coordinates
    By shoyeb in forum Newbie
    Replies: 0
    Last Post: 8th December 2011, 06:59
  4. GPS coordinates via SMS
    By radeknati in forum Qt Programming
    Replies: 0
    Last Post: 20th April 2010, 13:56
  5. Replies: 4
    Last Post: 18th March 2010, 11:11

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.