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. How to create this particular interface with QWidget and Qt5?
Forum Updated to NodeBB v4.3 + New Features

How to create this particular interface with QWidget and Qt5?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.5k 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.
  • M Offline
    M Offline
    mikecurl91
    wrote on last edited by
    #1

    In my application I've to create an interface similar to "this":http://www.baronerosso.it/forum/attachments/cnc/79193d1223031343-nuovo-schermo-per-mach3-touch-screen-mach-3003.jpg
    Is it possible using Qt5 and QWidget?
    I'm asking for this because I've tried putting images to QPushButton as background, but for the main Window screen? how can i put a background there?
    Is there in QWidget a particular component ("a clicable area") where I can recognise the click and change opportunetly the background?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Santosh Reddy
      wrote on last edited by
      #2

      bq. Is it possible using Qt5 and QWidget?

      Yes it is possible in Qt5

      bq. I’m asking for this because I’ve tried putting images to QPushButton as background, but for the main Window screen? how can i put a background there?

      Set the background of QMainWindow the same way you set the background of QPushButton

      bq. Is there in QWidget a particular component (“a clicable area”) where I can recognise the click and change opportunetly the background?

      Entire QWidget is a clickable area

      SS

      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