Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Solved]QML - Making menus
QtWS25 Last Chance

[Solved]QML - Making menus

Scheduled Pinned Locked Moved QML and Qt Quick
8 Posts 4 Posters 5.6k 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.
  • F Offline
    F Offline
    FlyingFish
    wrote on last edited by
    #1

    Hello! Is it possible to make an accordion-like menu using QML? Thanks! :D

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thisisbhaskar
      wrote on last edited by
      #2

      Certainly you can make one or see if "qt-quick-components":http://developer.qt.nokia.com/wiki/Qt_Quick_Components already has one.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        FlyingFish
        wrote on last edited by
        #3

        I'm quite new in Qt so I really can't make one by myself yet :(. I saw the accordion tutorial here but it uses WRT.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          shullw
          wrote on last edited by
          #4

          Just thinking off the top of my head using the MouseArea is where you would do this from. You could use OnEntered while hoverEnabled is on, or OnClicked to make different areas appear or disappear. That would be the way to go about this I believe. Check this link to see what I am talking about. http://doc.qt.nokia.com/4.7-snapshot/qml-mousearea.html

          Maybe I will make one for you real quick tonight. I need a post for blog in the QML area anyway and this seems like a great one. I will let you know if I get it done. http://blogofmu.com

          A QML Purest Point of View!

          1 Reply Last reply
          0
          • F Offline
            F Offline
            FlyingFish
            wrote on last edited by
            #5

            [quote author="shullw" date="1309522771"]Just thinking off the top of my head using the MouseArea is where you would do this from. You could use OnEntered while hoverEnabled is on, or OnClicked to make different areas appear or disappear. That would be the way to go about this I believe. Check this link to see what I am talking about. http://doc.qt.nokia.com/4.7-snapshot/qml-mousearea.html

            Maybe I will make one for you real quick tonight. I need a post for blog in the QML area anyway and this seems like a great one. I will let you know if I get it done. http://blogofmu.com [/quote]

            Thank you, thank you, thank you! I'll study this right now. :D.

            I hope you do! Goodluck, and great blog btw. Cheers!

            1 Reply Last reply
            0
            • P Offline
              P Offline
              parancibia
              wrote on last edited by
              #6

              Check QML Templates on "Forum Nokia":http://projects.developer.nokia.com/QMLTemplates/wiki/WikiStart#accordionlist

              !http://projects.developer.nokia.com/QMLTemplates/raw-attachment/wiki/WikiStart/accordionlist.png(Accordion)!

              1 Reply Last reply
              0
              • S Offline
                S Offline
                shullw
                wrote on last edited by
                #7

                Awesome link paulo!! I have never used Templates but there were some cool looking things on that page.

                A QML Purest Point of View!

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  FlyingFish
                  wrote on last edited by
                  #8

                  [quote author="paulo" date="1309529752"]Check QML Templates on "Forum Nokia":http://projects.developer.nokia.com/QMLTemplates/wiki/WikiStart#accordionlist

                  !http://projects.developer.nokia.com/QMLTemplates/raw-attachment/wiki/WikiStart/accordionlist.png(Accordion)![/quote]

                  Duuuuuuuuuude! Thanks! This is definitely what I've been looking for. :D.

                  Edit:

                  How do I make the listelements clickable?

                  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