qmlfrontend/Page1Form.ui.qml
author alfadur
Fri, 09 Mar 2018 23:34:46 +0100
changeset 13151 deab88f1f6f7
parent 12854 28cb18c5e712
child 12858 0c6fb706f747
child 14143 745c73e0e644
permissions -rw-r--r--
Improve appearance of bullet trails, slight fade out at beginning This especially improves the appearance of minigun bullet trails
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     1
import QtQuick 2.7
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     2
import QtQuick.Controls 2.0
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     3
import QtQuick.Layouts 1.3
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     4
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     5
Item {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     6
    property alias textField1: textField1
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     7
    property alias button1: button1
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     8
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     9
    RowLayout {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    10
        anchors.horizontalCenter: parent.horizontalCenter
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    11
        anchors.topMargin: 20
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    12
        anchors.top: parent.top
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    13
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    14
        TextField {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    15
            id: textField1
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    16
            placeholderText: qsTr("Text Field")
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    17
        }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    18
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    19
        Button {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    20
            id: button1
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    21
            text: qsTr("Press Me")
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    22
        }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    23
    }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    24
}