ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

сообщение · 2022-06-15 19:06 UTC
J
Item { width: 360 height: 600 Rectangle { width: 360 height: 600 ListView { width: 350 height: 200 anchors.centerIn: parent id: myList model: myModel highlight: highlightBar clip: true snapMode: ListView.SnapToItem headerPositioning: ListView.OverlayHeader OpacityMask { source: mask maskSource: myList } LinearGradient { id: mask anchors.fill: parent start: Qt.point(0, 0) end: Qt.point(0, 300) gradient: Gradient { GradientStop { position: 0.2; color: "transparent"} GradientStop { position: 0.7; color: "white" } } } delegate: Item { id: delegateItem width: 400 height: 20 Text { text: name } MouseArea { id: mArea anchors.fill: parent onClicked: { myList.currentIndex = index } } } } Component { id: highlightBar Rectangle { width: parent.width height: 20 color: "#FFFF88" } } ListModel { id: myModel } Component.onCompleted: { for (var i = 0; i < 100; i++) { myModel.append({ name: " Item : " + i }) } } } }

All messages on 15 June 2022 · Whole feed · оригинал в Telegram

Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog