mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
21 lines
No EOL
420 B
QML
21 lines
No EOL
420 B
QML
import QtQuick
|
|
import QtQuick.Controls as Control
|
|
import QtQuick.Layouts 1.0
|
|
import QtQuick.Effects
|
|
import Linphone
|
|
|
|
Text {
|
|
id: mainItem
|
|
color: DefaultStyle.danger_500main
|
|
font {
|
|
pixelSize: 12 * DefaultStyle.dp
|
|
weight: 300 * DefaultStyle.dp
|
|
}
|
|
Timer {
|
|
id: autoHideErrorMessage
|
|
interval: 2500
|
|
onTriggered: mainItem.text = ""
|
|
}
|
|
|
|
onTextChanged: if (mainItem.text.length > 0) autoHideErrorMessage.restart()
|
|
} |