mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
Remove old design on form error
This commit is contained in:
parent
a0b77904a2
commit
60cde55a15
9 changed files with 0 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ Row {
|
|||
return curWidth < maxWidth ? curWidth : maxWidth
|
||||
}
|
||||
readonly property int orientation: parent.orientation
|
||||
readonly property bool dealWithErrors: parent.dealWithErrors
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ AssistantAbstractView {
|
|||
anchors.fill: parent
|
||||
|
||||
Form {
|
||||
dealWithErrors: true
|
||||
orientation: Qt.Vertical
|
||||
width: parent.width
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ AssistantAbstractView {
|
|||
anchors.fill: parent
|
||||
|
||||
Form {
|
||||
dealWithErrors: true
|
||||
orientation: Qt.Vertical
|
||||
width: parent.width
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ Form {
|
|||
property bool mainActionEnabled: phoneNumber.text.length &&
|
||||
!phoneNumberError.length
|
||||
|
||||
dealWithErrors: true
|
||||
orientation: Qt.Vertical
|
||||
|
||||
FormLine {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ Form {
|
|||
!passwordError.length &&
|
||||
!usernameError.length
|
||||
|
||||
dealWithErrors: true
|
||||
orientation: Qt.Vertical
|
||||
|
||||
FormLine {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ AssistantAbstractView {
|
|||
anchors.fill: parent
|
||||
|
||||
Form {
|
||||
dealWithErrors: true
|
||||
orientation: Qt.Vertical
|
||||
width: parent.width
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue