Migration of QtMvvm from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
545 B

9 years ago
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Controls.Material 2.3
9 years ago
import de.skycoder42.QtMvvm.Quick 1.0
9 years ago
ToolButton {
id: _toolButton
9 years ago
property string toolTip: _toolButton.text
9 years ago
9 years ago
display: AbstractButton.IconOnly
9 years ago
9 years ago
implicitHeight: 48
implicitWidth: 48
icon.width: 24
icon.height: 24
9 years ago
ToolTip {
id: _backToolTip
9 years ago
text: _toolButton.toolTip
9 years ago
}
onPressAndHold: {
9 years ago
QuickPresenter.hapticLongPress();
9 years ago
_backToolTip.visible = true;
}
onCanceled: _backToolTip.visible = false
onReleased: _backToolTip.visible = false
}