Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Solved]QML - Making menus

    QML and Qt Quick
    4
    8
    4984
    Loading More Posts
    • 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
      FlyingFish last edited by

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

      1 Reply Last reply Reply Quote 0
      • T
        thisisbhaskar last edited by

        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 Reply Quote 0
        • F
          FlyingFish last edited by

          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 Reply Quote 0
          • S
            shullw last edited by

            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 Reply Quote 0
            • F
              FlyingFish last edited by

              [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 Reply Quote 0
              • P
                parancibia last edited by

                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 Reply Quote 0
                • S
                  shullw last edited by

                  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 Reply Quote 0
                  • F
                    FlyingFish last edited by

                    [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 Reply Quote 0
                    • First post
                      Last post