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. set widget in layout fullscreen
Forum Updated to NodeBB v4.3 + New Features

set widget in layout fullscreen

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.3k Views 2 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.
  • Y Offline
    Y Offline
    yugosonegi
    wrote on last edited by
    #1

    I have a class that is a subclass of QWidget inside a QVBoxLayout and I implemented the double click method and I wanted to toggle that widget fullscreen, how can I do that?

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

      Hi,

      You can check this post, it has the same implementation as per your requirement.

      Regards,
      Sam

      1 Reply Last reply
      2
      • Y Offline
        Y Offline
        yugosonegi
        wrote on last edited by yugosonegi
        #3

        The post you mentioned didn't help much as the guy wanted to put the parent class in fullscreen when the black widget is double clicked, in my case I want to put the black window in fullscreen, not the parent.

        Using his image as example:

        Double click: full screen, double click again: put it back where it was.

        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