Warning, /frameworks/kirigami/examples/staticcmake/src/Page1Form.ui.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2017 Marco Martin <mart@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 0008 import QtQuick.Controls 0009 import QtQuick.Layouts 0010 import org.kde.kirigami as Kirigami 0011 0012 Kirigami.Page { 0013 title: qsTr("Page 1") 0014 0015 property alias textField1: textField1 0016 property alias button1: button1 0017 0018 actions { 0019 main: Kirigami.Action { 0020 text: "Sync" 0021 icon.name: "folder-sync" 0022 onTriggered: showPassiveNotification("Action clicked") 0023 } 0024 } 0025 0026 RowLayout { 0027 anchors.horizontalCenter: parent.horizontalCenter 0028 anchors.topMargin: 20 0029 anchors.top: parent.top 0030 0031 TextField { 0032 id: textField1 0033 placeholderText: qsTr("Text Field") 0034 } 0035 0036 Button { 0037 id: button1 0038 text: qsTr("Press Me") 0039 } 0040 } 0041 }