29 lines
579 B
QML
29 lines
579 B
QML
import QtQuick 2.12
|
|
import QtQuick.Layouts 1.12
|
|
|
|
import Controls 1.0 as CustomControls
|
|
import Palette 1.0
|
|
|
|
ColumnLayout {
|
|
id: root
|
|
spacing: 8
|
|
|
|
property string descriptionText
|
|
property string text
|
|
property string indicatorText
|
|
property bool readonly: false
|
|
|
|
CustomControls.Label {
|
|
text: root.descriptionText
|
|
Layout.leftMargin: 24
|
|
Layout.fillWidth: true
|
|
}
|
|
|
|
CustomControls.TextField {
|
|
text: root.text
|
|
indicatorText: root.indicatorText
|
|
readOnly: root.readonly
|
|
Layout.fillWidth: true
|
|
}
|
|
}
|