diff --git a/src/touchpad-settings/touchpadsettingsui.cpp b/src/touchpad-settings/touchpadsettingsui.cpp index dfade41..84a738f 100644 --- a/src/touchpad-settings/touchpadsettingsui.cpp +++ b/src/touchpad-settings/touchpadsettingsui.cpp @@ -211,6 +211,7 @@ QWidget* TouchpadUI::createMouseDisableWidget() QWidget* mouseDisableWidget = new QWidget(this); mouseDisableWidget->setMaximumSize(16777215, 60); + //~ contents_path /Touchpad/Disable touchpad when using the mouse QLabel* mouseDisableLabel = new QLabel(tr("Disable touchpad when using the mouse"), this); kdk::KSwitchButton* mouseDisableBtn = new kdk::KSwitchButton(this); @@ -238,6 +239,7 @@ QWidget* TouchpadUI::createPointerSpeedWidget() QWidget* pointerSpeedWidget = new QWidget(this); pointerSpeedWidget->setMaximumSize(16777215, 60); + //~ contents_path /Touchpad/Pointer Speed QLabel* pointerSpeedLabel = new QLabel(tr("Pointer Speed"), this); QLabel* pointerSpeedSlowLabel = new QLabel(tr("Slow"), this); QLabel* pointerSpeedFastLabel = new QLabel(tr("Fast"), this); @@ -289,6 +291,7 @@ QWidget* TouchpadUI::createTypingDisableWidget() QWidget* typingDisableWidget = new QWidget(this); typingDisableWidget->setMaximumSize(16777215,60); + //~ contents_path /Touchpad/Disable touchpad when typing QLabel* typingDisableLabel = new QLabel(tr("Disable touchpad when typing"), this); kdk::KSwitchButton* typingDisableBtn = new kdk::KSwitchButton(this); @@ -317,6 +320,7 @@ QWidget* TouchpadUI::createClickDisableWidget() QHBoxLayout *clickHLayout = new QHBoxLayout(clickWidget); + //~ contents_path /Touchpad/Touch and click on the touchpad QLabel* clickLabel = new QLabel(tr("Touch and click on the touchpad"), this); kdk::KSwitchButton* clickBtn = new kdk::KSwitchButton(this); clickBtn->blockSignals(true); @@ -341,6 +345,7 @@ QWidget* TouchpadUI::createScrollSlideWidget() QWidget* scrollSlideWidget = new QWidget(this); scrollSlideWidget->setMaximumSize(16777215, 60); + //~ contents_path /Touchpad/Scroll bar slides with finger QLabel* scrollSlideLabel = new QLabel(tr("Scroll bar slides with finger"), this); kdk::KSwitchButton* scrollSlideBtn = new kdk::KSwitchButton(this); scrollSlideBtn->blockSignals(true); @@ -367,6 +372,7 @@ QWidget* TouchpadUI::createScrollAreaWidget() QWidget* scrollAreaWidget = new QWidget(this); scrollAreaWidget->setMaximumSize(16777215, 60); + //~ contents_path /Touchpad/Scrolling area QLabel* scrollAreaLabel = new QLabel(tr("Scrolling area"), this); QComboBox* scrollTypeComBox = new QComboBox(this); @@ -519,6 +525,7 @@ QWidget* TouchpadUI::createVideoWidget() QWidget* TouchpadUI::createMoreGestureWidget() { QWidget* moreGestureWidget = new QWidget(this); + //~ contents_path /Touchpad/More gesture QPushButton *moreGestureBtn = new QPushButton(tr("More gesture")); connect(moreGestureBtn, &QPushButton::clicked, this, []() { QString pluginName = "ukui-control-center/Touchpad"; diff --git a/src/touchpad-settings/translations/bo_CN.ts b/src/touchpad-settings/translations/bo_CN.ts index 4021838..0d01c37 100644 --- a/src/touchpad-settings/translations/bo_CN.ts +++ b/src/touchpad-settings/translations/bo_CN.ts @@ -91,64 +91,71 @@ ལག་ཐོགས་ཁ་པར། - + Disable touchpad when using the mouse བྱི་བ་བཀོལ་སྤྱོད་བྱེད་སྐབས་ལག་ཐོགས་ཁ་པར་གྱི་ཁ་པར་ལ་ + /Touchpad/Disable touchpad when using the mouse - + Pointer Speed ཕྱོགས་སྟོན་འཁོར་ལོ་མགྱོགས་ཚད། + /Touchpad/Pointer Speed - + Slow དལ་མོ།དལ་མོ། - + Fast མགྱོགས་མྱུར། - + Disable touchpad when typing ཡི་གེ་ཡི་གེ་རྒྱག་སྐབས་ལག་ཐོགས་ཁ་པར་གྱི་ལག་ཐོགས་ཁ་པར + /Touchpad/Disable touchpad when typing - + Touch and click on the touchpad ལག་ཐོགས་ཁ་པར་ལ་རེག་པ་དང་འབྲེལ་མཐུད་བྱེད་པ། + /Touchpad/Touch and click on the touchpad - + Scroll bar slides with finger མཛུབ་མོས་འདྲེད་བརྡར་ཤོར་བ། + /Touchpad/Scroll bar slides with finger - + Scrolling area ཤོག་ལྷེ་རྒྱག་པའི་རྒྱ་ཁྱོན། + /Touchpad/Scrolling area - + Two-finger scrolling in the middle area དཀྱིལ་ཁུལ་དུ་ལག་པ་གཉིས་ཀྱིས་ཕར་འགྲོ་ཚུར་འོང་བྱེད་བཞིན་ཡོད། - + Edge scrolling མཐའ་འཁོར་དུ་ཕར་འགྲོ་ཚུར་འོང་བྱེད་པ། - + Disable scrolling དབང་པོ་སྐྱོན་ཅན་དུ་འགྱུར་བར་བྱ་དགོས། - + More gesture ལག་བརྡ་དེ་བས་མང་བ + /Touchpad/More gesture gesture diff --git a/src/touchpad-settings/translations/de_DE.ts b/src/touchpad-settings/translations/de_DE.ts index c8e819b..09c66a0 100644 --- a/src/touchpad-settings/translations/de_DE.ts +++ b/src/touchpad-settings/translations/de_DE.ts @@ -89,64 +89,71 @@ Geste - + Disable touchpad when using the mouse Touchpad bei Verwendung der Maus deaktivieren + /Touchpad/Disable touchpad when using the mouse - + Pointer Speed Zeiger-Geschwindigkeit + /Touchpad/Pointer Speed - + Slow Langsam - + Fast Schnell - + Disable touchpad when typing Touchpad beim Tippen deaktivieren + /Touchpad/Disable touchpad when typing - + Touch and click on the touchpad Berühren und klicken Sie auf das Touchpad + /Touchpad/Touch and click on the touchpad - + Scroll bar slides with finger Bildlaufleiste wird mit dem Finger verschoben + /Touchpad/Scroll bar slides with finger - + Scrolling area Bildlauf-Bereich + /Touchpad/Scrolling area - + Two-finger scrolling in the middle area Zwei-Finger-Scrollen im mittleren Bereich - + Edge scrolling Scrollen am Rand - + Disable scrolling Scrollen deaktivieren - + More gesture Mehr Geste + /Touchpad/More gesture gesture diff --git a/src/touchpad-settings/translations/es_ES.ts b/src/touchpad-settings/translations/es_ES.ts index 03da79c..de208e5 100644 --- a/src/touchpad-settings/translations/es_ES.ts +++ b/src/touchpad-settings/translations/es_ES.ts @@ -89,64 +89,71 @@ Gesto - + Disable touchpad when using the mouse Deshabilite el panel táctil al usar el mouse + /Touchpad/Disable touchpad when using the mouse - + Pointer Speed Velocidad del puntero + /Touchpad/Pointer Speed - + Slow Lento - + Fast Rápido - + Disable touchpad when typing Desactivar el panel táctil al escribir + /Touchpad/Disable touchpad when typing - + Touch and click on the touchpad Toque y haga clic en el panel táctil + /Touchpad/Touch and click on the touchpad - + Scroll bar slides with finger La barra de desplazamiento se desliza con el dedo + /Touchpad/Scroll bar slides with finger - + Scrolling area Área de desplazamiento + /Touchpad/Scrolling area - + Two-finger scrolling in the middle area Desplazamiento con dos dedos en la zona central - + Edge scrolling Desplazamiento de bordes - + Disable scrolling Desactivar el desplazamiento - + More gesture Más gesto + /Touchpad/More gesture gesture diff --git a/src/touchpad-settings/translations/fr_FR.ts b/src/touchpad-settings/translations/fr_FR.ts index 174b72b..14a3d1a 100644 --- a/src/touchpad-settings/translations/fr_FR.ts +++ b/src/touchpad-settings/translations/fr_FR.ts @@ -89,64 +89,71 @@ Geste - + Disable touchpad when using the mouse Désactiver le pavé tactile lors de l’utilisation de la souris + /Touchpad/Disable touchpad when using the mouse - + Pointer Speed Vitesse du pointeur + /Touchpad/Pointer Speed - + Slow Lent - + Fast Rapide - + Disable touchpad when typing Désactiver le pavé tactile lors de la saisie + /Touchpad/Disable touchpad when typing - + Touch and click on the touchpad Touchez et cliquez sur le pavé tactile + /Touchpad/Touch and click on the touchpad - + Scroll bar slides with finger Faire défiler les diapositives avec le doigt + /Touchpad/Scroll bar slides with finger - + Scrolling area Zone de défilement + /Touchpad/Scrolling area - + Two-finger scrolling in the middle area Défilement à deux doigts dans la zone centrale - + Edge scrolling Défilement des bords - + Disable scrolling Désactiver le défilement - + More gesture Plus de gestes + /Touchpad/More gesture gesture diff --git a/src/touchpad-settings/translations/kk_KZ.ts b/src/touchpad-settings/translations/kk_KZ.ts new file mode 100644 index 0000000..66af00f --- /dev/null +++ b/src/touchpad-settings/translations/kk_KZ.ts @@ -0,0 +1,157 @@ + + + + + QObject + + + three fingers click + + + + + show global search + + + + + swipe three fingers down + + + + + show desktop + + + + + swipe three fingers up + + + + + open the multitasking view + + + + + swipe three fingers horizontally + + + + + switch windows + + + + + four fingers click + + + + + show sidebar + + + + + swipe four fingers horizontally + + + + + switch desktop + + + + + Touchpad + + + Touchpad + + /Touchpad/Touchpad + + + + TouchpadUI + + + + Touchpad + + + + + Gesture + + + + + Disable touchpad when using the mouse + + /Touchpad/Disable touchpad when using the mouse + + + + Pointer Speed + + /Touchpad/Pointer Speed + + + + Slow + + + + + Fast + + + + + Disable touchpad when typing + + /Touchpad/Disable touchpad when typing + + + + Touch and click on the touchpad + + /Touchpad/Touch and click on the touchpad + + + + Scroll bar slides with finger + + /Touchpad/Scroll bar slides with finger + + + + Scrolling area + + /Touchpad/Scrolling area + + + + Two-finger scrolling in the middle area + + + + + Edge scrolling + + + + + Disable scrolling + + + + + More gesture + + /Touchpad/More gesture + + + diff --git a/src/touchpad-settings/translations/ky_KG.ts b/src/touchpad-settings/translations/ky_KG.ts new file mode 100644 index 0000000..66af00f --- /dev/null +++ b/src/touchpad-settings/translations/ky_KG.ts @@ -0,0 +1,157 @@ + + + + + QObject + + + three fingers click + + + + + show global search + + + + + swipe three fingers down + + + + + show desktop + + + + + swipe three fingers up + + + + + open the multitasking view + + + + + swipe three fingers horizontally + + + + + switch windows + + + + + four fingers click + + + + + show sidebar + + + + + swipe four fingers horizontally + + + + + switch desktop + + + + + Touchpad + + + Touchpad + + /Touchpad/Touchpad + + + + TouchpadUI + + + + Touchpad + + + + + Gesture + + + + + Disable touchpad when using the mouse + + /Touchpad/Disable touchpad when using the mouse + + + + Pointer Speed + + /Touchpad/Pointer Speed + + + + Slow + + + + + Fast + + + + + Disable touchpad when typing + + /Touchpad/Disable touchpad when typing + + + + Touch and click on the touchpad + + /Touchpad/Touch and click on the touchpad + + + + Scroll bar slides with finger + + /Touchpad/Scroll bar slides with finger + + + + Scrolling area + + /Touchpad/Scrolling area + + + + Two-finger scrolling in the middle area + + + + + Edge scrolling + + + + + Disable scrolling + + + + + More gesture + + /Touchpad/More gesture + + + diff --git a/src/touchpad-settings/translations/mn_MN.ts b/src/touchpad-settings/translations/mn_MN.ts index a966dbd..bad3c21 100644 --- a/src/touchpad-settings/translations/mn_MN.ts +++ b/src/touchpad-settings/translations/mn_MN.ts @@ -91,64 +91,71 @@ ᠬᠦᠷᠦᠯᠴᠡᠬᠦ᠌ ᠡᠵᠡᠮᠱᠢᠯ ᠬᠠᠪᠳᠠᠰᠤ - + Disable touchpad when using the mouse ᠮᠠᠦ᠋ᠰ ᠬᠠᠪᠴᠢᠭᠤᠯᠬᠤ ᠦᠶ᠎ᠡ ᠎ᠳᠦ ᠬᠦᠷᠦᠯᠴᠡᠬᠦᠢ ᠡᠵᠡᠮᠱᠢᠯ ᠬᠠᠪᠳᠠᠰᠤ ᠬᠡᠷᠡᠭ᠌ᠯᠡᠬᠦ᠌ ᠎ᠶ᠋ᠢ ᠴᠠᠭᠠᠵᠠᠯᠠᠨ᠎ᠠ + /Touchpad/Disable touchpad when using the mouse - + Pointer Speed ᠵᠢᠭᠠᠯᠳᠠ ᠎ᠶ᠋ᠢᠨ ᠬᠤᠷᠳᠤᠴᠠ + /Touchpad/Pointer Speed - + Slow ᠤᠳᠠᠭᠠᠨ - + Fast ᠬᠤᠷᠳᠤᠨ - + Disable touchpad when typing ᠦᠰᠦᠭ ᠱᠢᠪᠡᠬᠦ᠌ ᠦᠶ᠎ᠡ ᠎ᠳᠦ ᠬᠦᠷᠦᠯᠴᠡᠬᠦᠢ ᠡᠵᠡᠮᠱᠢᠯ ᠬᠠᠪᠳᠠᠰᠤ ᠬᠡᠷᠡᠭ᠌ᠯᠡᠬᠦ᠌ ᠎ᠶ᠋ᠢ ᠴᠠᠭᠠᠵᠠᠯᠠᠨ᠎ᠠ + /Touchpad/Disable touchpad when typing - + Touch and click on the touchpad ᠬᠦᠷᠦᠯᠴᠡᠬᠦᠢ ᠡᠵᠡᠮᠱᠢᠯ ᠬᠠᠪᠳᠠᠰᠤ ᠎ᠶ᠋ᠢ ᠬᠦᠩᠬᠡᠨ ᠳᠤᠪᠴᠢᠳᠠᠬᠤ + /Touchpad/Touch and click on the touchpad - + Scroll bar slides with finger ᠦᠩᠬᠦᠷᠢᠬᠦᠯ ᠬᠤᠷᠤᠭᠤ ᠎ᠶ᠋ᠢ ᠳᠠᠭᠠᠵᠤ ᠭᠤᠯᠭᠤᠬᠤ + /Touchpad/Scroll bar slides with finger - + Scrolling area ᠦᠩᠬᠦᠷᠢᠬᠦᠯ ᠎ᠦᠨ ᠬᠦᠷᠢᠶ᠎ᠡ + /Touchpad/Scrolling area - + Two-finger scrolling in the middle area ᠳᠤᠮᠳᠠᠬᠢ ᠪᠦᠰᠡ ᠎ᠳᠦ ᠦᠩᠬᠦᠷᠢᠬᠦ᠌ - + Edge scrolling ᠵᠠᠭᠠᠭ ᠎ᠢᠶᠠᠷ ᠦᠩᠬᠦᠷᠢᠬᠦ᠌ - + Disable scrolling ᠦᠩᠬᠦᠷᠢᠬᠦᠯ ᠎ᠢ ᠴᠠᠭᠠᠵᠠᠯᠠᠬᠤ - + More gesture ᠨᠡᠩ ᠤᠯᠠᠨ ᠭᠠᠷ ᠎ᠤᠨ ᠲᠤᠬᠢᠶ᠎ᠠ + /Touchpad/More gesture gesture diff --git a/src/touchpad-settings/translations/ug_CN.ts b/src/touchpad-settings/translations/ug_CN.ts index d09ce22..31de786 100644 --- a/src/touchpad-settings/translations/ug_CN.ts +++ b/src/touchpad-settings/translations/ug_CN.ts @@ -88,64 +88,71 @@ قول ئىشارىسى - + Disable touchpad when using the mouse مائۇس ئىشلەتكەندە تېگىش تاختىسى ئىشلىتىش مەنئىي قىلىنىدۇ + /Touchpad/Disable touchpad when using the mouse - + Pointer Speed نۇقتا تېزلىكى + /Touchpad/Pointer Speed - + Slow ئاستا - + Fast تاسقاپ - + Disable touchpad when typing خەت ئۇرغاندا سېزىمچانلىق تاختىسى ئىشلىتىش مەنئىي قىلىنىدۇ + /Touchpad/Disable touchpad when typing - + Touch and click on the touchpad touchpad نى چېكىش ۋە چېكىش + /Touchpad/Touch and click on the touchpad - + Scroll bar slides with finger بارماق بىلەن سىيرىلما تاختا سىيرىلما + /Touchpad/Scroll bar slides with finger - + Scrolling area سىيرىلما رايونى + /Touchpad/Scrolling area - + Two-finger scrolling in the middle area ئوتتۇرا رايوندا ئىككى بارماق بىلەن سىيرىلما - + Edge scrolling گىرۋىكىگە سىيرىلما - + Disable scrolling سىيرىلما دىسكىلارنى بىكار قىلىش - + More gesture كۆپ قول ئىشارىسى + /Touchpad/More gesture diff --git a/src/touchpad-settings/translations/zh_CN.ts b/src/touchpad-settings/translations/zh_CN.ts index 909d0b9..308be3f 100644 --- a/src/touchpad-settings/translations/zh_CN.ts +++ b/src/touchpad-settings/translations/zh_CN.ts @@ -94,64 +94,71 @@ 触控板 - + Disable touchpad when using the mouse 插入鼠标时禁用触控板 + /Touchpad/Disable touchpad when using the mouse - + Pointer Speed 指针速度 + /Touchpad/Pointer Speed - + Slow - + Fast - + Disable touchpad when typing 打字时禁用触控板 + /Touchpad/Disable touchpad when typing - + Touch and click on the touchpad 触控板轻触点击 + /Touchpad/Touch and click on the touchpad - + Scroll bar slides with finger 滚动条跟随手指滑动 + /Touchpad/Scroll bar slides with finger - + Scrolling area 滚动区域 + /Touchpad/Scrolling area - + Two-finger scrolling in the middle area 中间区域滚动 - + Edge scrolling 边界滚动 - + Disable scrolling 禁止滚动 - + More gesture 更多手势 + /Touchpad/More gesture gesture diff --git a/src/touchpad-settings/translations/zh_HK.ts b/src/touchpad-settings/translations/zh_HK.ts index 1c20a62..dcbe553 100644 --- a/src/touchpad-settings/translations/zh_HK.ts +++ b/src/touchpad-settings/translations/zh_HK.ts @@ -91,64 +91,71 @@ 觸控板 - + Disable touchpad when using the mouse 插入滑鼠時禁用觸控板 + /Touchpad/Disable touchpad when using the mouse - + Pointer Speed 指標速度 + /Touchpad/Pointer Speed - + Slow - + Fast - + Disable touchpad when typing 打字時禁用觸控板 + /Touchpad/Disable touchpad when typing - + Touch and click on the touchpad 觸控板輕觸點擊 + /Touchpad/Touch and click on the touchpad - + Scroll bar slides with finger 滾動條跟隨手指滑動 + /Touchpad/Scroll bar slides with finger - + Scrolling area 滾動區域 + /Touchpad/Scrolling area - + Two-finger scrolling in the middle area 中間區域滾動 - + Edge scrolling 邊界滾動 - + Disable scrolling 禁止滾動 - + More gesture 更多手勢 + /Touchpad/More gesture gesture diff --git a/src/touchscreen-settings/tabletmodedesktopwidget.cpp b/src/touchscreen-settings/tabletmodedesktopwidget.cpp index 7a58fba..5cc3d06 100644 --- a/src/touchscreen-settings/tabletmodedesktopwidget.cpp +++ b/src/touchscreen-settings/tabletmodedesktopwidget.cpp @@ -82,6 +82,7 @@ void TabletModeDesktopWidget::initButtonGroup() QWidget* TabletModeDesktopWidget::createTabletTextWidget() const { QWidget* tabletTextWidget = new QWidget; + //~ contents_path /TouchScreen/Tablet mode desktop ui QLabel* tabletText = new QLabel(tr("Tablet mode desktop ui")); QHBoxLayout* tabletModeLayout = new QHBoxLayout(tabletTextWidget); diff --git a/src/touchscreen-settings/tabletmodewidget.cpp b/src/touchscreen-settings/tabletmodewidget.cpp index 5a98bc1..89abdc0 100644 --- a/src/touchscreen-settings/tabletmodewidget.cpp +++ b/src/touchscreen-settings/tabletmodewidget.cpp @@ -77,6 +77,7 @@ void TabletModeWidget::initConnect() QWidget* TabletModeWidget::createTabletModeWidget() { QWidget* tabletModeWidget = new QWidget; + //~ contents_path /TouchScreen/Show tablet mode in the sidebar QLabel* tabletModeText = new QLabel(tr("Show tablet mode in the sidebar")); m_tabletModeButton = new kdk::KSwitchButton(tabletModeWidget); m_tabletModeButton->setChecked(getTabletModeEnabled()); diff --git a/src/touchscreen-settings/touchscreen-settings.cpp b/src/touchscreen-settings/touchscreen-settings.cpp index 2f6c56d..4661371 100644 --- a/src/touchscreen-settings/touchscreen-settings.cpp +++ b/src/touchscreen-settings/touchscreen-settings.cpp @@ -112,6 +112,8 @@ QWidget *TouchscreenSettings::pluginUi() QObject::tr("show sidebar"), ":/gif/resources/右边缘左划显示侧边栏.gif") }; + //~ contents_path /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard + tr("Automatically switch tablet mode when plugging and unplugging keyboard"); pluginWidget = new TouchScreen(defaultGestureTypes, tr("Tablet Mode"), tr("Automatically switch tablet mode when plugging and unplugging keyboard")); } } diff --git a/src/touchscreen-settings/touchscreen-settings.pro b/src/touchscreen-settings/touchscreen-settings.pro index e51393e..c817088 100644 --- a/src/touchscreen-settings/touchscreen-settings.pro +++ b/src/touchscreen-settings/touchscreen-settings.pro @@ -63,7 +63,6 @@ TRANSLATIONS += \ translations/mn_MN.ts \ translations/zh_HK.ts \ translations/kk_KZ.ts \ - translations/ug.ts \ translations/ug_CN.ts \ translations/ky_KG.ts \ translations/de_DE.ts \ diff --git a/src/touchscreen-settings/touchscreen-settings.pro.user b/src/touchscreen-settings/touchscreen-settings.pro.user deleted file mode 100644 index 42a3ef9..0000000 --- a/src/touchscreen-settings/touchscreen-settings.pro.user +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - EnvironmentId - {c786f4b4-a93a-4ffb-9bc1-17b98bd89e34} - - - ProjectExplorer.Project.ActiveTarget - 0 - - - ProjectExplorer.Project.EditorSettings - - true - false - true - - Cpp - - CppGlobal - - - - QmlJS - - QmlJSGlobal - - - 2 - UTF-8 - false - 4 - false - 80 - true - true - 1 - true - false - 0 - true - true - 0 - 8 - true - 1 - true - true - true - false - - - - ProjectExplorer.Project.PluginSettings - - - - ProjectExplorer.Project.Target.0 - - 桌面 - 桌面 - {3e16dcd2-56d8-48df-a5da-40e129141a27} - 0 - 0 - 0 - - /home/zhaoshixu/project/gitee/ukui-touch-settings-plugin/src/build-touchscreen-settings-unknown-Debug - - - true - QtProjectManager.QMakeBuildStep - true - - false - false - false - - - true - Qt4ProjectManager.MakeStep - - false - - - false - - 2 - Build - Build - ProjectExplorer.BuildSteps.Build - - - - true - Qt4ProjectManager.MakeStep - - true - clean - - false - - 1 - Clean - Clean - ProjectExplorer.BuildSteps.Clean - - 2 - false - - Debug - Qt4ProjectManager.Qt4BuildConfiguration - 2 - - - /home/zhaoshixu/project/gitee/ukui-touch-settings-plugin/src/build-touchscreen-settings-unknown-Release - - - true - QtProjectManager.QMakeBuildStep - false - - false - false - true - - - true - Qt4ProjectManager.MakeStep - - false - - - false - - 2 - Build - Build - ProjectExplorer.BuildSteps.Build - - - - true - Qt4ProjectManager.MakeStep - - true - clean - - false - - 1 - Clean - Clean - ProjectExplorer.BuildSteps.Clean - - 2 - false - - Release - Qt4ProjectManager.Qt4BuildConfiguration - 0 - - - /home/zhaoshixu/project/gitee/ukui-touch-settings-plugin/src/build-touchscreen-settings-unknown-Profile - - - true - QtProjectManager.QMakeBuildStep - true - - false - true - true - - - true - Qt4ProjectManager.MakeStep - - false - - - false - - 2 - Build - Build - ProjectExplorer.BuildSteps.Build - - - - true - Qt4ProjectManager.MakeStep - - true - clean - - false - - 1 - Clean - Clean - ProjectExplorer.BuildSteps.Clean - - 2 - false - - Profile - Qt4ProjectManager.Qt4BuildConfiguration - 0 - - 3 - - - 0 - Deploy - Deploy - ProjectExplorer.BuildSteps.Deploy - - 1 - ProjectExplorer.DefaultDeployConfiguration - - 1 - - - dwarf - - cpu-cycles - - - 250 - - -e - cpu-cycles - --call-graph - dwarf,4096 - -F - 250 - - -F - true - 4096 - false - false - 1000 - - true - - false - false - false - false - true - 0.01 - 10 - true - kcachegrind - 1 - 25 - - 1 - true - false - true - valgrind - - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - - 2 - - - ProjectExplorer.CustomExecutableRunConfiguration - - - false - - false - true - false - false - true - - - - 1 - - - - ProjectExplorer.Project.TargetCount - 1 - - - ProjectExplorer.Project.Updater.FileVersion - 22 - - - Version - 22 - - diff --git a/src/touchscreen-settings/touchscreen.cpp b/src/touchscreen-settings/touchscreen.cpp index 772e2d5..b30d5ec 100644 --- a/src/touchscreen-settings/touchscreen.cpp +++ b/src/touchscreen-settings/touchscreen.cpp @@ -106,12 +106,10 @@ QList TouchScreen::createGestureWidgets() void TouchScreen::initUI() { - //~ contents_path /TouchScreen/touchscreen gesture - ui->touchscreen_label->setText(tr("Touchscreen gesture")); //~ contents_path /TouchScreen/more gesture ui->moreGestureButton->setText(tr("More gesture")); - //~ contents_path /TouchScreen/Tablet Mode ui->switchTablet_label->setText(m_modeTypeText); + ui->touchscreen_label->setText(tr("Touchscreen gesture")); TabletModeWidget* tabletModeWidget = new TabletModeWidget; ui->verticalLayout->insertWidget(2, tabletModeWidget); diff --git a/src/touchscreen-settings/translations/bo_CN.ts b/src/touchscreen-settings/translations/bo_CN.ts index 49d860b..2d61514 100644 --- a/src/touchscreen-settings/translations/bo_CN.ts +++ b/src/touchscreen-settings/translations/bo_CN.ts @@ -71,6 +71,7 @@ Tablet mode desktop ui + /TouchScreen/Tablet mode desktop ui @@ -78,6 +79,7 @@ Show tablet mode in the sidebar + /TouchScreen/Show tablet mode in the sidebar Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature @@ -101,7 +103,6 @@ touchscreen gesture ལག་ཐོགས་ཁ་པར་གྱི་ལག་བརྡ། - /TouchScreen/touchscreen gesture more gesture @@ -155,7 +156,6 @@ Max Tablet Mode ངོས་སྙོམས་དཔེ་དབྱིབས་ཆེན་པོ། - /TouchScreen/Tablet Mode auto switch max tablet mode @@ -164,7 +164,6 @@ Touchscreen gesture ལག་ཐོགས་ཁ་པར་གྱི་ལག་བརྡ། - /TouchScreen/touchscreen gesture More gesture @@ -209,6 +208,7 @@ Automatically switch tablet mode when plugging and unplugging keyboard + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard MaxTablet And TouchScreen diff --git a/src/touchscreen-settings/translations/de_DE.ts b/src/touchscreen-settings/translations/de_DE.ts index 155603d..78378d4 100644 --- a/src/touchscreen-settings/translations/de_DE.ts +++ b/src/touchscreen-settings/translations/de_DE.ts @@ -89,20 +89,22 @@ - + Tablet mode desktop ui + /TouchScreen/Tablet mode desktop ui TabletModeWidget - + Show tablet mode in the sidebar + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature @@ -192,13 +194,12 @@ Wechseln von Fenstern - + Touchscreen gesture Touchscreen-Geste - /TouchScreen/touchscreen gesture - + More gesture Mehr Geste /TouchScreen/more gesture @@ -256,14 +257,16 @@ Automatisches Umschalten zwischen dem Großbildmodus - + Tablet Mode Tablet-Modus - + + Automatically switch tablet mode when plugging and unplugging keyboard + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard auto switch tablet mode diff --git a/src/touchscreen-settings/translations/es_ES.ts b/src/touchscreen-settings/translations/es_ES.ts index 29c1455..2b94e37 100644 --- a/src/touchscreen-settings/translations/es_ES.ts +++ b/src/touchscreen-settings/translations/es_ES.ts @@ -89,20 +89,22 @@ - + Tablet mode desktop ui + /TouchScreen/Tablet mode desktop ui TabletModeWidget - + Show tablet mode in the sidebar + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature @@ -192,13 +194,12 @@ Cambiar de ventana - + Touchscreen gesture Gesto de la pantalla táctil - /TouchScreen/touchscreen gesture - + More gesture Más gesto /TouchScreen/more gesture @@ -256,14 +257,16 @@ Cambiar automáticamente entre el modo de pantalla grande - + Tablet Mode Modo tableta - + + Automatically switch tablet mode when plugging and unplugging keyboard + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard auto switch tablet mode diff --git a/src/touchscreen-settings/translations/fr_FR.ts b/src/touchscreen-settings/translations/fr_FR.ts index 9412ce4..49e4db2 100644 --- a/src/touchscreen-settings/translations/fr_FR.ts +++ b/src/touchscreen-settings/translations/fr_FR.ts @@ -89,20 +89,22 @@ - + Tablet mode desktop ui + /TouchScreen/Tablet mode desktop ui TabletModeWidget - + Show tablet mode in the sidebar + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature @@ -192,13 +194,12 @@ Changer de fenêtre - + Touchscreen gesture Geste sur l’écran tactile - /TouchScreen/touchscreen gesture - + More gesture Plus de gestes /TouchScreen/more gesture @@ -256,14 +257,16 @@ Basculez automatiquement entre le mode grand écran - + Tablet Mode Mode tablette - + + Automatically switch tablet mode when plugging and unplugging keyboard + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard auto switch tablet mode diff --git a/src/touchscreen-settings/translations/kk_KZ.ts b/src/touchscreen-settings/translations/kk_KZ.ts index b884c00..ee5fd9b 100644 --- a/src/touchscreen-settings/translations/kk_KZ.ts +++ b/src/touchscreen-settings/translations/kk_KZ.ts @@ -90,20 +90,22 @@ MaxTablet - + Tablet mode desktop ui تاقتا فورمالىق ۇستەل بەتى ui + /TouchScreen/Tablet mode desktop ui TabletModeWidget - + Show tablet mode in the sidebar يانبالداقتا بىركەلكى تاقتا كۇيىن كورسەتەدى + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature كەزەكتە بىركەلكى تاقتالٸق كۇيدە، نۇ قىزىمەتىن قوزعالتۋ ٷشٸن جان بالداقتىكى تاقتا كومپيۋتەر كۇيىن قۇلىپتاپ ەت @@ -131,13 +133,12 @@ بەلگى2 - + Touchscreen gesture سەزىمتال ەكٸران قۇل يشارا - /TouchScreen/touchscreen gesture - + More gesture كوپ قۇل يشاراتى /TouchScreen/more gesture @@ -187,14 +188,16 @@ ۇلكەن ەكٸران كۇيىن اۆتوماتتى سايكەستىرۋ - + Tablet Mode بىركەلكى تاقتا كۇيى - + + Automatically switch tablet mode when plugging and unplugging keyboard كىنوپكا تاقتاسٸن چاتقاندا اۆتوماتتى قالدا تاقتا كومپيۋتەر بەينەسىنە الماسۋ + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard auto switch tablet mode diff --git a/src/touchscreen-settings/translations/ky_KG.ts b/src/touchscreen-settings/translations/ky_KG.ts index 3d87cc1..ef8c0b4 100644 --- a/src/touchscreen-settings/translations/ky_KG.ts +++ b/src/touchscreen-settings/translations/ky_KG.ts @@ -89,20 +89,22 @@ MaxTablet - + Tablet mode desktop ui تاقتا كەبەتەلۉۉ شىرە بەتى ui + /TouchScreen/Tablet mode desktop ui TabletModeWidget - + Show tablet mode in the sidebar يانبالداقتا بىردەي تاقتا ابالىن كۅرسۅتۅت + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature گەزەكتە بىردەي تاقتالىق ابالدا، بۇل قۇرباتىن قوزعوتۇۇ ۉچۉن ۇقۇق ،امال بالداقتىكى تاقتا كومپىيۇتەر ابالىن ەتىپ جىبەرىڭ @@ -130,13 +132,12 @@ بەلگە 2 - + Touchscreen gesture سەزىمتال ەكىران قول ئىشارىتى - /TouchScreen/touchscreen gesture - + More gesture كۅپ قول ئىشارىسى /TouchScreen/more gesture @@ -186,14 +187,16 @@ چوڭ ەكىران ابالىن اپتوماتتىك الماشتىرۇۇ - + Tablet Mode بىردەي تاقتا ابالى - + + Automatically switch tablet mode when plugging and unplugging keyboard كۇنۇپكا تاقتاسىن چاتقاندا اپتوماتتىك ابالدا تاقتا كومپىيۇتەر ابالىنا الماشۇۇ + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard auto switch tablet mode diff --git a/src/touchscreen-settings/translations/mn_MN.ts b/src/touchscreen-settings/translations/mn_MN.ts index 12ae0bd..8bd8943 100644 --- a/src/touchscreen-settings/translations/mn_MN.ts +++ b/src/touchscreen-settings/translations/mn_MN.ts @@ -89,20 +89,22 @@ - + Tablet mode desktop ui + /TouchScreen/Tablet mode desktop ui TabletModeWidget - + Show tablet mode in the sidebar + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature @@ -133,7 +135,6 @@ touchscreen gesture 触摸屏手势 ᠬᠦᠷᠦᠯᠴᠡᠬᠦᠢ ᠳᠡᠯᠬᠡᠴᠡ ᠎ᠶ᠋ᠢᠨ ᠭᠠᠷ ᠎ᠤᠨ ᠲᠤᠬᠢᠶ᠎ᠠ - /TouchScreen/touchscreen gesture more gesture @@ -192,13 +193,12 @@ ᠨᠡᠬᠡᠬᠡᠭ᠌ᠰᠡᠨ ᠴᠤᠩᠬᠤᠨ ᠎ᠤ ᠬᠤᠭᠤᠷᠤᠨᠳᠤ ᠰᠤᠯᠢᠬᠤ - + Touchscreen gesture ᠬᠦᠷᠦᠯᠴᠡᠬᠦᠢ ᠳᠡᠯᠬᠡᠴᠡ ᠎ᠶ᠋ᠢᠨ ᠭᠠᠷ ᠎ᠤᠨ ᠲᠤᠬᠢᠶ᠎ᠠ - /TouchScreen/touchscreen gesture - + More gesture ᠨᠡᠩ ᠤᠯᠠᠨ ᠭᠠᠷ ᠎ᠤᠨ ᠲᠤᠬᠢᠶ᠎ᠠ /TouchScreen/more gesture @@ -248,14 +248,16 @@ - + Tablet Mode ᠬᠠᠪᠲᠠᠭᠠᠢ ᠬᠠᠪᠲᠠᠭᠠᠢ ᠵᠠᠭᠪᠤᠷ - + + Automatically switch tablet mode when plugging and unplugging keyboard + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard diff --git a/src/touchscreen-settings/translations/ug_CN.ts b/src/touchscreen-settings/translations/ug_CN.ts index 9d55e51..6c847dc 100644 --- a/src/touchscreen-settings/translations/ug_CN.ts +++ b/src/touchscreen-settings/translations/ug_CN.ts @@ -97,9 +97,10 @@ MaxTablet - + Tablet mode desktop ui تاختا شەكىللىك ئۈستەل يۈزى ui + /TouchScreen/Tablet mode desktop ui @@ -125,12 +126,13 @@ 在侧边栏隐藏“平板模式” - + Show tablet mode in the sidebar يانبالداقتا تەكشى تاختا ھالىتىنى كۆرسىتىدۇ + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature نۆۋەتتە تەكشى تاختىلىق ھالەتتە، بۇ ئىقتىدارنى قوزغىتىش ئۈچۈن يان بالداقتىكى تاختا كومپيۇتېر ھالىتىنى ئېتىۋېتىڭ @@ -161,13 +163,11 @@ touchscreen gesture 触摸屏手势 触摸屏手势 - /TouchScreen/touchscreen gesture more gesture 更多手势 更多手势 - /TouchScreen/more gesture Tablet Mode @@ -190,7 +190,6 @@ Max Tablet Mode 大屏模式 - /TouchScreen/Tablet Mode auto switch max tablet mode @@ -237,14 +236,13 @@ 在打开的窗口之间切换 - + Touchscreen gesture 触摸屏手势 سېزىمچان ئېكران قول ئىشارىتى - /TouchScreen/touchscreen gesture - + More gesture 更多手势 كۆپ قول ئىشارىسى @@ -313,14 +311,16 @@ چوڭ ئېكران ھالىتىنى ئاپتوماتىك ئالماشتۇرۇش - + Tablet Mode تەكشى تاختا ھالىتى - + + Automatically switch tablet mode when plugging and unplugging keyboard كۇنۇپكا تاختىسىنى چاتقاندا ئاپتوماتىك ھالدا تاختا كومپيۇتېر ھالىتىگە ئالمىشىش + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard auto switch tablet mode diff --git a/src/touchscreen-settings/translations/zh_CN.ts b/src/touchscreen-settings/translations/zh_CN.ts index 470ddbb..79803d9 100644 --- a/src/touchscreen-settings/translations/zh_CN.ts +++ b/src/touchscreen-settings/translations/zh_CN.ts @@ -97,9 +97,10 @@ - + Tablet mode desktop ui 平板模式桌面UI + /TouchScreen/Tablet mode desktop ui @@ -125,12 +126,13 @@ 在侧边栏隐藏“平板模式” - + Show tablet mode in the sidebar 在侧边栏显示“平板模式” + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature 当前为平板模式,请在侧边栏关闭“平板模式”以激活此功能 @@ -161,7 +163,6 @@ touchscreen gesture 触摸屏手势 触摸屏手势 - /TouchScreen/touchscreen gesture more gesture @@ -190,7 +191,6 @@ Max Tablet Mode 大屏模式 - /TouchScreen/Tablet Mode auto switch max tablet mode @@ -237,14 +237,13 @@ 在打开的窗口之间切换 - + Touchscreen gesture 触摸屏手势 触摸屏手势 - /TouchScreen/touchscreen gesture - + More gesture 更多手势 更多手势 @@ -313,14 +312,16 @@ 自动切换大屏模式 - + Tablet Mode 平板模式 - + + Automatically switch tablet mode when plugging and unplugging keyboard 插拔键盘时自动切换平板模式 + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard auto switch tablet mode diff --git a/src/touchscreen-settings/translations/zh_HK.ts b/src/touchscreen-settings/translations/zh_HK.ts index 9bfc103..911290c 100644 --- a/src/touchscreen-settings/translations/zh_HK.ts +++ b/src/touchscreen-settings/translations/zh_HK.ts @@ -89,20 +89,22 @@ - + Tablet mode desktop ui + /TouchScreen/Tablet mode desktop ui TabletModeWidget - + Show tablet mode in the sidebar + /TouchScreen/Show tablet mode in the sidebar - + Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature @@ -133,7 +135,6 @@ touchscreen gesture 触摸屏手势 觸摸屏手勢 - /TouchScreen/touchscreen gesture more gesture @@ -192,13 +193,12 @@ 在打開的視窗之間切換 - + Touchscreen gesture 觸摸屏手勢 - /TouchScreen/touchscreen gesture - + More gesture 更多手勢 /TouchScreen/more gesture @@ -256,14 +256,16 @@ - + Tablet Mode 平板模式 - + + Automatically switch tablet mode when plugging and unplugging keyboard + /TouchScreen/Automatically switch tablet mode when plugging and unplugging keyboard