Results 1 to 4 of 4

Thread: Loading 2 images in Same label ->

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jun 2013
    Posts
    46
    Thanks
    24
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Windows

    Exclamation Re: Loading 2 images in Same label ->

    Created the form in Qt Creator (Drag & Drop)
    2 labels besides each other & 1 new label (the size of the other 2)in front of them.
    Each Label is promoted to its own class(other calculations...)

    Works if I dont change the window size.
    But since I am changing window size! I have to set a layout on the form (so labels expands as window does)
    But then the overlapping label moves beside the other labels.

    How do I keep it above the other labels
    or rather how do i set it to resize accordingly without affecting the layout

    Or another way may
    How would I call a Paint function within 1 label to drawImage on leftside of label
    & draw the 2nd image on rightside

    Thanks
    Last edited by 2lights; 18th July 2013 at 08:34.

Similar Threads

  1. Loading images from url in qt 4
    By shalini in forum Newbie
    Replies: 4
    Last Post: 15th September 2011, 16:21
  2. Replies: 0
    Last Post: 2nd August 2010, 11:17
  3. Replies: 6
    Last Post: 30th July 2010, 07:23
  4. How do i change images? Qt creator label>pixmap
    By QueenZ in forum Qt Programming
    Replies: 4
    Last Post: 8th February 2010, 04:44
  5. Slow loading images
    By abbapatris in forum Qt Programming
    Replies: 10
    Last Post: 5th March 2008, 15:52

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