Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

[android] Update S-Pen Pro Air Action descriptions

Carsten Hartenfels7c9afedcb69a
diff --git a/plugins/extensions/spensettings/KisSPenSettings.cpp b/plugins/extensions/spensettings/KisSPenSettings.cpp
index 5effedc3ed..baf9d45327 100644
--- a/plugins/extensions/spensettings/KisSPenSettings.cpp
+++ b/plugins/extensions/spensettings/KisSPenSettings.cpp
@@ -84,7 +84,7 @@ QString KisSPenSettings::name()
QString KisSPenSettings::header()
{
- return QString(i18n("S-Pen Actions"));
+ return QString(i18n("S-Pen Pro Air Actions"));
}
QIcon KisSPenSettings::icon()
diff --git a/plugins/extensions/spensettings/SPenSettings.action b/plugins/extensions/spensettings/SPenSettings.action
index f390a1d5a9..ba1cb0b6b9 100644
--- a/plugins/extensions/spensettings/SPenSettings.action
+++ b/plugins/extensions/spensettings/SPenSettings.action
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<ActionCollection version="2" name="Krita">
<Actions category="Krita">
- <text>S-Pen Actions</text>
+ <text>S-Pen Pro Air Actions</text>
<Action name="spen_click">
<icon></icon>
- <text>S-Pen Button Click</text>
+ <text>S-Pen Pro Air Button Click</text>
<whatsThis></whatsThis>
<toolTip></toolTip>
<iconText></iconText>
@@ -18,7 +18,7 @@
<Action name="spen_double_click">
<icon></icon>
- <text>S-Pen Button Double Click</text>
+ <text>S-Pen Pro Air Button Double Click</text>
<whatsThis></whatsThis>
<toolTip></toolTip>
<iconText></iconText>
@@ -31,7 +31,7 @@
<Action name="spen_swipe_up">
<icon></icon>
- <text>S-Pen Gesture Swipe Up</text>
+ <text>S-Pen Pro Air Gesture Swipe Up</text>
<whatsThis></whatsThis>
<toolTip></toolTip>
<iconText></iconText>
@@ -44,7 +44,7 @@
<Action name="spen_swipe_down">
<icon></icon>
- <text>S-Pen Gesture Swipe Down</text>
+ <text>S-Pen Pro AirGesture Swipe Down</text>
<whatsThis></whatsThis>
<toolTip></toolTip>
<iconText></iconText>
@@ -57,7 +57,7 @@
<Action name="spen_swipe_left">
<icon></icon>
- <text>S-Pen Gesture Swipe Left</text>
+ <text>S-Pen Pro Air Gesture Swipe Left</text>
<whatsThis></whatsThis>
<toolTip></toolTip>
<iconText></iconText>
@@ -70,7 +70,7 @@
<Action name="spen_swipe_right">
<icon></icon>
- <text>S-Pen Gesture Swipe Right</text>
+ <text>S-Pen Pro Air Gesture Swipe Right</text>
<whatsThis></whatsThis>
<toolTip></toolTip>
<iconText></iconText>
@@ -83,7 +83,7 @@
<Action name="spen_circle_cw">
<icon></icon>
- <text>S-Pen Gesture Circle Clockwise</text>
+ <text>S-Pen Pro Air Gesture Circle Clockwise</text>
<whatsThis></whatsThis>
<toolTip></toolTip>
<iconText></iconText>
@@ -96,7 +96,7 @@
<Action name="spen_circle_ccw">
<icon></icon>
- <text>S-Pen Gesture Circle Counter-Clockwise</text>
+ <text>S-Pen Pro Air Gesture Circle Counter-Clockwise</text>
<whatsThis></whatsThis>
<toolTip></toolTip>
<iconText></iconText>
diff --git a/plugins/extensions/spensettings/wdg_spensettings.ui b/plugins/extensions/spensettings/wdg_spensettings.ui
index 1e5dedbd5c..105d92cbf8 100644
--- a/plugins/extensions/spensettings/wdg_spensettings.ui
+++ b/plugins/extensions/spensettings/wdg_spensettings.ui
@@ -24,7 +24,7 @@
<item>
<widget class="QLabel" name="label_9">
<property name="text">
- <string>Make sure the actions are corresponding to the correct gesture on the system level. These can be configured under S Pen Settings &gt; Air actions.</string>
+ <string>You must enable Air Actions for Krita in your system settings for them to work. Note that only the S-Pen Pro supports Air Actions, the regular S-Pen does not. Not all devices support gestures.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -43,41 +43,26 @@
<string>Buttons</string>
</property>
<layout class="QFormLayout" name="formLayout">
- <item column="0" row="1">
+ <item row="0" column="0">
<widget class="QLabel" name="labelClick">
<property name="text">
<string>Press</string>
</property>
</widget>
</item>
- <item column="1" row="1">
+ <item row="0" column="1">
<widget class="QComboBox" name="cmbClickAction"/>
</item>
- <item column="0" row="2">
+ <item row="1" column="0">
<widget class="QLabel" name="labelDoubleClick">
<property name="text">
<string>Double Press</string>
</property>
</widget>
</item>
- <item column="1" row="2">
+ <item row="1" column="1">
<widget class="QComboBox" name="cmbDoubleClickAction"/>
</item>
- <item colspan="2" column="0" row="0">
- <widget class="QLabel" name="label_7">
- <property name="font">
- <font>
- <italic>true</italic>
- </font>
- </property>
- <property name="text">
- <string>The following buttons are supported on the Note 9, Note 10, Tab S6 and Tab S9 devices.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>
@@ -93,81 +78,66 @@
<string>Gestures</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
- <item column="0" row="1">
+ <item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Swipe Up</string>
</property>
</widget>
</item>
- <item column="1" row="1">
+ <item row="0" column="1">
<widget class="QComboBox" name="cmbGestureSwipeUp"/>
</item>
- <item column="0" row="2">
+ <item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Swipe Down</string>
</property>
</widget>
</item>
- <item column="0" row="4">
- <widget class="QLabel" name="label_4">
+ <item row="1" column="1">
+ <widget class="QComboBox" name="cmbGestureSwipeDown"/>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_3">
<property name="text">
- <string>Swipe Right</string>
+ <string>Swipe Left</string>
</property>
</widget>
</item>
- <item column="0" row="3">
- <widget class="QLabel" name="label_3">
+ <item row="2" column="1">
+ <widget class="QComboBox" name="cmbGestureSwipeLeft"/>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_4">
<property name="text">
- <string>Swipe Left</string>
+ <string>Swipe Right</string>
</property>
</widget>
</item>
- <item column="0" row="6">
+ <item row="3" column="1">
+ <widget class="QComboBox" name="cmbGestureSwipeRight"/>
+ </item>
+ <item row="5" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Circle Clockwise</string>
</property>
</widget>
</item>
- <item column="0" row="7">
+ <item row="5" column="1">
+ <widget class="QComboBox" name="cmbGestureCircleCW"/>
+ </item>
+ <item row="6" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Circle Counter-Clockwise</string>
</property>
</widget>
</item>
- <item column="1" row="2">
- <widget class="QComboBox" name="cmbGestureSwipeDown"/>
- </item>
- <item column="1" row="3">
- <widget class="QComboBox" name="cmbGestureSwipeLeft"/>
- </item>
- <item column="1" row="4">
- <widget class="QComboBox" name="cmbGestureSwipeRight"/>
- </item>
- <item column="1" row="6">
- <widget class="QComboBox" name="cmbGestureCircleCW"/>
- </item>
- <item column="1" row="7">
+ <item row="6" column="1">
<widget class="QComboBox" name="cmbGestureCircleCCW"/>
</item>
- <item colspan="2" column="0" row="0">
- <widget class="QLabel" name="label_8">
- <property name="font">
- <font>
- <italic>true</italic>
- </font>
- </property>
- <property name="text">
- <string>The following gestures are supported on the Note 10, Tab S6 and Tab S9 devices.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>