kiran-control-panel/0001-fix-mouse-add-mouse-wheel-direction-test-if-compile-.patch
yuanxing 680cc0525f fix:add mouse wheel direction test and modifier lock tips
- 添加鼠标滚轮方向测试和修饰键锁定提示

Fix #9379 #9124
2023-08-01 10:39:53 +08:00

1125 lines
47 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 727ab7006e1f7c458534d6835671451ef35b1195 Mon Sep 17 00:00:00 2001
From: yuanxing <yuanxing@kylinsec.com.cn>
Date: Thu, 6 Jul 2023 17:00:01 +0800
Subject: [PATCH 1/2] fix(mouse):add mouse wheel direction test if compile with
MOUSE_WHEEL_TEST_VISIBLE=ON
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 当编译选项MOUSE_WHEEL_TEST_VISIBLE=ON时显示文本框用于测试鼠标滚轮方向
Fix #9124
---
plugins/mouse/CMakeLists.txt | 6 +
plugins/mouse/src/mouse-page.cpp | 28 +++-
plugins/mouse/src/mouse-page.ui | 137 ++++++++++++++++++
.../translations/kiran-cpanel-mouse.bo_CN.ts | 118 ++++++++++++++-
.../translations/kiran-cpanel-mouse.kk_KG.ts | 118 ++++++++++++++-
.../translations/kiran-cpanel-mouse.kk_KZ.ts | 118 ++++++++++++++-
.../translations/kiran-cpanel-mouse.mn_MN.ts | 118 ++++++++++++++-
.../translations/kiran-cpanel-mouse.ug_CN.ts | 118 ++++++++++++++-
.../translations/kiran-cpanel-mouse.zh_CN.ts | 112 +++++++++++++-
9 files changed, 843 insertions(+), 30 deletions(-)
diff --git a/plugins/mouse/CMakeLists.txt b/plugins/mouse/CMakeLists.txt
index 4323f80..307ec7a 100644
--- a/plugins/mouse/CMakeLists.txt
+++ b/plugins/mouse/CMakeLists.txt
@@ -1,5 +1,7 @@
set(TARGET_NAME kiran-cpanel-mouse)
+option(MOUSE_WHEEL_TEST_VISIBLE "Is mouse wheel direction test visible" OFF)
+
file(GLOB_RECURSE MOUSE_SRC "./*.cpp" "./*.h" "./*.ui" "./*.qrc" )
file(GLOB TS_FILES "translations/*.ts")
@@ -39,6 +41,10 @@ target_link_libraries(${TARGET_NAME}
${KIRANWIDGETS_LIBRARIES}
${KLOG_LIBRARIES})
+if (MOUSE_WHEEL_TEST_VISIBLE)
+ add_definitions(-DMOUSE_WHEEL_DIRECTION_TEST)
+endif ()
+
install(TARGETS ${TARGET_NAME}
DESTINATION ${PLUGIN_LIBS_INSTALL_DIR}/)
diff --git a/plugins/mouse/src/mouse-page.cpp b/plugins/mouse/src/mouse-page.cpp
index 468093c..9e82621 100644
--- a/plugins/mouse/src/mouse-page.cpp
+++ b/plugins/mouse/src/mouse-page.cpp
@@ -35,7 +35,8 @@ MousePage::MousePage(QWidget *parent) : QWidget(parent),
//创建定时器在用户拖动滑动条时滑动条值停止变化0.1s后才会设置新的鼠标移动速度
m_timer = new QTimer(this);
connect(m_timer, &QTimer::timeout,
- [this] {
+ [this]
+ {
int value = ui->slider_speed->value();
auto scrollSpeed = (value / (SLIDER_MAXIMUN * 1.0)) * 2.0 - 1.0;
m_mouseMotionAcceleration = scrollSpeed;
@@ -84,6 +85,10 @@ void MousePage::initUI()
ui->slider_speed->setPageStep((SLIDER_MAXIMUN - SLIDER_MINIMUM) / 20);
ui->slider_speed->setSingleStep((SLIDER_MAXIMUN - SLIDER_MINIMUM) / 20);
+#ifndef MOUSE_WHEEL_DIRECTION_TEST
+ ui->testWidget->hide();
+#endif
+
initComponent();
}
@@ -95,13 +100,15 @@ void MousePage::initComponent()
m_mouseLeftHand = m_mouseInterface->left_handed();
ui->comboBox_hand_mode->setCurrentIndex(m_mouseLeftHand);
connect(ui->comboBox_hand_mode, QOverload<int>::of(&QComboBox::currentIndexChanged),
- [this](int currentIntex) {
+ [this](int currentIntex)
+ {
m_mouseLeftHand = currentIntex;
m_mouseInterface->setLeft_handed(m_mouseLeftHand);
});
connect(
m_mouseInterface.data(), &MouseBackEndProxy::left_handedChanged, this,
- [this](bool value) {
+ [this](bool value)
+ {
if (m_mouseLeftHand != value)
{
m_mouseLeftHand = value;
@@ -120,7 +127,8 @@ void MousePage::initComponent()
connect(
m_mouseInterface.data(), &MouseBackEndProxy::motion_accelerationChanged, this,
- [this](double value) {
+ [this](double value)
+ {
if (m_mouseMotionAcceleration != value)
{
m_mouseMotionAcceleration = value;
@@ -135,13 +143,15 @@ void MousePage::initComponent()
m_mouseNaturalScroll = m_mouseInterface->natural_scroll();
ui->checkBox_natural_scroll->setChecked(m_mouseNaturalScroll);
connect(ui->checkBox_natural_scroll, &KiranSwitchButton::toggled,
- [this](bool ischecked) {
+ [this](bool ischecked)
+ {
m_mouseNaturalScroll = ischecked;
m_mouseInterface->setNatural_scroll(ischecked);
});
connect(
m_mouseInterface.data(), &MouseBackEndProxy::natural_scrollChanged, this,
- [this](bool value) {
+ [this](bool value)
+ {
if (m_mouseNaturalScroll != value)
{
m_mouseNaturalScroll = value;
@@ -155,13 +165,15 @@ void MousePage::initComponent()
m_middleEmulationEnabled = m_mouseInterface->middle_emulation_enabled();
ui->checkBox_middle_emulation->setChecked(m_middleEmulationEnabled);
connect(ui->checkBox_middle_emulation, &KiranSwitchButton::toggled,
- [this](bool ischecked) {
+ [this](bool ischecked)
+ {
m_middleEmulationEnabled = ischecked;
m_mouseInterface->setMiddle_emulation_enabled(ischecked);
});
connect(
m_mouseInterface.data(), &MouseBackEndProxy::middle_emulation_enabledChanged, this,
- [this](bool value) {
+ [this](bool value)
+ {
if (m_middleEmulationEnabled != value)
{
m_middleEmulationEnabled = value;
diff --git a/plugins/mouse/src/mouse-page.ui b/plugins/mouse/src/mouse-page.ui
index ac241bf..0e20c3a 100644
--- a/plugins/mouse/src/mouse-page.ui
+++ b/plugins/mouse/src/mouse-page.ui
@@ -295,6 +295,143 @@
</item>
</layout>
</item>
+ <item>
+ <spacer name="verticalSpacer_6">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>8</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QWidget" name="testWidget" native="true">
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Test mouse wheel direction</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QScrollArea" name="testScrollArea">
+ <property name="widgetResizable">
+ <bool>true</bool>
+ </property>
+ <widget class="QWidget" name="testScrollAreaWidget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>569</width>
+ <height>900</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="label_test">
+ <property name="text">
+ <string>This is line 1 of the test text
+This is line 2 of the test text
+This is line 3 of the test text
+This is line 4 of the test text
+This is line 5 of the test text
+This is line 6 of the test text
+This is line 7 of the test text
+This is line 8 of the test text
+This is line 9 of the test text
+This is line 10 of the test text
+This is line 11 of the test text
+This is line 12 of the test text
+This is line 13 of the test text
+This is line 14 of the test text
+This is line 15 of the test text
+This is line 16 of the test text
+This is line 17 of the test text
+This is line 18 of the test text
+This is line 19 of the test text
+This is line 20 of the test text
+This is line 21 of the test text
+This is line 22 of the test text
+This is line 23 of the test text
+This is line 24 of the test text
+This is line 25 of the test text
+This is line 26 of the test text
+This is line 27 of the test text
+This is line 28 of the test text
+This is line 29 of the test text
+This is line 30 of the test text
+This is line 31 of the test text
+This is line 32 of the test text
+This is line 33 of the test text
+This is line 34 of the test text
+This is line 35 of the test text
+This is line 36 of the test text
+This is line 37 of the test text
+This is line 38 of the test text
+This is line 39 of the test text
+This is line 40 of the test text
+This is line 41 of the test text
+This is line 42 of the test text
+This is line 43 of the test text
+This is line 44 of the test text
+This is line 45 of the test text
+This is line 46 of the test text
+This is line 47 of the test text
+This is line 48 of the test text
+This is line 49 of the test text
+This is line 50 of the test text</string>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
diff --git a/plugins/mouse/translations/kiran-cpanel-mouse.bo_CN.ts b/plugins/mouse/translations/kiran-cpanel-mouse.bo_CN.ts
index d1ff462..8456c43 100644
--- a/plugins/mouse/translations/kiran-cpanel-mouse.bo_CN.ts
+++ b/plugins/mouse/translations/kiran-cpanel-mouse.bo_CN.ts
@@ -1,4 +1,6 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="zh_CN">
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="zh_CN">
<context>
<name>KiranCPanelMouse</name>
<message>
@@ -171,12 +173,120 @@
<translation type="unfinished">SwitchMidleEmulomon</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.ui" line="335"/>
+ <source>Test mouse wheel direction</source>
+ <translation>བྱི་བའི་འཁོར་ལོའི་ཁ་ཕྱོགས་ལ་ཚོད</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.ui" line="372"/>
+ <source>This is line 1 of the test text
+This is line 2 of the test text
+This is line 3 of the test text
+This is line 4 of the test text
+This is line 5 of the test text
+This is line 6 of the test text
+This is line 7 of the test text
+This is line 8 of the test text
+This is line 9 of the test text
+This is line 10 of the test text
+This is line 11 of the test text
+This is line 12 of the test text
+This is line 13 of the test text
+This is line 14 of the test text
+This is line 15 of the test text
+This is line 16 of the test text
+This is line 17 of the test text
+This is line 18 of the test text
+This is line 19 of the test text
+This is line 20 of the test text
+This is line 21 of the test text
+This is line 22 of the test text
+This is line 23 of the test text
+This is line 24 of the test text
+This is line 25 of the test text
+This is line 26 of the test text
+This is line 27 of the test text
+This is line 28 of the test text
+This is line 29 of the test text
+This is line 30 of the test text
+This is line 31 of the test text
+This is line 32 of the test text
+This is line 33 of the test text
+This is line 34 of the test text
+This is line 35 of the test text
+This is line 36 of the test text
+This is line 37 of the test text
+This is line 38 of the test text
+This is line 39 of the test text
+This is line 40 of the test text
+This is line 41 of the test text
+This is line 42 of the test text
+This is line 43 of the test text
+This is line 44 of the test text
+This is line 45 of the test text
+This is line 46 of the test text
+This is line 47 of the test text
+This is line 48 of the test text
+This is line 49 of the test text
+This is line 50 of the test text</source>
+ <translation>འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་དང་པོ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་གཉིས་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་གསུམ་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཞི་བ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་5་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ནང་གི་ཐིག་དྲུག་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་7པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་8པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་9པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅུ་བ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅུ་གཅིག་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅུ་གཉིས་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅུ་གསུམ་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅུ་བཞི་བ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅོ་ལྔ་བ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅུ་དྲུག་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅུ་བདུན་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅོ་བརྒྱད་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་བཅུ་དགུ་བ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་20་་་
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་21་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་22་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་23པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་24པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་25་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་26པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་ཉེར་བདུན་པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་28པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་29པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་30པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་31པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་32པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་33པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་34པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་35པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་36པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་37པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་38པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་39པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཐིག་40ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་41པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་42པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་43པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་44པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་45པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་46པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་47པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་48པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་49པ་ཡིན།
+འདི་ནི་རྒྱུགས་ལེན་ཡི་གེའི་ཨང་50་་་</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Right Hand Mode</source>
<translation>གཡས་ལག་རྣམ་པ་</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Left Hand Mode</source>
<translation>ལག་གཡོན་མའི་རྣམ་པ།</translation>
</message>
@@ -474,4 +584,4 @@
<translation>རེག་པང་སྒྲིག་བཀོད།</translation>
</message>
</context>
-</TS>
\ No newline at end of file
+</TS>
diff --git a/plugins/mouse/translations/kiran-cpanel-mouse.kk_KG.ts b/plugins/mouse/translations/kiran-cpanel-mouse.kk_KG.ts
index 388644d..8a668f4 100644
--- a/plugins/mouse/translations/kiran-cpanel-mouse.kk_KG.ts
+++ b/plugins/mouse/translations/kiran-cpanel-mouse.kk_KG.ts
@@ -1,4 +1,6 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="zh_CN">
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="zh_CN">
<context>
<name>KiranCPanelMouse</name>
<message>
@@ -171,12 +173,120 @@
<translation type="unfinished">SwitchMiddleEmulation</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.ui" line="335"/>
+ <source>Test mouse wheel direction</source>
+ <translation>Сыноо чычкан дөңгөлөк багыты</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.ui" line="372"/>
+ <source>This is line 1 of the test text
+This is line 2 of the test text
+This is line 3 of the test text
+This is line 4 of the test text
+This is line 5 of the test text
+This is line 6 of the test text
+This is line 7 of the test text
+This is line 8 of the test text
+This is line 9 of the test text
+This is line 10 of the test text
+This is line 11 of the test text
+This is line 12 of the test text
+This is line 13 of the test text
+This is line 14 of the test text
+This is line 15 of the test text
+This is line 16 of the test text
+This is line 17 of the test text
+This is line 18 of the test text
+This is line 19 of the test text
+This is line 20 of the test text
+This is line 21 of the test text
+This is line 22 of the test text
+This is line 23 of the test text
+This is line 24 of the test text
+This is line 25 of the test text
+This is line 26 of the test text
+This is line 27 of the test text
+This is line 28 of the test text
+This is line 29 of the test text
+This is line 30 of the test text
+This is line 31 of the test text
+This is line 32 of the test text
+This is line 33 of the test text
+This is line 34 of the test text
+This is line 35 of the test text
+This is line 36 of the test text
+This is line 37 of the test text
+This is line 38 of the test text
+This is line 39 of the test text
+This is line 40 of the test text
+This is line 41 of the test text
+This is line 42 of the test text
+This is line 43 of the test text
+This is line 44 of the test text
+This is line 45 of the test text
+This is line 46 of the test text
+This is line 47 of the test text
+This is line 48 of the test text
+This is line 49 of the test text
+This is line 50 of the test text</source>
+ <translation>Бул сыноо текстинин 1-сап
+Бул сыноо текстинин 2-сап
+Бул сыноо текстинин 3-сап
+Бул сыноо текстинин 4-сызыгы
+Бул сыноо текстинин 5-сап
+Бул сыноо текстинин 6-сызыгы
+Бул сыноо текстинин 7-сап
+Бул сыноо текстинин 8-сап
+Бул сыноо текстинин 9-сызыгы
+Бул сыноо текстинин 10 сап
+Бул сыноо текстинин 11 сап
+Бул сыноо текстинин 12 сап
+Бул сыноо текстинин 13 сап
+Бул сыноо текстинин 14 сап
+Бул сыноо текстинин 15 сап
+Бул сыноо текстинин 16 сап
+Бул сыноо текстинин 17 сап
+Бул сыноо текстинин 18 сап
+Бул сызык 19 сыноо тексти
+Бул сызык 20 сыноо тексти
+Бул сыноо текстинин 21 сап
+Бул сыноо текстинин 22 сап
+Бул сыноо текстинин 23 сап
+Бул сыноо текстинин 24 сап
+Бул сыноо текстинин 25 сап
+Бул сыноо текстинин 26 сап
+Бул сыноо текстинин 27 сап
+Бул сызык 28 сыноо тексти
+Бул сыноо текстинин 29 сап
+Бул сыноо текстинин 30 сап
+Бул сыноо текстинин 31 сап
+Бул сыноо текстинин 32 сап
+Бул сыноо текстинин 33 сап
+Бул сыноо текстинин 34 сап
+Бул сыноо текстинин 35 сап
+Бул сыноо текстинин 36 сап
+Бул сыноо текстинин 37 сап
+Бул сыноо текстинин 38 сап
+Бул сыноо текстинин 39 сап
+Бул сыноо текстинин 40 сап
+Бул сыноо текстинин 41 сап
+Бул сыноо текстинин 42 сап
+Бул сыноо текстинин 43 сап
+Бул сыноо текстинин 44 сап
+Бул сыноо текстинин 45 сап
+Бул сыноо текстинин 46 сап
+Бул сыноо текстинин 47 сап
+Бул сыноо текстинин 48 сап
+Бул сыноо текстинин 49 сап
+Бул сыноо текстинин 50 сап</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Right Hand Mode</source>
<translation>Оң кол режими</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Left Hand Mode</source>
<translation>Сол кол режими</translation>
</message>
@@ -474,4 +584,4 @@
<translation>TouchPad Жөндөөлөрү</translation>
</message>
</context>
-</TS>
\ No newline at end of file
+</TS>
diff --git a/plugins/mouse/translations/kiran-cpanel-mouse.kk_KZ.ts b/plugins/mouse/translations/kiran-cpanel-mouse.kk_KZ.ts
index dc0deb0..e38f436 100644
--- a/plugins/mouse/translations/kiran-cpanel-mouse.kk_KZ.ts
+++ b/plugins/mouse/translations/kiran-cpanel-mouse.kk_KZ.ts
@@ -1,4 +1,6 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="zh_CN">
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="zh_CN">
<context>
<name>KiranCPanelMouse</name>
<message>
@@ -171,12 +173,120 @@
<translation type="unfinished">SwitchMiddleEmulation</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.ui" line="335"/>
+ <source>Test mouse wheel direction</source>
+ <translation>Тестмос-Вирлирексин</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.ui" line="372"/>
+ <source>This is line 1 of the test text
+This is line 2 of the test text
+This is line 3 of the test text
+This is line 4 of the test text
+This is line 5 of the test text
+This is line 6 of the test text
+This is line 7 of the test text
+This is line 8 of the test text
+This is line 9 of the test text
+This is line 10 of the test text
+This is line 11 of the test text
+This is line 12 of the test text
+This is line 13 of the test text
+This is line 14 of the test text
+This is line 15 of the test text
+This is line 16 of the test text
+This is line 17 of the test text
+This is line 18 of the test text
+This is line 19 of the test text
+This is line 20 of the test text
+This is line 21 of the test text
+This is line 22 of the test text
+This is line 23 of the test text
+This is line 24 of the test text
+This is line 25 of the test text
+This is line 26 of the test text
+This is line 27 of the test text
+This is line 28 of the test text
+This is line 29 of the test text
+This is line 30 of the test text
+This is line 31 of the test text
+This is line 32 of the test text
+This is line 33 of the test text
+This is line 34 of the test text
+This is line 35 of the test text
+This is line 36 of the test text
+This is line 37 of the test text
+This is line 38 of the test text
+This is line 39 of the test text
+This is line 40 of the test text
+This is line 41 of the test text
+This is line 42 of the test text
+This is line 43 of the test text
+This is line 44 of the test text
+This is line 45 of the test text
+This is line 46 of the test text
+This is line 47 of the test text
+This is line 48 of the test text
+This is line 49 of the test text
+This is line 50 of the test text</source>
+ <translation>Бұл сынақ мәтінінің 1-жолы
+Бұл тест мәтінінің 2-жолы
+Бұл тест мәтінінің 3-жолы
+Бұл тест мәтінінің 4-жолы
+Бұл тест мәтінінің 5-жолы
+Бұл тест мәтінінің 6-жолы
+Бұл тест мәтінінің 7-жолы
+Бұл тест мәтінінің 8-жолы
+Бұл тест мәтінінің 9-жолы
+Бұл тест мәтінінің 10-жолы
+Бұл тест мәтінінің 11-жолы
+Бұл тест мәтінінің 12-жолы
+Бұл тест мәтінінің 13-жолы
+Бұл тест мәтінінің 14-жолы
+Бұл тест мәтінінің 15-жолы
+Бұл тест мәтінінің 16-жолы
+Бұл тест мәтінінің 17-жолы
+Бұл тест мәтінінің 18-жолы
+Бұл тест мәтінінің 19-жолы
+Бұл тест мәтінінің 20-жолы
+Бұл тест мәтінінің 21-жолы
+Бұл тест мәтінінің 22-жолы
+Бұл тест мәтінінің 23-жолы
+Бұл тест мәтінінің 24-жолы
+Бұл тест мәтінінің 25-жолы
+Бұл тест мәтінінің 26-жолы
+Бұл тест мәтінінің 27-жолы
+Бұл тест мәтінінің 28-жолы
+Бұл тест мәтінінің 29-жолы
+Бұл тест мәтінінің 30-жолы
+Бұл тест мәтінінің 31-жолы
+Бұл тест мәтінінің 32-жолы
+Бұл тест мәтінінің 33-жолы
+Бұл тест мәтінінің 34-жолы
+Бұл тест мәтінінің 35-жолы
+Бұл тест мәтінінің 36-жолы
+Бұл тест мәтінінің 37-жолы
+Бұл тест мәтінінің 38-жолы
+Бұл тест мәтінінің 39-жолы
+Бұл тест мәтінінің 40-жолы
+Бұл тест мәтінінің 41-жолы
+Бұл тест мәтінінің 42-жолы
+Бұл тест мәтінінің 43-жолы
+Бұл тест мәтінінің 44-жолы
+Бұл тест мәтінінің 45-жолы
+Бұл тест мәтінінің 46-жолы
+Бұл тест мәтінінің 47-жолы
+Бұл тест мәтінінің 48-жолы
+Бұл тест мәтінінің 49-жолы
+Бұл тест мәтінінің 50-жолы</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Right Hand Mode</source>
<translation>Оң қол режимі</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Left Hand Mode</source>
<translation>Сол жақ қол режімі</translation>
</message>
@@ -474,4 +584,4 @@
<translation>Сенсорлық тақта параметрлері</translation>
</message>
</context>
-</TS>
\ No newline at end of file
+</TS>
diff --git a/plugins/mouse/translations/kiran-cpanel-mouse.mn_MN.ts b/plugins/mouse/translations/kiran-cpanel-mouse.mn_MN.ts
index 8fafb44..c084a73 100644
--- a/plugins/mouse/translations/kiran-cpanel-mouse.mn_MN.ts
+++ b/plugins/mouse/translations/kiran-cpanel-mouse.mn_MN.ts
@@ -1,4 +1,6 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="zh_CN">
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="zh_CN">
<context>
<name>KiranCPanelMouse</name>
<message>
@@ -171,12 +173,120 @@
<translation type="unfinished">SwitchMiddleEmulation</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.ui" line="335"/>
+ <source>Test mouse wheel direction</source>
+ <translation>Хулганы дугуйны чиглэлийг шалгах</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.ui" line="372"/>
+ <source>This is line 1 of the test text
+This is line 2 of the test text
+This is line 3 of the test text
+This is line 4 of the test text
+This is line 5 of the test text
+This is line 6 of the test text
+This is line 7 of the test text
+This is line 8 of the test text
+This is line 9 of the test text
+This is line 10 of the test text
+This is line 11 of the test text
+This is line 12 of the test text
+This is line 13 of the test text
+This is line 14 of the test text
+This is line 15 of the test text
+This is line 16 of the test text
+This is line 17 of the test text
+This is line 18 of the test text
+This is line 19 of the test text
+This is line 20 of the test text
+This is line 21 of the test text
+This is line 22 of the test text
+This is line 23 of the test text
+This is line 24 of the test text
+This is line 25 of the test text
+This is line 26 of the test text
+This is line 27 of the test text
+This is line 28 of the test text
+This is line 29 of the test text
+This is line 30 of the test text
+This is line 31 of the test text
+This is line 32 of the test text
+This is line 33 of the test text
+This is line 34 of the test text
+This is line 35 of the test text
+This is line 36 of the test text
+This is line 37 of the test text
+This is line 38 of the test text
+This is line 39 of the test text
+This is line 40 of the test text
+This is line 41 of the test text
+This is line 42 of the test text
+This is line 43 of the test text
+This is line 44 of the test text
+This is line 45 of the test text
+This is line 46 of the test text
+This is line 47 of the test text
+This is line 48 of the test text
+This is line 49 of the test text
+This is line 50 of the test text</source>
+ <translation>Энэ бол туршилтын текстийн эхний мөр юм
+Энэ бол туршилтын текстийн хоёр дахь мөр юм
+Энэ бол туршилтын текстийн 3-р мөр юм
+Энэ бол туршилтын текстийн 4-р мөр юм
+Энэ бол туршилтын текстийн 5-р мөр юм
+Энэ бол туршилтын текстийн 6-р мөр юм
+Энэ бол туршилтын текстийн 7-р мөр юм
+Энэ бол туршилтын текстийн 8-р мөр юм
+Энэ бол туршилтын текстийн 9-р мөр юм
+Энэ бол туршилтын текстийн 10-р мөр юм
+Энэ бол туршилтын текстийн 11-р мөр юм
+Энэ бол туршилтын текстийн 12-р мөр юм
+Энэ бол туршилтын текстийн 13-р мөр юм
+Энэ бол туршилтын текстийн 14-р мөр юм
+Энэ бол туршилтын текстийн 15-р мөр юм
+Энэ бол туршилтын текстийн 16-р мөр юм
+Энэ бол туршилтын текстийн 17-р мөр юм
+Энэ бол туршилтын текстийн 18-р мөр юм
+Энэ бол туршилтын текстийн 19-р мөр юм
+Энэ бол туршилтын текстийн 20-р мөр юм
+Энэ бол туршилтын текстийн 21-р мөр юм
+Энэ бол туршилтын текстийн 22-р мөр юм
+Энэ бол туршилтын текстийн 23-р мөр юм
+Энэ бол туршилтын текстийн 24-р мөр юм
+Энэ бол туршилтын текстийн 25-р мөр юм
+Энэ бол туршилтын текстийн 26-р мөр юм
+Энэ бол туршилтын текстийн 27-р мөр юм
+Энэ бол туршилтын текстийн 28-р мөр юм
+Энэ бол туршилтын текстийн 29-р мөр юм
+Энэ бол туршилтын текстийн 30-р мөр юм
+Энэ бол туршилтын текстийн 31-р мөр юм
+Энэ бол туршилтын текстийн 32-р мөр юм
+Энэ бол туршилтын текстийн 33-р мөр юм
+Энэ бол туршилтын текстийн 34-р мөр юм
+Энэ бол туршилтын текстийн 35-р мөр юм
+Энэ бол туршилтын текстийн 36-р мөр юм
+Энэ бол туршилтын текстийн 37-р мөр юм
+Энэ бол туршилтын текстийн 38-р мөр юм
+Энэ бол туршилтын текстийн 39-р мөр юм
+Энэ бол туршилтын текстийн 40-р мөр юм
+Энэ бол туршилтын текстийн 41-р мөр юм
+Энэ бол туршилтын текстийн 42-р мөр юм
+Энэ бол туршилтын текстийн 43-р мөр юм
+Энэ бол туршилтын текстийн 44-р мөр юм
+Энэ бол туршилтын текстийн 45-р мөр юм
+Энэ бол туршилтын текстийн 46-р мөр юм
+Энэ бол туршилтын текстийн 47-р мөр юм
+Энэ бол туршилтын текстийн 48-р мөр юм
+Энэ бол туршилтын текстийн 49-р мөр юм
+Энэ бол туршилтын текстийн 50-р мөр юм</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Right Hand Mode</source>
<translation>Баруун гар горим</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Left Hand Mode</source>
<translation>Зүүн гар</translation>
</message>
@@ -474,4 +584,4 @@
<translation>TouchPad тохиргоо</translation>
</message>
</context>
-</TS>
\ No newline at end of file
+</TS>
diff --git a/plugins/mouse/translations/kiran-cpanel-mouse.ug_CN.ts b/plugins/mouse/translations/kiran-cpanel-mouse.ug_CN.ts
index b5bf156..0fb80b4 100644
--- a/plugins/mouse/translations/kiran-cpanel-mouse.ug_CN.ts
+++ b/plugins/mouse/translations/kiran-cpanel-mouse.ug_CN.ts
@@ -1,4 +1,6 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="zh_CN">
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="zh_CN">
<context>
<name>KiranCPanelMouse</name>
<message>
@@ -171,12 +173,120 @@
<translation type="unfinished">SwitchMiddleEmulation</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.ui" line="335"/>
+ <source>Test mouse wheel direction</source>
+ <translation>تېستموس خۇير دىلېكېن</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.ui" line="372"/>
+ <source>This is line 1 of the test text
+This is line 2 of the test text
+This is line 3 of the test text
+This is line 4 of the test text
+This is line 5 of the test text
+This is line 6 of the test text
+This is line 7 of the test text
+This is line 8 of the test text
+This is line 9 of the test text
+This is line 10 of the test text
+This is line 11 of the test text
+This is line 12 of the test text
+This is line 13 of the test text
+This is line 14 of the test text
+This is line 15 of the test text
+This is line 16 of the test text
+This is line 17 of the test text
+This is line 18 of the test text
+This is line 19 of the test text
+This is line 20 of the test text
+This is line 21 of the test text
+This is line 22 of the test text
+This is line 23 of the test text
+This is line 24 of the test text
+This is line 25 of the test text
+This is line 26 of the test text
+This is line 27 of the test text
+This is line 28 of the test text
+This is line 29 of the test text
+This is line 30 of the test text
+This is line 31 of the test text
+This is line 32 of the test text
+This is line 33 of the test text
+This is line 34 of the test text
+This is line 35 of the test text
+This is line 36 of the test text
+This is line 37 of the test text
+This is line 38 of the test text
+This is line 39 of the test text
+This is line 40 of the test text
+This is line 41 of the test text
+This is line 42 of the test text
+This is line 43 of the test text
+This is line 44 of the test text
+This is line 45 of the test text
+This is line 46 of the test text
+This is line 47 of the test text
+This is line 48 of the test text
+This is line 49 of the test text
+This is line 50 of the test text</source>
+ <translation>بۇ بىرىنچى قۇر سىناق يېزىقى
+بۇ ئىككىنچى قۇر سىناق يېزىقى
+بۇ ئۈچىنچى قۇر سىناق يېزىقى
+بۇ تۆتىنچى قۇر سىناق يېزىقى
+بۇ بەشىنچى قۇر سىناق يېزىقى
+بۇ ئالتىنچى قۇر سىناق يېزىقى
+بۇ يەتتىنچى قۇر سىناق يېزىقى
+بۇ سەككىزىنچى قۇر سىناق يېزىقى
+بۇ توققۇزىنچى قۇر سىناق يېزىقى
+بۇ 10-قېتىملىق سىناق يېزىقى
+بۇ 11-قۇر سىناق يېزىقى
+بۇ 12-قۇر سىناق يېزىقى
+بۇ 13-قۇر سىناق يېزىقى
+بۇ 14-قۇر سىناق يېزىقى
+بۇ 15-قۇر سىناق يېزىقى
+بۇ 16-قۇر سىناق يېزىقى
+بۇ 17-قۇر سىناق يېزىقى
+بۇ 18-قۇر سىناق يېزىقى
+بۇ 19-قۇر سىناق يېزىقى
+بۇ 20-قېتىملىق سىناق يېزىقى
+بۇ 21-قۇر سىناق خېتى
+بۇ 22-قۇر سىناق يېزىقى
+بۇ 23-قۇر سىناق يېزىقى
+بۇ 24-قۇر سىناق يېزىقى
+بۇ 25-قېتىملىق سىناق يېزىقى
+بۇ 26-قۇر سىناق يېزىقى
+بۇ 27-قېتىملىق سىناق يېزىقى
+بۇ 28-قۇر سىناق يېزىقى
+بۇ 29-قۇر سىناق يېزىقى
+بۇ 30-قېتىملىق سىناق يېزىقى
+بۇ 31-قۇر سىناق يېزىقى
+بۇ 32-قۇر سىناق يېزىقى
+بۇ 33- قۇر سىناق يېزىقى
+بۇ 34-قۇر سىناق يېزىقى
+بۇ 35-قۇر سىناق يېزىقى
+بۇ 36-قۇر سىناق يېزىقى
+بۇ 37-قۇر سىناق يېزىقى
+بۇ 38-قۇر سىناق يېزىقى
+بۇ 39-قۇر سىناق يېزىقى
+بۇ 40-قېتىملىق سىناق يېزىقى
+بۇ 41-قۇر سىناق يېزىقى
+بۇ 42-قۇر سىناق يېزىقى
+بۇ 43- قۇر سىناق يېزىقى
+بۇ 44-قۇر سىناق يېزىقى
+بۇ 45-قۇر سىناق يېزىقى
+بۇ 46-قۇر سىناق يېزىقى
+بۇ 47-قۇر سىناق يېزىقى
+بۇ 48-قۇر سىناق يېزىقى
+بۇ 49-قۇر سىناق يېزىقى
+بۇ 50-قېتىملىق سىناق يېزىقى</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Right Hand Mode</source>
<translation>ئوڭ قول ھالىتى</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Left Hand Mode</source>
<translation>سول قول ھالىتى</translation>
</message>
@@ -474,4 +584,4 @@
<translation>TouchPad تەڭشەكلىرى</translation>
</message>
</context>
-</TS>
\ No newline at end of file
+</TS>
diff --git a/plugins/mouse/translations/kiran-cpanel-mouse.zh_CN.ts b/plugins/mouse/translations/kiran-cpanel-mouse.zh_CN.ts
index 2b73339..6994a2a 100644
--- a/plugins/mouse/translations/kiran-cpanel-mouse.zh_CN.ts
+++ b/plugins/mouse/translations/kiran-cpanel-mouse.zh_CN.ts
@@ -173,12 +173,120 @@
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.ui" line="335"/>
+ <source>Test mouse wheel direction</source>
+ <translation>鼠标滚轮方向测试</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.ui" line="372"/>
+ <source>This is line 1 of the test text
+This is line 2 of the test text
+This is line 3 of the test text
+This is line 4 of the test text
+This is line 5 of the test text
+This is line 6 of the test text
+This is line 7 of the test text
+This is line 8 of the test text
+This is line 9 of the test text
+This is line 10 of the test text
+This is line 11 of the test text
+This is line 12 of the test text
+This is line 13 of the test text
+This is line 14 of the test text
+This is line 15 of the test text
+This is line 16 of the test text
+This is line 17 of the test text
+This is line 18 of the test text
+This is line 19 of the test text
+This is line 20 of the test text
+This is line 21 of the test text
+This is line 22 of the test text
+This is line 23 of the test text
+This is line 24 of the test text
+This is line 25 of the test text
+This is line 26 of the test text
+This is line 27 of the test text
+This is line 28 of the test text
+This is line 29 of the test text
+This is line 30 of the test text
+This is line 31 of the test text
+This is line 32 of the test text
+This is line 33 of the test text
+This is line 34 of the test text
+This is line 35 of the test text
+This is line 36 of the test text
+This is line 37 of the test text
+This is line 38 of the test text
+This is line 39 of the test text
+This is line 40 of the test text
+This is line 41 of the test text
+This is line 42 of the test text
+This is line 43 of the test text
+This is line 44 of the test text
+This is line 45 of the test text
+This is line 46 of the test text
+This is line 47 of the test text
+This is line 48 of the test text
+This is line 49 of the test text
+This is line 50 of the test text</source>
+ <translation>这是第1行测试文字
+这是第2行测试文字
+这是第3行测试文字
+这是第4行测试文字
+这是第5行测试文字
+这是第6行测试文字
+这是第7行测试文字
+这是第8行测试文字
+这是第9行测试文字
+这是第10行测试文字
+这是第11行测试文字
+这是第12行测试文字
+这是第13行测试文字
+这是第14行测试文字
+这是第15行测试文字
+这是第16行测试文字
+这是第17行测试文字
+这是第18行测试文字
+这是第19行测试文字
+这是第20行测试文字
+这是第21行测试文字
+这是第22行测试文字
+这是第23行测试文字
+这是第24行测试文字
+这是第25行测试文字
+这是第26行测试文字
+这是第27行测试文字
+这是第28行测试文字
+这是第29行测试文字
+这是第30行测试文字
+这是第31行测试文字
+这是第32行测试文字
+这是第33行测试文字
+这是第34行测试文字
+这是第35行测试文字
+这是第36行测试文字
+这是第37行测试文字
+这是第38行测试文字
+这是第39行测试文字
+这是第40行测试文字
+这是第41行测试文字
+这是第42行测试文字
+这是第43行测试文字
+这是第44行测试文字
+这是第45行测试文字
+这是第46行测试文字
+这是第47行测试文字
+这是第48行测试文字
+这是第49行测试文字
+这是第50行测试文字</translation>
+ </message>
+ <message>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Right Hand Mode</source>
<translation>右手模式</translation>
</message>
<message>
- <location filename="../src/mouse-page.cpp" line="79"/>
+ <location filename="../src/mouse-page.cpp" line="81"/>
<source>Left Hand Mode</source>
<translation>左手模式</translation>
</message>
--
2.27.0