Skip to content

Instantly share code, notes, and snippets.

View khmaksim's full-sized avatar
🏠
Working from home

kolobok khmaksim

🏠
Working from home
View GitHub Profile
@khmaksim
khmaksim / gist:c4a501515d9dd69d07f9c02f09036211
Created March 25, 2019 23:47 — forked from elpuri/gist:3753756
A collapsible nested list example in QML
import QtQuick 1.1
Item {
width: 200
height: 300
ListView {
anchors.fill: parent
model: nestedModel
delegate: categoryDelegate
import QtQuick 2.0
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.Controls.Private 1.0
ComboBox
{
id: box
currentIndex: 2
activeFocusOnPress: true