Remove old design on form error

This commit is contained in:
Julien Wadel 2021-08-10 14:38:08 +02:00
parent a0b77904a2
commit 60cde55a15
9 changed files with 0 additions and 24 deletions

View file

@ -8,7 +8,6 @@ import Common 1.0
Column {
property alias title: title.text
property bool dealWithErrors: false
property int orientation: Qt.Horizontal
property bool addButton : false
signal addButtonClicked;

View file

@ -9,7 +9,6 @@ Loader {
property string label
readonly property int orientation: parent.orientation
readonly property bool dealWithErrors: parent.dealWithErrors
default property var _content: null

View file

@ -15,7 +15,6 @@ Row {
return curWidth < maxWidth ? curWidth : maxWidth
}
readonly property int orientation: parent.orientation
readonly property bool dealWithErrors: parent.dealWithErrors
// ---------------------------------------------------------------------------

View file

@ -61,20 +61,4 @@ ColumnLayout {
}
}
}
Text {
Layout.fillWidth: true
Layout.preferredHeight: FormVGroupStyle.error.height
color: FormVGroupStyle.error.color
elide: Text.ElideRight
font {
italic: true
pointSize: FormVGroupStyle.error.pointSize
}
text: _content && _content.error && _content.error.length ? _content.error : ''
visible: parent.parent.dealWithErrors
}
}

View file

@ -31,7 +31,6 @@ AssistantAbstractView {
anchors.fill: parent
Form {
dealWithErrors: true
orientation: Qt.Vertical
width: parent.width

View file

@ -29,7 +29,6 @@ AssistantAbstractView {
anchors.fill: parent
Form {
dealWithErrors: true
orientation: Qt.Vertical
width: parent.width

View file

@ -9,7 +9,6 @@ Form {
property bool mainActionEnabled: phoneNumber.text.length &&
!phoneNumberError.length
dealWithErrors: true
orientation: Qt.Vertical
FormLine {

View file

@ -11,7 +11,6 @@ Form {
!passwordError.length &&
!usernameError.length
dealWithErrors: true
orientation: Qt.Vertical
FormLine {

View file

@ -22,7 +22,6 @@ AssistantAbstractView {
anchors.fill: parent
Form {
dealWithErrors: true
orientation: Qt.Vertical
width: parent.width