I'm trying to create accordion qml control like this. First I thought that I can use combobox and customize it but now I think it is impossible. Is there any standerd control that I can use? If not can you help me with controls structure?
相关问题
- QML: Cannot read property 'xxx' of undefin
- QML: Cannot read property 'xxx' of undefin
- QTextEdit.find() doesn't work in Python
- QT Layouts, how to make widgets in horizontal layo
- QT GUI freezes even though Im running in separate
相关文章
- ubuntu20.4中c#通过c++库调用python脚本
- Qt槽函数自动执行多遍
- Is there a non-java, cross platform way to launch
- How to get a settings storage path in a cross-plat
- Why doesn't valgrind detect a memory leak in m
- QTreeView remove decoration/expand button for all
- qt界面拥挤
- how do I correctly return values from pyqt to Java
Just playing with QML
PanelItem.qml
usage:
Updating the MouseArea click part as below with some added condition. Thanks to folibis for this qml accordian menu.
What about using this open source component which I did here Accordion component and used here Accordion component example.
You only need to initialize:
And create the data dynamically like this: