July 1, 2011

FlyingFish FlyingFish
Lab Rat
37 posts

[Solved]QML - Making menus

 

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

7 replies

July 1, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

Certainly you can make one or see if qt-quick-components [developer.qt.nokia.com] already has one.

July 1, 2011

FlyingFish FlyingFish
Lab Rat
37 posts

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.

July 1, 2011

shullw shullw
Lab Rat
45 posts

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

 Signature 

A QML Purest Point of View!

July 1, 2011

FlyingFish FlyingFish
Lab Rat
37 posts

shullw wrote:
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

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

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

July 1, 2011

paulo paulo
Hobby Entomologist
174 posts

Check QML Templates on Forum Nokia [projects.developer.nokia.com]

Accordion

July 1, 2011

shullw shullw
Lab Rat
45 posts

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

 Signature 

A QML Purest Point of View!

July 1, 2011

FlyingFish FlyingFish
Lab Rat
37 posts

paulo wrote:
Check QML Templates on Forum Nokia [projects.developer.nokia.com]

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

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

Edit:

How do I make the listelements clickable?

 
  ‹‹ Memory cleanup      QML + webcam (frame grabber)? ››

You must log in to post a reply. Not a member yet? Register here!