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 call this kind of UI?
Forum Updated to NodeBB v4.3 + New Features

How to call this kind of UI?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 183 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.
  • I Offline
    I Offline
    IknowQT
    wrote on last edited by
    #1

    c2e16f03-2c52-4f4c-a9cf-77627b9d215d-image.png

    ed83882e-50b1-42c2-ba4b-7c1e18a1df3c-image.png

    I am trying to implement a UI that expands or contracts variably when the screen is clicked.
    I am using QWidget and trying to implement it.
    What is the name of this UI and how can it be implemented?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Well, it's basically just an expandable widget.
      Sometimes they are called collapsable widgets/controls.

      You could be inspired by this
      https://github.com/chrisaverage/burger-menu
      Its will expand/collapse.

      1 Reply Last reply
      2
      • J.HilkJ Online
        J.HilkJ Online
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        the repo linked by @mrjj is probably well suited for your case

        but for your information:
        the actual name is "drawer menu".
        In QWidgets there is no default widget with that behaviour, but QML does have that component ready to use.


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        2

        • Login

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