Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to pin Main-window and LED widget as one entity? (Solved)
Forum Updated to NodeBB v4.3 + New Features

How to pin Main-window and LED widget as one entity? (Solved)

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 819 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
    houmingc
    wrote on last edited by
    #1

    My background picture is not drawn using Qt instead by another software editor.
    The painter painted a strings of horizontal holes for my LED widget.
    I paste this picture into resource and use it as a backdrop.

    I have inserted string of LED on this backdrop. I like to ask about Qt ability.
    How to maximize Qt main-form onto the device window size? Is there any properties on the right, i can set?

    How to pinned LED onto the backdrop exact position(hole drawn by another software) so that LED will be in the exact position even when main window is stretched. The main window and LED is to be attached as one entity.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      houmingc
      wrote on last edited by
      #2

      http://codeprogress.com/cpp/libraries/qt/showQtExample.php?key=QMainWindowBackgroundImageStetch&index=546

      Answer is in the above link. Fixated the picture onto the mainwindow, the location on the LED can then be fixed

      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