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. Hide groupBox with effect
Qt 6.11 is out! See what's new in the release blog

Hide groupBox with effect

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.2k 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.
  • ivanicyI Offline
    ivanicyI Offline
    ivanicy
    wrote on last edited by
    #1

    Hello!!

    I have a button in my application which hides a groupbox. I want to do it with some effect to do this displacement softly.

    How can I do it?

    Thank you very much!!

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

      Hi
      But what kind of effect do u have it mind ?
      Widgets are not really effect friendly but some pling can
      be made/used.

      ivanicyI 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        But what kind of effect do u have it mind ?
        Widgets are not really effect friendly but some pling can
        be made/used.

        ivanicyI Offline
        ivanicyI Offline
        ivanicy
        wrote on last edited by
        #3

        @mrjj I want to do something like this:

        0_1520597787025_c1f9478a-26e9-407a-abdc-13203e4b0ed5-image.png

        The red arrow shows the movement that I want to do softly. Something like android menu effect or something like this.

        Thank you very much

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

          Hi
          Sort of slide in or out ?
          QPropertyAnimation could do that.

          Update:
          This might be inspiration
          https://github.com/chrisaverage/burger-menu

          ivanicyI 1 Reply Last reply
          2
          • mrjjM mrjj

            Hi
            Sort of slide in or out ?
            QPropertyAnimation could do that.

            Update:
            This might be inspiration
            https://github.com/chrisaverage/burger-menu

            ivanicyI Offline
            ivanicyI Offline
            ivanicy
            wrote on last edited by
            #5

            @mrjj Thank you, I will try to use it!

            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