• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kalgebra

  • sources
  • kde-4.14
  • kdeedu
  • kalgebra
  • mobile
  • plugins
  • widgets
  • neutral
neutral/SimpleListView.qml
Go to the documentation of this file.
1 import QtQuick 1.1
2 
3 ListView
4 {
5  id: viewItem
6  property string role: ""
7  property string title
8 
9  SystemPalette { id: palette }
10  clip: true
11  header: Label {
12  height: ListView.view.title=="" ? 0 : 1.5*implicitHeight
13  text: ListView.view.title
14  font.weight: Font.Bold
15  verticalAlignment: Text.AlignVCenter
16  }
17  delegate: Label { text: model[role] }
18  highlight: Rectangle { color: palette.midlight }
19 
20  ScrollDecorator {
21  flickableItem: viewItem
22  }
23 }
ScrollDecorator
Definition: ScrollDecorator.qml:2
Rectangle
Label
Definition: desktop/Label.qml:3
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalgebra

Skip menu "kalgebra"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal