mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 06:48:58 +08:00
Add tooltips for view orientation buttons.
This commit is contained in:
parent
cf14fa6820
commit
902b9f278e
@ -20,29 +20,59 @@ Row
|
||||
{
|
||||
iconSource: UM.Theme.getIcon("view_3d")
|
||||
onClicked: Cura.Actions.view3DCamera.trigger()
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
text: catalog.i18nc("@info:tooltip", "3D View")
|
||||
}
|
||||
}
|
||||
|
||||
ViewOrientationButton
|
||||
{
|
||||
iconSource: UM.Theme.getIcon("view_front")
|
||||
onClicked: Cura.Actions.viewFrontCamera.trigger()
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
text: catalog.i18nc("@info:tooltip", "Front View")
|
||||
}
|
||||
}
|
||||
|
||||
ViewOrientationButton
|
||||
{
|
||||
iconSource: UM.Theme.getIcon("view_top")
|
||||
onClicked: Cura.Actions.viewTopCamera.trigger()
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
text: catalog.i18nc("@info:tooltip", "Top View")
|
||||
}
|
||||
}
|
||||
|
||||
ViewOrientationButton
|
||||
{
|
||||
iconSource: UM.Theme.getIcon("view_left")
|
||||
onClicked: Cura.Actions.viewLeftSideCamera.trigger()
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
text: catalog.i18nc("@info:tooltip", "Left View")
|
||||
}
|
||||
}
|
||||
|
||||
ViewOrientationButton
|
||||
{
|
||||
iconSource: UM.Theme.getIcon("view_right")
|
||||
onClicked: Cura.Actions.viewRightSideCamera.trigger()
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
text: catalog.i18nc("@info:tooltip", "Right View")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user