Warning, /plasma/libplasma/examples/applets/widgetgallery/contents/ui/Typography.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2012 Sebastian Kügler <sebas@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 0008 import org.kde.plasma.components as PlasmaComponents 0009 import org.kde.plasma.extras as PlasmaExtras 0010 import org.kde.kirigami as Kirigami 0011 0012 0013 PlasmaComponents.Page { 0014 implicitWidth: childrenRect.width 0015 implicitHeight: childrenRect.height 0016 tools: Row { 0017 spacing: 5 0018 PlasmaComponents.ToolButton { 0019 visible: pageStack.depth > 1 0020 iconSource: "go-previous" 0021 onClicked: pageStack.pop() 0022 } 0023 Kirigami.Heading { 0024 level: 1 0025 text: "Typography" 0026 } 0027 } 0028 0029 PlasmaExtras.ScrollArea { 0030 anchors.fill: parent 0031 Flickable { 0032 id: flickable 0033 //contentWidth: column.width 0034 contentHeight: column.height 0035 clip: true 0036 anchors.fill: parent 0037 0038 Column { 0039 id: column 0040 width: parent.width 0041 anchors { 0042 //fill: parent 0043 margins: 12 0044 } 0045 spacing: 12 0046 0047 Kirigami.Heading { 0048 level: 1 0049 text: "A Title" 0050 } 0051 0052 Repeater { 0053 model: 5 0054 Kirigami.Heading { 0055 level: index + 1 0056 text: "Header level " + (index + 1) 0057 } 0058 } 0059 0060 Kirigami.Heading { 0061 level: 1 0062 text: "Paragraphs" 0063 } 0064 0065 PlasmaComponents.Label { 0066 text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sit amet turpis eros, in luctus lectus. Curabitur pulvinar ligula at leo pellentesque non faucibus mauris elementum. Pellentesque convallis porttitor sodales. Maecenas risus erat, viverra blandit vestibulum eu, suscipit in est. Praesent quis mattis eros. Sed ante ante, adipiscing non gravida sed, ultrices ultrices urna. Etiam congue mattis convallis. Maecenas sollicitudin mauris at lorem aliquam in venenatis erat convallis. Fusce eleifend scelerisque porttitor. Praesent metus sapien, hendrerit ac congue eget, feugiat id enim. Morbi venenatis gravida felis, vitae varius nunc dictum a. Etiam accumsan, velit ac tempor convallis, leo nibh consequat purus, sit amet fringilla nisi mi et libero." 0067 } 0068 0069 PlasmaComponents.Label { 0070 text: "Donec tincidunt justo eget nulla eleifend hendrerit. Ut eleifend erat nibh. Nunc sagittis tincidunt quam quis lobortis. Nam suscipit ultrices nulla. Suspendisse ullamcorper eleifend massa eu pharetra. Donec tempor iaculis elit, in suscipit velit tristique eu. Curabitur suscipit, lacus id pharetra dapibus, velit ante consectetur erat, ac dignissim quam arcu vitae diam. Suspendisse laoreet tortor nec dolor venenatis ultricies. Sed nunc erat, placerat non gravida sit amet, ullamcorper eu turpis. Nullam vestibulum lacus sed tellus fermentum mollis id at urna. Sed eleifend lobortis mollis. Donec lacus dolor, varius commodo gravida et, fringilla in justo. Nam gravida lorem in odio viverra elementum. Suspendisse non tellus at justo convallis placerat vel ac tellus. Nulla tristique tristique dui ut vestibulum." 0071 } 0072 0073 0074 Kirigami.Heading { 0075 level: 1 0076 text: "TBD Components" 0077 } 0078 0079 PlasmaComponents.Label { 0080 id: menuEntry 0081 text: "Menu entry" 0082 } 0083 0084 PlasmaComponents.Label { 0085 id: notificationHeader 0086 text: "Notification header" 0087 } 0088 0089 PlasmaComponents.Label { 0090 id: notificationContent 0091 text: "Menu entry" 0092 } 0093 0094 PlasmaComponents.Label { 0095 id: activeTab 0096 text: "Active tab" 0097 } 0098 0099 PlasmaComponents.Label { 0100 id: inactiveTab 0101 text: "Intactive tab" 0102 } 0103 0104 PlasmaComponents.Label { 0105 id: activeSelection 0106 text: "Active selection" 0107 } 0108 0109 PlasmaComponents.Label { 0110 id: inactiveSelection 0111 text: "Inactive selection" 0112 } 0113 0114 PlasmaComponents.Label { 0115 id: listItemPrimary 0116 text: "List item: primary text" 0117 } 0118 0119 PlasmaComponents.Label { 0120 id: listItemSub 0121 text: "List item: secondary text" 0122 } 0123 0124 PlasmaComponents.Label { 0125 id: listItemPrimarySelected 0126 text: "List item: selected, primary text" 0127 } 0128 0129 PlasmaComponents.Label { 0130 id: listItemPrimarySub 0131 text: "List item: selected, secondary text" 0132 } 0133 0134 PlasmaComponents.Label { 0135 id: widgetHeader 0136 text: "Widget headers" 0137 } 0138 0139 PlasmaComponents.Label { 0140 id: widgetContent 0141 text: "Widget Content" 0142 } 0143 0144 PlasmaComponents.Label { 0145 id: iconTextSelected 0146 text: "Icon text, selected" 0147 } 0148 0149 PlasmaComponents.Label { 0150 id: iconTextUnselected 0151 text: "Icon text, unselected" 0152 } 0153 0154 PlasmaComponents.Label { 0155 id: groupHeader 0156 text: "Group Header" 0157 } 0158 0159 PlasmaComponents.Label { 0160 id: groupContent 0161 text: "Group Content" 0162 } 0163 } 0164 } 0165 } 0166 } 0167