Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt: “ResizeEvent” to receive the size of the window and set it to the size of a QLabel
Forum Updated to NodeBB v4.3 + New Features

Qt: “ResizeEvent” to receive the size of the window and set it to the size of a QLabel

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 408 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hassene
    wrote on last edited by
    #1

    Qt/c++: I want to use ResizeEvent to receive the size of the window and set it to the size of a QLabel, in order to make the image stretched and adapted to the window's dimensions. by a left click of the mouse I can resize my window and the image takes a new size. the problem is that I'm new with Qt and I did not found examples of resizeEvent in the net.

    K 1 Reply Last reply
    0
    • H hassene

      Qt/c++: I want to use ResizeEvent to receive the size of the window and set it to the size of a QLabel, in order to make the image stretched and adapted to the window's dimensions. by a left click of the mouse I can resize my window and the image takes a new size. the problem is that I'm new with Qt and I did not found examples of resizeEvent in the net.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @hassene

      closing this posting because of duplication to this post

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved