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. Can you create a widget on the desktop with QDesktopWidget?
Forum Update on Monday, May 27th 2025

Can you create a widget on the desktop with QDesktopWidget?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 457 Views
  • 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.
  • N Offline
    N Offline
    Nite Coder
    wrote on last edited by
    #1

    I wanted to create a window without the top part with the 'x', full size and minimize. I thought the QDesktopWidget would do it. Though as I looked through the Qt Assistant, I found nothing regarding the matter

    • I use Ubuntu Mate
    • I am running Qt Creator 4.6.2
    • I am running Qt 5.10.1
    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      You can disable the decorations with
      setWindowFlags(Qt::FramelessWindowHint);

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        In addition to what @mrjj wrote, what will your widget do ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • N Offline
          N Offline
          Nite Coder
          wrote on last edited by
          #4

          It will be like a desktop, but fake. It will be like a vm for qt in a way

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Isn't that a bit the same question as this thread ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1

            • Login

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