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. What do you call this kind of button?

What do you call this kind of button?

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

    0dad8a8c-0893-442f-99d2-fa0677c26a10-image.png

    I am trying to implement this kind of button.
    What are these buttons called in qt?
    How can I implement this UI?

    mrjjM J.HilkJ 2 Replies Last reply
    1
    • I IknowQT

      0dad8a8c-0893-442f-99d2-fa0677c26a10-image.png

      I am trying to implement this kind of button.
      What are these buttons called in qt?
      How can I implement this UI?

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @IknowQT

      What kind of button ?

      You mean the burger menu ?

      The one that has a menu open upwards ?

      I 1 Reply Last reply
      1
      • I IknowQT

        0dad8a8c-0893-442f-99d2-fa0677c26a10-image.png

        I am trying to implement this kind of button.
        What are these buttons called in qt?
        How can I implement this UI?

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @IknowQT
        I think it's commonly associated with a "Drawer", Button + slide in menu.

        but what you show could also easily be made via a styled QComboBox


        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
        1
        • C Offline
          C Offline
          ChrisW67
          wrote on last edited by
          #4

          Or a QToolButton with a QMenu. This will pop a menu down by default but I have a vague memory that the menu will pop up if placed at the bottom of a window.

          1 Reply Last reply
          0
          • mrjjM mrjj

            @IknowQT

            What kind of button ?

            You mean the burger menu ?

            The one that has a menu open upwards ?

            I Offline
            I Offline
            IknowQT
            wrote on last edited by
            #5

            @mrjj

            Yes. It's called the burger menu, but how do you usually implement it?

            I was thinking of implementing it as a way to create a class that inherits dialog and move the dialog position after popping up.
            If there is another way, I would appreciate it if you could suggest it.

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

              Hi,

              Check @Chris-Kawa's burger-menu.

              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
              2

              • Login

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