diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 378eac2..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -build diff --git a/AUTHORS b/AUTHORS index 2e08378..a21771a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -4,7 +4,7 @@ Upstream Authors: Copyright: Copyright (c) 2010-2012 Razor team - Copyright (c) 2012-2014 LXQt team + Copyright (c) 2012-2016 LXQt team License: GPL-2 and LGPL-2.1+ The full text of the licenses can be found in the 'LICENSE' file. diff --git a/CMakeLists.txt b/CMakeLists.txt index 883d584..7c893be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,12 @@ project(lxqt-config) set(LXQT_CONFIG_PROJECT "${PROJECT_NAME}") option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF) +option(WITH_INPUT "Build the 'lxqt-config-input'" ON) +option(WITH_FILE_ASSOCIATIONS "Build the 'lxqt-config-file-associations'" ON) +option(WITH_APPEARANCE "Build the 'lxqt-config-appearance'" ON) +option(WITH_MONITOR "Build the 'lxqt-config-monitor'" ON) +option(WITH_BRIGHTNESS "Build the 'lxqt-config-brightness'" ON) +option(WITH_LOCALE "Build the 'lxqt-config-locale'" ON) include(GNUInstallDirs) @@ -25,12 +31,27 @@ include(LXQtCompilerSettings NO_POLICY_SCOPE) include(LXQtTranslate) add_subdirectory(src) -add_subdirectory(liblxqt-config-cursor) -add_subdirectory(lxqt-config-input) -add_subdirectory(lxqt-config-file-associations) -add_subdirectory(lxqt-config-appearance) -add_subdirectory(lxqt-config-monitor) -add_subdirectory(lxqt-config-locale) +if (WITH_INPUT OR WITH_APPEARANCE) + add_subdirectory(liblxqt-config-cursor) +endif() +if (WITH_INPUT) + add_subdirectory(lxqt-config-input) +endif() +if (WITH_FILE_ASSOCIATIONS) + add_subdirectory(lxqt-config-file-associations) +endif() +if (WITH_APPEARANCE) + add_subdirectory(lxqt-config-appearance) +endif() +if (WITH_MONITOR) + add_subdirectory(lxqt-config-monitor) +endif() +if (WITH_BRIGHTNESS) + add_subdirectory(lxqt-config-brightness) +endif() +if (WITH_LOCALE) + add_subdirectory(lxqt-config-locale) +endif() # building tarball with CPack ------------------------------------------------- include(InstallRequiredSystemLibraries) diff --git a/README.md b/README.md new file mode 100644 index 0000000..fb0cc1f --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +## lxqt-config + +This repository is providing several tools involved in the configuration of both LXQt and the underlying operating +system. + +It is comprising several tiny GUIs meant to configure a distinct functionality of LXQt that is stated in their title +bar and can be derived from the binary name as well. +E. g. there's a GUI "LXQt Appearance Configuration", binary `lxqt-config-appearance`, that can be used to configure +the general appearance of LXQt, namely stuff like icon and LXQt theme or fonts. + +![lxqt-config-appearance](lxqt-config-appearance.png) + +The "Monitor Settings", binary `lxqt-config-monitor`, allow for adjusting screen resolutions, positioning of screens +and the likes. + +![lxqt-config-monitor](lxqt-config-monitor.png) + +In "LXQt Session Settings", binary `lxqt-config-session` topics affecting the LXQt session itself can be configured, e. g. +applications to be launched at the beginning or dedicated directories according to +[xdg-user-dirs](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/). + +![lxqt-config-session](lxqt-config-session.png) + +The other main component is the so-called "Configuration Center", binary `lxqt-config`. +It's a GUI hosting configuration tools like the ones mentioned above but not limited to those. Several other LXQt +components like [lxqt-notificationd](https://github.com/lxde/lxqt-notificationd) come with their own configuration GUIs +which are placed in the "Configuration Center" as well. [lxqt-admin](https://github.com/lxde/lxqt-admin) is providing tools +similar to those depicted above but meant to configure parts of the underlying OS. In fact any arbitrary application may +place its tools within the "Configuration Center". This can be seen in the following screenshot where it's featuring icon +"Connman UI Setup" which belongs to [cmst](https://github.com/andrew-bibb/cmst) and "SDDM Configuration" which belongs to +[sddm-config-editor](https://github.com/hagabaka/sddm-config-editor). + +![lxqt-config](lxqt-config.png) diff --git a/debian/changelog b/debian/changelog index 2328c0f..a338049 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ -lxqt-config (0.10.0-4) UNRELEASED; urgency=medium +lxqt-config (0.10.96~62-g80c413c-1) experimental; urgency=medium + * Cherry-picking upstream version 0.10.96~62-g80c413c. * Preparing the upcoming release, switch to experimental * Fixed .gititgnore, added build-stamp * Added build-depenedency libqt5xdgiconloader-dev @@ -14,7 +15,7 @@ lxqt-config (0.10.0-4) UNRELEASED; urgency=medium * Added translation control * Added DCMAKE_BUILD_TYPE=RelWithDebInfo - -- Alf Gaida Fri, 15 Jul 2016 19:00:33 +0200 + -- Alf Gaida Fri, 15 Jul 2016 20:27:58 +0200 lxqt-config (0.10.0-3) unstable; urgency=medium diff --git a/liblxqt-config-cursor/CMakeLists.txt b/liblxqt-config-cursor/CMakeLists.txt index c09b93a..51883f8 100644 --- a/liblxqt-config-cursor/CMakeLists.txt +++ b/liblxqt-config-cursor/CMakeLists.txt @@ -52,6 +52,16 @@ lxqt_translate_ts(QM_FILES ${lxqt-config-cursor_UIS} INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} + REPO_SUBDIR + "lxqt-config/liblxqt-config-cursor" ) lxqt_app_translation_loader(lxqt-config-cursor_QM_LOADER ${PROJECT_NAME}) diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor.ts deleted file mode 100644 index d779815..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor.ts +++ /dev/null @@ -1,68 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - - - - - &Install New Theme... - - - - - &Remove Theme - - - - - XCurTheme error - - - - - You can't remove active theme! - - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - - - - - Description - - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_ar.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_ar.ts deleted file mode 100644 index 66801ce..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_ar.ts +++ /dev/null @@ -1,77 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - اعداد شكل فأرة سطح ريزر - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - اختر سكل المؤشِّر الذي تريد استخدامه (مرر المؤشِّر متخطيَّاً لمعاينته). -<b>يجب إعادة تشغيل جلسة سطح ريزر بعد هذا التَّغيير</b> - - - - &Install New Theme... - تث&بيت واجهةٍ شكليَّةٍ جديدةٍ... - - - &Set Theme - ت^عيين الواجهة الشَّكليَّة - - - - &Remove Theme - إ&زالة الواجهة الشَّكليَّة - - - &Close - إ&غلاق - - - - XCurTheme error - خطأٌ في الواجهة الشَّكليَّة للمؤشر الرسوميّ - - - - You can't remove active theme! - ﻻ يمكنك إزالة واجهةٍ مفعَّلةٍ - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - الاسم - - - - Description - الوصف - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_cs.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_cs.ts deleted file mode 100644 index b5ba3f4..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_cs.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Nastavení motivu myši - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Vyberte motiv ukazovátka, jejž chcete používat (přejeďte myší nad náhledem kvůli vyzkoušení ukazovátka). <b>Sezení LXQt je potřeba po této změně spustit znovu</b>: - - - - &Install New Theme... - Na&instalovat nový motiv... - - - &Set Theme - &Nastavit motiv - - - - &Remove Theme - &Odstranit motiv - - - &Close - &Zavřít - - - - XCurTheme error - Chyba XCurTheme - - - - You can't remove active theme! - Nemůžete odstranit právě nastavený motiv - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Název - - - - Description - Popis - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_cs_CZ.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_cs_CZ.ts deleted file mode 100644 index 0810ca2..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_cs_CZ.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Nastavení motivu myši - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Vyberte motiv ukazovátka, jejž chcete používat (přejeďte myší nad náhledem kvůli vyzkoušení ukazovátka). <b>Sezení LXQt je potřeba po této změně spustit znovu</b>: - - - - &Install New Theme... - Na&instalovat nový motiv... - - - &Set Theme - &Nastavit motiv - - - - &Remove Theme - &Odstranit motiv - - - &Close - &Zavřít - - - - XCurTheme error - Chyba XCurTheme - - - - You can't remove active theme! - Nemůžete odstranit právě nastavený motiv - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Název - - - - Description - Popis - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_da_DK.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_da_DK.ts deleted file mode 100644 index 2b42a95..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_da_DK.ts +++ /dev/null @@ -1,77 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQt Musemarkør Tema Indstillinger - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Vælg det markør tema, du vil bruge (forhåndsvisning for at teste markør). -<b> LXQt session skal genstartes efter denne ændring </ b>: - - - - &Install New Theme... - &Installer Nyt Tema... - - - &Set Theme - &Sæt Tema - - - - &Remove Theme - &Fjern Tema - - - &Close - &Afslut - - - - XCurTheme error - XCurTheme fejl - - - - You can't remove active theme! - Det aktive tema kan ikke fjernes! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Navn - - - - Description - Beskrivelse - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_de.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_de.ts deleted file mode 100644 index 25a4d49..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_de.ts +++ /dev/null @@ -1,69 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQt Mauszeigerdesign Konfiguration - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Wähle das gewünschte Mauszeigerdesign aus (zum Test Maus über Vorschau bewegen) -<b>Die LXQt-Sitzung muss nach dieser Veränderung neu gestartet werden</b>: - - - - &Install New Theme... - &Neues Design installieren... - - - - &Remove Theme - D&esign entfernen - - - - XCurTheme error - XcurTheme Fehler - - - - You can't remove active theme! - Das aktive Design kann nicht entfernt werden! - - - - WarningLabel - - - Form - Dialogfenster - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - LXQt konnte kein Mauszeigerdesign finden. Stattdessen wird das Default-Mauszeigerdesign von X11 verwendet. LXQt suchte in folgenden Verzeichnissen: - - - - Show... - Anzeigen... - - - - XCursorThemeModel - - - Name - Name - - - - Description - Beschreibung - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_el.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_el.ts deleted file mode 100644 index 31fb306..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_el.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Διαμόρφωση θέματος ποντικιού LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Επιλέξτε το θέμα του δρομέα που θέλετε να χρησιμοποιήσετε (κινηθείτε επάνω για προεπισκόπηση). <b>Χρειάζεται επανεκκίνηση της συνεδρίας LXQt μετά την αλλαγή</b>: - - - - &Install New Theme... - &Εγκατάσταση νέου θέματος... - - - &Set Theme - Ε&πιλογή θέματος - - - - &Remove Theme - &Αφαίρεση θέματος - - - &Close - &Κλείσιμο - - - - XCurTheme error - Σφάλμα του θέματος δρομέα X - - - - You can't remove active theme! - Δεν μπορείτε να αφαιρέσετε το ενεργό θέμα! - - - - WarningLabel - - - Form - Παράθυρο διαλόγου - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - Το LXQt δεν μπόρεσε να βρει κάποιο θέμα δρομέα. Θα χρησιμοποιηθεί ο εξ ορισμού δρομέας X11. Το LXQt έψαξε στους παρακάτω καταλόγους: - - - - Show... - Εμφάνιση... - - - - XCursorThemeModel - - - Name - Όνομα - - - - Description - Περιγραφή - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_eo.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_eo.ts deleted file mode 100644 index 4ca3d1b..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_eo.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Agordoj de etosoj de muso de LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Elektu la etoson de kursoro, kiun vi volas uzi (ŝveba antaŭrigardo por testi kursoron). <b>Seanco de LXQt postulas restartigon post ol ĉi tiu ŝanĝo</b>: - - - - &Install New Theme... - &Instali novan etoson... - - - &Set Theme - Agordi eto&son - - - - &Remove Theme - Fo&rigi etoson - - - &Close - &Fermi - - - - XCurTheme error - Eraro de XCurTheme - - - - You can't remove active theme! - Vi ne povas forigi aktivan etoson! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Nomo - - - - Description - Priskribo - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_es.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_es.ts deleted file mode 100644 index 5cf9e72..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_es.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Configuración de LXQt para el Tema del Ratón - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Seleccione el tema del cursor que desea utilizar (pase el cursor para una vista previa). <b>LXQt necesita reiniciar la sesión después de este cambio </ b>: - - - - &Install New Theme... - &Instalar Nuevo Tema... - - - &Set Theme - &Establecer Tema - - - - &Remove Theme - &Quitar Tema - - - &Close - &Cerrar - - - - XCurTheme error - Error en XCurTheme - - - - You can't remove active theme! - ¡No puedes quitar el tema activo! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Nombre - - - - Description - Descripción - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_es_VE.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_es_VE.ts deleted file mode 100644 index a9361e2..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_es_VE.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Configuracion de tema de raton de LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Selecciona el cursor del raton que tu desees usar (colocalo encima para ver una previsualizacion) <b>La sesion de LXQt necesita reinicializarse despues de un cambio</b> - - - - &Install New Theme... - &Instalar nuevo tema - - - &Set Theme - A&Signar el tema - - - - &Remove Theme - &Remover el tema - - - &Close - &Cerrar - - - - XCurTheme error - XCurTheme error - - - - You can't remove active theme! - No puedes remover el tema activo! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Nombre - - - - Description - Descripcion - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_eu.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_eu.ts deleted file mode 100644 index 425889b..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_eu.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQt saguaren gaiaren konfigurazioa - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Hautatu erabili nahi duzun kurtsore-gaia (nabarmendu aurrebista kurtsorea probatzeko). <b>LXQt saioa berrabiarazi behar da aldaketa honen ondoren</b>: - - - - &Install New Theme... - &Instalatu gai berria... - - - &Set Theme - &Ezarri gaia - - - - &Remove Theme - &Kendu gaia - - - &Close - &Itxi - - - - XCurTheme error - XCurTheme errorea - - - - You can't remove active theme! - Ezin duzu gai aktiboa kendu! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Izena - - - - Description - Deskribapena - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_fi.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_fi.ts deleted file mode 100644 index 207b1c1..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_fi.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQtin hiiriteeman asetukset - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Valitse haluamasi osoitinteema (käytä esikatselua testataksesi osoitinteemaa). <b>LXQt-istunto tulee käynnistää uudelleen tämän muutoksen jälkeen</b>: - - - - &Install New Theme... - &Asenna uusi teema... - - - &Set Theme - Aseta &teema - - - - &Remove Theme - &Poista teema - - - &Close - &Sulje - - - - XCurTheme error - XCurTheme-virhe - - - - You can't remove active theme! - Käytössä olevaa teemaa ei voi poistaa! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Nimi - - - - Description - Kuvaus - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_fr_FR.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_fr_FR.ts deleted file mode 100644 index f1b23e8..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_fr_FR.ts +++ /dev/null @@ -1,72 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - - - - - &Install New Theme... - - - - - &Remove Theme - - - - &Close - &Fermer - - - - XCurTheme error - - - - - You can't remove active theme! - - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - - - - - Description - - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_hu.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_hu.ts deleted file mode 100644 index 65a3397..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_hu.ts +++ /dev/null @@ -1,72 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQt egértéma - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - A kívánt kurzortéma (előzetesen látható). <b>Érvénybeléptetéshez az LXQt munkamenet újraindíttandó</b>: - - - - &Install New Theme... - &Új téma telepítése... - - - - &Remove Theme - Téma kiny&írása - - - &Close - &Bezárás - - - - XCurTheme error - Témahiba - - - - You can't remove active theme! - Az aktuális téma eltávolíthatatlan! - - - - WarningLabel - - - Form - Ürlap - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - Az LXQt nem lelt kurzor témát, az alapértelmezett lesz használva. Ezekben a mappákban kereste: - - - - Show... - Mutat... - - - - XCursorThemeModel - - - Name - Név - - - - Description - Leírás - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_hu_HU.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_hu_HU.ts deleted file mode 100644 index 83f60ea..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_hu_HU.ts +++ /dev/null @@ -1,72 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQt egértéma - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - A kívánt kurzortéma (előzetesen látható). <b>Érvénybeléptetéshez az LXQt munkamenet újraindíttandó</b>: - - - - &Install New Theme... - &Új téma telepítése... - - - - &Remove Theme - Téma kiny&írása - - - &Close - &Bezárás - - - - XCurTheme error - Témahiba - - - - You can't remove active theme! - Az aktuális téma eltávolíthatatlan! - - - - WarningLabel - - - Form - Űrlap - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - Az LXQt nem lelt kurzor témát, az alapértelmezett lesz használva. Ezekben a mappákban kereste: - - - - Show... - Mutat... - - - - XCursorThemeModel - - - Name - Név - - - - Description - Leírás - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_it.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_it.ts deleted file mode 100644 index 54e4b19..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_it.ts +++ /dev/null @@ -1,78 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Configurazione del aspetto del cursore - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - hover seems not working, and restart seems not necessary to take effect - Seleziona il tema del cursore che vuoi utilizzare - - - - &Install New Theme... - & to remove in source - Installa un nuovo tema... - - - &Set Theme - &Imposta il tema - - - - &Remove Theme - Rimuovi il tema - - - &Close - &Chiudi - - - - XCurTheme error - Errore tema X-cursore - - - - You can't remove active theme! - Non puoi rimuovere il tema attivo! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - LXQt non ha trovato nessun tema per i cursori in queste directories: (Verrà usato il tema di default di X11): - - - - Show... - Mostra... - - - - XCursorThemeModel - - - Name - Nome - - - - Description - Descrizione - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_ja.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_ja.ts deleted file mode 100644 index 4d3e4df..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_ja.ts +++ /dev/null @@ -1,68 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQtマウステーマの設定 - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - 使いたいカーソルテーマを選択 (プレビューをテストカーソルに合わせます). <b>LXQtセッションはこの変更後に再起動が必要です</b>: - - - - &Install New Theme... - 新しいテーマのインストール...(&I) - - - - &Remove Theme - テーマの削除(&R) - - - - XCurTheme error - XCurTheme エラー - - - - You can't remove active theme! - アクティブなテーマは削除できません! - - - - WarningLabel - - - Form - フォーム - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - カーソルテーマを見つけられませんでした。代わりに、デフォルトのX11カーソルテーマが使われます。LXQtは以下のディレクトリーを検索しました: - - - - Show... - 表示 - - - - XCursorThemeModel - - - Name - 名称 - - - - Description - 説明 - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_lt.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_lt.ts deleted file mode 100644 index 2fb22ee..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_lt.ts +++ /dev/null @@ -1,72 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - - - - - &Install New Theme... - - - - - &Remove Theme - - - - &Close - &Užverti - - - - XCurTheme error - - - - - You can't remove active theme! - - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - - - - - Description - - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_nl.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_nl.ts deleted file mode 100644 index a6fd2e4..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_nl.ts +++ /dev/null @@ -1,72 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - - - - - &Install New Theme... - - - - - &Remove Theme - - - - &Close - &Sluiten - - - - XCurTheme error - - - - - You can't remove active theme! - - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - - - - - Description - - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_pl_PL.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_pl_PL.ts deleted file mode 100644 index 11fa272..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_pl_PL.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Wygląd kursora - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Wybierz motyw kursora (najedz kursorem na podgląd by przetestować). <b>Wymagane jest ponowne uruchomienie sesji</b>: - - - - &Install New Theme... - &Zainstaluj Nowy Motyw... - - - &Set Theme - &Wybierz Motyw - - - - &Remove Theme - &Usuń Motyw - - - &Close - &Zamknij - - - - XCurTheme error - Błąd XCurTheme - - - - You can't remove active theme! - Nie możesz usunąć aktywnego motywu! - - - - WarningLabel - - - Form - Uwaga - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - Nie znaleziono żadnego motywu kursora. Zostanie użyty domyślny motyw kursora X11. LXQt wyszukiwało w następujących katalogach: - - - - Show... - Pokaż... - - - - XCursorThemeModel - - - Name - Nazwa - - - - Description - Opis - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_pt.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_pt.ts deleted file mode 100644 index 85d357e..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_pt.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Definições do tema de cursor do LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Escolha o tema de cursor a utilizar (passe com o rato para testar). <b>Tem que reiniciar o LXQt a sessão após a alteração</b>: - - - - &Install New Theme... - &Instalar novo tema... - - - &Set Theme - &Definir tema - - - - &Remove Theme - &Remover tema - - - &Close - Fe&char - - - - XCurTheme error - Erro XCurTheme - - - - You can't remove active theme! - Não pode remover o tema ativo! - - - - WarningLabel - - - Form - Formulário - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - O LXQt não encontrou quaisquer temas de cursor. Será utilizado o tema de cursor X11. O LXQt procurou nestes diretórios: - - - - Show... - Mostrar... - - - - XCursorThemeModel - - - Name - Nome - - - - Description - Descrição - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_pt_BR.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_pt_BR.ts deleted file mode 100644 index fab8d98..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_pt_BR.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Configuração Do Tema Do Mouse - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Selecione o tema do cursor que você deseja usar (pairar visualização para testar o cursor). <b>A sessão LXQt precisa reiniciar após esta mudança</b>: - - - - &Install New Theme... - &Instalar Novo Tema... - - - &Set Theme - &Definir Tema - - - - &Remove Theme - &Remover Tema - - - &Close - &Fechar - - - - XCurTheme error - Erro XCurTheme - - - - You can't remove active theme! - Você não pode remover o tema ativo! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Nome - - - - Description - Descrição - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_ro_RO.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_ro_RO.ts deleted file mode 100644 index c53ff6f..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_ro_RO.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Configurare temă maus LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Selectați tema de cursor pe care doriți să o utilizați (treceți peste cu mausul pentru a testa cursorul)</b>Sesiunea LXQt necesită o repornire după această modificare</b>: - - - - &Install New Theme... - &Instalează temă nouă... - - - &Set Theme - &Setează tema - - - - &Remove Theme - Elimină tema - - - &Close - În&chide - - - - XCurTheme error - Eroare XCurTheme - - - - You can't remove active theme! - Nu se poate elimina tema activă! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Nume - - - - Description - Descriere - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_ru.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_ru.ts deleted file mode 100644 index 78b14db..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_ru.ts +++ /dev/null @@ -1,68 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Настройка темы курсора LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Выберите тему курсора, которую вы хотите использовать (наведите курсор на область предварительного просмотра для проверки). <b>Сессию LXQt нужно перезапустить после изменений</b>: - - - - &Install New Theme... - &Установить новую тему… - - - - &Remove Theme - &Удалить тему - - - - XCurTheme error - Ошибка XCurTheme - - - - You can't remove active theme! - Невозможно удалить активную тему! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - LXQt не смог найти какую-нибудь тему курсора. Будет использована тема X11 по-умолчанию. LXQt искал в следующих папках: - - - - Show... - Показать… - - - - XCursorThemeModel - - - Name - Имя - - - - Description - Описание - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_ru_RU.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_ru_RU.ts deleted file mode 100644 index 2c0d5f8..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_ru_RU.ts +++ /dev/null @@ -1,68 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Настройка темы курсора LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Выберите тему курсора, которую вы хотите использовать (наведите курсор на область предварительного просмотра для проверки). <b>Сессию LXQt нужно перезапустить после изменений</b>: - - - - &Install New Theme... - &Установить новую тему… - - - - &Remove Theme - &Удалить тему - - - - XCurTheme error - Ошибка XCurTheme - - - - You can't remove active theme! - Невозможно удалить активную тему! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - LXQt не смог найти какую-нибудь тему курсора. Будет использована тема X11 по-умолчанию. LXQt искал в следующих папках: - - - - Show... - Показать… - - - - XCursorThemeModel - - - Name - Имя - - - - Description - Описание - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_sl.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_sl.ts deleted file mode 100644 index 0d6efb6..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_sl.ts +++ /dev/null @@ -1,72 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - - - - - &Install New Theme... - - - - - &Remove Theme - - - - &Close - &Zapri - - - - XCurTheme error - - - - - You can't remove active theme! - - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - - - - - Description - - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_th_TH.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_th_TH.ts deleted file mode 100644 index 0a68e80..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_th_TH.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - การตั้งค่าชุดตกแต่งเมาส์ LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - เลือกชุดตกแต่งเคอร์เซอร์ที่คุณต้องการจะใช้ (วางเคอร์เซอร์ไว้บนตัวอย่างเพื่อทดสอบมัน). <b>วาระงาน LXQt จำเป็นต้องเริ่มใหม่หลังการเปลี่ยนแปลงนี้</b>: - - - - &Install New Theme... - ติดตั้งชุด&ตกแต่ง... - - - &Set Theme - &ใช้เป็นชุดตกแต่ง - - - - &Remove Theme - &ลบชุดตกแต่ง - - - &Close - ปิ&ด - - - - XCurTheme error - XCurTheme ขัดข้อง - - - - You can't remove active theme! - คุณไม่สามารถลบชุดตกแต่งที่กำลังใช้งานอยู่ได้ - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - ชื่อ - - - - Description - รายละเอียด - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_tr.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_tr.ts deleted file mode 100644 index 6687906..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_tr.ts +++ /dev/null @@ -1,72 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - - - - - &Install New Theme... - - - - - &Remove Theme - - - - &Close - &Kapat - - - - XCurTheme error - - - - - You can't remove active theme! - - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - - - - - Description - - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_uk.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_uk.ts deleted file mode 100644 index 68b1f70..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_uk.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - Налаштування тем миші LXQt - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - Оберіть тему курсорів, яку Ви бажаєте використовувати (наведіть на попереднй перегляд для перевірки курсору). <b>Сеанс LXQt потребує перезапуску щоб ці зміни подіяли</b>: - - - - &Install New Theme... - &Встановити нову тему... - - - &Set Theme - &Призначити тему - - - - &Remove Theme - Вилу&чити тему - - - &Close - &Закрити - - - - XCurTheme error - Збій XCurTheme - - - - You can't remove active theme! - Неможливо вилучити активну тему! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - Ім'я - - - - Description - Опис - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_zh_CN.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_zh_CN.ts deleted file mode 100644 index 238f409..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_zh_CN.ts +++ /dev/null @@ -1,76 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQt 鼠标主题配置 - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - 选择要使用的游标主题(鼠标放到项目上可以预览)。<b>修改后需要重启LXQt 会话。</b>: - - - - &Install New Theme... - 安装新主题(&I)... - - - &Set Theme - 设置主题(&S) - - - - &Remove Theme - 删除主题(&R) - - - &Close - &关闭 - - - - XCurTheme error - XCurTheme 错误 - - - - You can't remove active theme! - 无法删除使用中的主题! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - 名称 - - - - Description - 描述 - - - diff --git a/liblxqt-config-cursor/translations/lxqt-config-cursor_zh_TW.ts b/liblxqt-config-cursor/translations/lxqt-config-cursor_zh_TW.ts deleted file mode 100644 index b0fc09f..0000000 --- a/liblxqt-config-cursor/translations/lxqt-config-cursor_zh_TW.ts +++ /dev/null @@ -1,77 +0,0 @@ - - - - - SelectWnd - - - LXQt Mouse Theme Configuration - LXQt滑鼠游標主題設定 - - - - Select the cursor theme you want to use (hover preview to test cursor). <b>LXQt session needs restart after this change</b>: - 選擇您喜歡的游標主題 (檢視來回移動來測試游標) 。 -<b>套用改變需要重新啟動LXQt會話</b>: - - - - &Install New Theme... - 安裝新主題...(&I) - - - &Set Theme - 設為主題(&S) - - - - &Remove Theme - 移除主題(&R) - - - &Close - 關閉(&C) - - - - XCurTheme error - XCurTheme錯誤 - - - - You can't remove active theme! - 您無法移除正在套用的主題! - - - - WarningLabel - - - Form - - - - - LXQt could not find any cursor theme. The default X11 cursor theme will be used instead. LXQt looked in the following directories: - - - - - Show... - - - - - XCursorThemeModel - - - Name - 名稱 - - - - Description - 描述 - - - diff --git a/liblxqt-config-cursor/xcr/xcrthemefx.cpp b/liblxqt-config-cursor/xcr/xcrthemefx.cpp index 6850320..4ffcc49 100644 --- a/liblxqt-config-cursor/xcr/xcrthemefx.cpp +++ b/liblxqt-config-cursor/xcr/xcrthemefx.cpp @@ -265,7 +265,7 @@ bool XCursorThemeFX::parseCursorFXTheme (const QString &aFileName) { return false; } if (curType != 1) { - qDebug() << "skiping 'press' cursor; shape no" << curShape << "named" << curShapeName[curShape]; + qDebug() << "skipping 'press' cursor; shape no" << curShape << "named" << curShapeName[curShape]; continue; // we need only 'normal' cursors } @@ -273,14 +273,14 @@ bool XCursorThemeFX::parseCursorFXTheme (const QString &aFileName) { const char **nlst = findCursorByFXId((int)curShape); if (!nlst) { // unknown cursor type, skip it - qDebug() << "CursorFX: skiping cursor shape:" << curShapeName[curShape]; - qWarning() << "CursorFX: skiping cursor shape:" << curShapeName[curShape]; + qDebug() << "CursorFX: skipping cursor shape:" << curShapeName[curShape]; + qWarning() << "CursorFX: skipping cursor shape:" << curShapeName[curShape]; continue; } if (shapesSeen.contains(curShape&0xff)) { // unknown cursor type, skip it - qDebug() << "CursorFX: skiping duplicate cursor shape:" << curShapeName[curShape]; - qWarning() << "CursorFX: skiping duplicate cursor shape:" << curShapeName[curShape]; + qDebug() << "CursorFX: skipping duplicate cursor shape:" << curShapeName[curShape]; + qWarning() << "CursorFX: skipping duplicate cursor shape:" << curShapeName[curShape]; continue; } shapesSeen << (curShape&0xff); diff --git a/lxqt-config-appearance.png b/lxqt-config-appearance.png new file mode 100644 index 0000000..1300157 Binary files /dev/null and b/lxqt-config-appearance.png differ diff --git a/lxqt-config-appearance/CMakeLists.txt b/lxqt-config-appearance/CMakeLists.txt index e160755..e0e842c 100644 --- a/lxqt-config-appearance/CMakeLists.txt +++ b/lxqt-config-appearance/CMakeLists.txt @@ -51,6 +51,16 @@ lxqt_translate_ts(QM_FILES ${UI_FILES} INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} + REPO_SUBDIR + "lxqt-config/${PROJECT_NAME}" ) lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) @@ -77,7 +87,7 @@ target_link_libraries(${PROJECT_NAME} set_target_properties("${PROJECT_NAME}" PROPERTIES - INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/${LXQT_CONFIG_PROJECT}" + INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}/${LXQT_CONFIG_PROJECT}" ) install(TARGETS diff --git a/lxqt-config-appearance/fontconfigfile.cpp b/lxqt-config-appearance/fontconfigfile.cpp index d0dc852..9f3e6ef 100644 --- a/lxqt-config-appearance/fontconfigfile.cpp +++ b/lxqt-config-appearance/fontconfigfile.cpp @@ -179,6 +179,7 @@ void FontConfigFile::save() "\n" "\n" "\n" + " conf.d\n" " \n" " \n" " " << (mAntialias ? "true" : "false") << "\n" diff --git a/lxqt-config-appearance/iconthemeconfig.cpp b/lxqt-config-appearance/iconthemeconfig.cpp index 509d486..ebcfd7a 100644 --- a/lxqt-config-appearance/iconthemeconfig.cpp +++ b/lxqt-config-appearance/iconthemeconfig.cpp @@ -27,17 +27,10 @@ #include "iconthemeconfig.h" -#include -#include #include #include #include #include -#include - -#include - -using namespace QtXdg; IconThemeConfig::IconThemeConfig(LXQt::Settings* settings, QWidget* parent): QWidget(parent), @@ -49,16 +42,13 @@ IconThemeConfig::IconThemeConfig(LXQt::Settings* settings, QWidget* parent): initControls(); connect(iconThemeList, SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(iconThemeSelected(QTreeWidgetItem*,int))); - - connect(LXQt::Settings::globalSettings(), SIGNAL(settingsChanged()), - this, SLOT(update())); } void IconThemeConfig::initIconsThemes() { QStringList processed; - QStringList baseDirs = QIcon::themeSearchPaths(); + const QStringList baseDirs = QIcon::themeSearchPaths(); static const QStringList iconNames = QStringList() << QStringLiteral("document-open") << QStringLiteral("document-new") @@ -69,14 +59,14 @@ void IconThemeConfig::initIconsThemes() iconThemeList->setColumnCount(iconNamesN + 2); QList items; - foreach (QString baseDirName, baseDirs) + foreach (const QString &baseDirName, baseDirs) { QDir baseDir(baseDirName); if (!baseDir.exists()) continue; - QFileInfoList dirs = baseDir.entryInfoList(QDir::AllDirs | QDir::NoDotAndDotDot, QDir::Name); - foreach (QFileInfo dir, dirs) + const QFileInfoList dirs = baseDir.entryInfoList(QDir::AllDirs | QDir::NoDotAndDotDot, QDir::Name); + foreach (const QFileInfo &dir, dirs) { if (!processed.contains(dir.canonicalFilePath())) { @@ -114,7 +104,6 @@ void IconThemeConfig::initIconsThemes() } } } - QIconLoader::instance()->updateSystemTheme(); iconThemeList->insertTopLevelItems(0, items); for (int i=0; iheader()->count()-1; ++i) @@ -126,8 +115,7 @@ void IconThemeConfig::initIconsThemes() void IconThemeConfig::initControls() { - QString currentTheme = LXQt::Settings::globalSettings()->value("icon_theme").toString(); - XdgIcon::setThemeName(currentTheme); + QString currentTheme = QIcon::themeName(); QTreeWidgetItemIterator it(iconThemeList); while (*it) { if ((*it)->data(0, Qt::UserRole).toString() == currentTheme) @@ -153,12 +141,6 @@ void IconThemeConfig::iconThemeSelected(QTreeWidgetItem *item, int column) QString theme = item->data(0, Qt::UserRole).toString(); if (!theme.isEmpty()) { - XdgIcon::setThemeName(theme); - - // An hack to ensure that this widget also re loads it's own icons - // from the selected icon theme. - QIconLoader::instance()->setThemeName(QString()); - m_settings->setValue("icon_theme", theme); m_settings->sync(); } diff --git a/lxqt-config-appearance/iconthemeinfo.cpp b/lxqt-config-appearance/iconthemeinfo.cpp index b30480e..59dc4af 100644 --- a/lxqt-config-appearance/iconthemeinfo.cpp +++ b/lxqt-config-appearance/iconthemeinfo.cpp @@ -33,28 +33,26 @@ #include "iconthemeinfo.h" #include -#include +#include #include #define PREVIEW_ICON_SIZE 22 -using namespace QtXdg; - /* * This algorithm is defined by the freedesktop spec: * http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html */ -static bool directoryMatchesSize(const QIconDirInfo &dir, int iconsize) +static bool directoryMatchesSize(const XdgIconDirInfo &dir, int iconsize) { - if (dir.type == QIconDirInfo::Fixed) { + if (dir.type == XdgIconDirInfo::Fixed) { return dir.size == iconsize; - } else if (dir.type == QIconDirInfo::Scalable) { + } else if (dir.type == XdgIconDirInfo::Scalable) { return dir.size <= dir.maxSize && iconsize >= dir.minSize; - } else if (dir.type == QIconDirInfo::Threshold) { + } else if (dir.type == XdgIconDirInfo::Threshold) { return iconsize >= dir.size - dir.threshold && iconsize <= dir.size + dir.threshold; } @@ -68,12 +66,12 @@ static bool directoryMatchesSize(const QIconDirInfo &dir, int iconsize) * This algorithm is defined by the freedesktop spec: * http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html */ -static int directorySizeDistance(const QIconDirInfo &dir, int iconsize) +static int directorySizeDistance(const XdgIconDirInfo &dir, int iconsize) { - if (dir.type == QIconDirInfo::Fixed) { + if (dir.type == XdgIconDirInfo::Fixed) { return qAbs(dir.size - iconsize); - } else if (dir.type == QIconDirInfo::Scalable) { + } else if (dir.type == XdgIconDirInfo::Scalable) { if (iconsize < dir.minSize) return dir.minSize - iconsize; else if (iconsize > dir.maxSize) @@ -81,7 +79,7 @@ static int directorySizeDistance(const QIconDirInfo &dir, int iconsize) else return 0; - } else if (dir.type == QIconDirInfo::Threshold) { + } else if (dir.type == XdgIconDirInfo::Threshold) { if (iconsize < dir.size - dir.threshold) return dir.minSize - iconsize; else if (iconsize > dir.size + dir.threshold) @@ -128,39 +126,43 @@ QVector IconThemeInfo::icons(const QStringList &iconNames) const { QVector icons; - const QString currentThemeName = QIconLoader::instance()->themeName(); - QIconLoader::instance()->setThemeName(mName); + XdgIconLoader::instance()->setThemeName(mName); foreach (const QString &i, iconNames) { - QThemeIconInfo info = QIconLoader::instance()->loadIcon(i); + QThemeIconInfo info = XdgIconLoader::instance()->loadIcon(i); if (!info.entries.isEmpty()) { const int numEntries = info.entries.size(); // Search for exact matches first bool found = false; for (int i = 0; i < numEntries; ++i) { - QIconLoaderEngineEntry *entry = info.entries.at(i); + XdgIconLoaderEngineEntry *entry = info.entries.at(i); + if (directoryMatchesSize(entry->dir, PREVIEW_ICON_SIZE)) { icons.append(QIcon(entry->filename)); found = true; break; } + } if (!found) { // No exact match. Search for an approximation // Find the minimum distance icon int minimalSize = INT_MAX; - QIconLoaderEngineEntry *closestMatch = 0; + XdgIconLoaderEngineEntry *closestMatch = 0; for (int i = 0; i < numEntries; ++i) { - QIconLoaderEngineEntry *entry = info.entries.at(i); + XdgIconLoaderEngineEntry *entry = info.entries.at(i); int distance = directorySizeDistance(entry->dir, PREVIEW_ICON_SIZE); if (distance < minimalSize) { minimalSize = distance; closestMatch = entry; } } - icons.append(QIcon(closestMatch->filename)); + if (closestMatch) + icons.append(QIcon(closestMatch->filename)); + else + icons.append(QIcon()); } } else { icons.append(QIcon()); } } - QIconLoader::instance()->setThemeName(currentThemeName); + XdgIconLoader::instance()->setThemeName(QString()); return icons; } diff --git a/lxqt-config-appearance/lxqtthemeconfig.cpp b/lxqt-config-appearance/lxqtthemeconfig.cpp index ffda79d..87726db 100644 --- a/lxqt-config-appearance/lxqtthemeconfig.cpp +++ b/lxqt-config-appearance/lxqtthemeconfig.cpp @@ -30,6 +30,30 @@ #include #include #include +#include +#include + +/*! + * \brief Simple delegate to draw system background color below decoration/icon + * (needed by System theme, which uses widget background and therefore provides semi-transparent preview) + */ +class ThemeDecorator : public QItemDelegate +{ +public: + using QItemDelegate::QItemDelegate; +protected: + virtual void drawDecoration(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, const QPixmap & pixmap) const override + { + //Note: can't use QItemDelegate::drawDecoration, because it is ignoring pixmap, + //if the icon is valid (and that is set in paint()) + if (pixmap.isNull() || !rect.isValid()) + return; + + QPoint p = QStyle::alignedRect(option.direction, option.decorationAlignment, pixmap.size(), rect).topLeft(); + painter->fillRect(QRect{p, pixmap.size()}, QApplication::palette().color(QPalette::Window)); + painter->drawPixmap(p, pixmap); + } +}; LXQtThemeConfig::LXQtThemeConfig(LXQt::Settings *settings, QWidget *parent) : QWidget(parent), @@ -37,6 +61,10 @@ LXQtThemeConfig::LXQtThemeConfig(LXQt::Settings *settings, QWidget *parent) : mSettings(settings) { ui->setupUi(this); + { + QScopedPointer p{ui->lxqtThemeList->itemDelegate()}; + ui->lxqtThemeList->setItemDelegate(new ThemeDecorator{this}); + } connect(ui->lxqtThemeList, SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(lxqtThemeSelected(QTreeWidgetItem*,int))); diff --git a/lxqt-config-appearance/main.cpp b/lxqt-config-appearance/main.cpp index 7b42609..f0623d1 100644 --- a/lxqt-config-appearance/main.cpp +++ b/lxqt-config-appearance/main.cpp @@ -26,9 +26,7 @@ * END_COMMON_COPYRIGHT_HEADER */ #include -#include -#include #include #include #include "iconthemeconfig.h" diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance.ts b/lxqt-config-appearance/translations/lxqt-config-appearance.ts deleted file mode 100644 index 015ec70..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - - - - - Icons Theme - - - - - LXQtThemeConfig - - - LXQt Theme - - - - - QObject - - - LXQt Appearance Configuration - - - - - Widget Style - - - - - Icons Theme - - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_ar.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_ar.ts deleted file mode 100644 index d425ad4..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_ar.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - تهيئة مظهر ريزر - - - - Icons Theme - نماذج اﻷيقونات - - - - LXQtThemeConfig - - - LXQt Theme - واجهة ريزر المخصَّصة - - - - QObject - - - LXQt Appearance Configuration - تهيئة مظهر ريزر - - - - Widget Style - - - - - Icons Theme - نماذج اﻷيقونات - - - - LXQt Theme - واجهة ريزر المخصَّصة - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_cs.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_cs.ts deleted file mode 100644 index 865bbab..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_cs.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Nastavení vzhledu - - - - Icons Theme - Téma ikon - - - - LXQtThemeConfig - - - LXQt Theme - Motiv LXQt - - - - QObject - - - LXQt Appearance Configuration - Nastavení vzhledu - - - - Widget Style - - - - - Icons Theme - Téma ikon - - - - LXQt Theme - Motiv LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_cs_CZ.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_cs_CZ.ts deleted file mode 100644 index 6132069..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_cs_CZ.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Nastavení vzhledu - - - - Icons Theme - Téma ikon - - - - LXQtThemeConfig - - - LXQt Theme - Motiv LXQt - - - - QObject - - - LXQt Appearance Configuration - Nastavení vzhledu - - - - Widget Style - - - - - Icons Theme - Téma ikon - - - - LXQt Theme - Motiv LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_da.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_da.ts deleted file mode 100644 index 3b8bd23..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_da.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt Indstillinger for Udseende - - - - Icons Theme - Ikontema - - - - LXQtThemeConfig - - - LXQt Theme - LXQt Tema - - - - QObject - - - LXQt Appearance Configuration - LXQt Indstillinger for Udseende - - - - Widget Style - - - - - Icons Theme - Ikontema - - - - LXQt Theme - LXQt Tema - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_da_DK.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_da_DK.ts deleted file mode 100644 index c347fe3..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_da_DK.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt Indstillinger for Udseende - - - - Icons Theme - Ikontema - - - - LXQtThemeConfig - - - LXQt Theme - LXQt Tema - - - - QObject - - - LXQt Appearance Configuration - LXQt Indstillinger for Udseende - - - - Widget Style - - - - - Icons Theme - Ikontema - - - - LXQt Theme - LXQt Tema - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_de.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_de.ts deleted file mode 100644 index 724356a..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_de.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - Schriftart - - - - Default font for user interface - Standardschriftart der Bedienoberfläche - - - - Font name: - Name: - - - - Style: - Stil: - - - - Point size: - Punktgröße: - - - - Normal - Normal - - - - Bold - Fett - - - - Italic - Kursiv - - - - Bold Italic - Fett und kursiv - - - - The following settings only affect newly started applications - Folgende Einstellungen wirken nur auf neu gestartete Programme - - - - Use antialias fonts - Kantenglättung bei Schriften verwenden - - - - Font hinting style: - Hinting-Stil: - - - - - None - Keine - - - - Slight - Leicht - - - - Medium - Mittel - - - - Full - Vollständig - - - - Font hinting - Schrift-Hinting - - - - Resolution (DPI): - Auflösung (DPI): - - - - Autohint - Autohint - - - - Subpixel antialiasing: - Subpixel-Anordnung: - - - - RGB - RGB - - - - BGR - BGR - - - - VRGB - VRGB - - - - VBGR - VBGR - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt Erscheinungsbild-Konfiguration - - - - Icons Theme - Symboldesign - - - - LXQtThemeConfig - - - LXQt Theme - LXQt-Design - - - - QObject - - - LXQt Appearance Configuration - LXQt Erscheinungsbild-Konfiguration - - - - Widget Style - Stil der Bedienelemente - - - - Icons Theme - Symboldesign - - - - LXQt Theme - LXQt-Design - - - - Font - Schriftart - - - - Cursor - Mauszeiger - - - - StyleConfig - - - Widget Style - Stil der Bedienelemente - - - - Toolbar button style: - Werkzeugleistenstil: - - - - Only display the icon - Nur Symbol - - - - Only display the text - Nur Text - - - - The text appears beside the icon - Text neben dem Symbol - - - - The text appears under the icon - Text unterhalb des Symbols - - - - Default - Default - - - - Activate item on single click - Einfacher Klick aktiviert Elemente - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_el.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_el.ts deleted file mode 100644 index d3f092f..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_el.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - Γραμματοσειρά - - - - Default font for user interface - Εξ ορισμού γραμματοσειρά του περιβάλλοντος χρήστη - - - - Font name: - Όνομα γραμματοσειράς: - - - - Style: - Ύφος: - - - - Point size: - Μέγεθος σημείου: - - - - Normal - Κανονικό - - - - Bold - Έντονα - - - - Italic - Πλάγια - - - - Bold Italic - Έντονα πλάγια - - - - The following settings only affect newly started applications - Οι παρακάτω ρυθμίσεις επηρεάζουν μόνο τις εφεξής εφαρμογές - - - - Use antialias fonts - Χρήση της εξομάλυνσης γραμματοσειρών - - - - Font hinting style: - Ύφος υπόδειξης των γραμματοσειρών: - - - - - None - Κανένα - - - - Slight - Ελαφρύ - - - - Medium - Μεσαίο - - - - Full - Πλήρες - - - - Font hinting - Υπόδειξη γραμματοσειρών - - - - Resolution (DPI): - Ανάλυση (DPI): - - - - Autohint - Αυτόματη υπόδειξη (autohint) - - - - Subpixel antialiasing: - Εξομάλυνση υποεικονοστοιχείων: - - - - RGB - RGB - - - - BGR - BGR - - - - VRGB - VRGB - - - - VBGR - VBGR - - - - IconThemeConfig - - - LXQt Appearance Configuration - Διαμόρφωση της εμφάνισης του LXQt - - - - Icons Theme - Θέμα εικονιδίων - - - - LXQtThemeConfig - - - LXQt Theme - Θέμα του LXQt - - - - QObject - - - LXQt Appearance Configuration - Διαμόρφωση της εμφάνισης του LXQt - - - - Widget Style - Στιλ συστατικού - - - - Icons Theme - Θέμα εικονιδίων - - - - LXQt Theme - Θέμα LXQt - - - - Font - Γραμματοσειρά - - - - Cursor - Δρομέας - - - - StyleConfig - - - Widget Style - Στιλ συστατικού - - - - Toolbar button style: - Ύφος των κουμπιών της γραμμής εργαλείων: - - - - Only display the icon - Εμφάνιση μόνον του εικονιδίου - - - - Only display the text - Εμφάνιση μόνον του κειμένου - - - - The text appears beside the icon - Το κείμενο εμφανίζεται δίπλα από το εικονίδιο - - - - The text appears under the icon - Το κείμενο εμφανίζεται κάτω από το εικονίδιο - - - - Default - Εξ ορισμού - - - - Activate item on single click - Ενεργοποίηση των αντικειμένων με μονό κλικ - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_eo.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_eo.ts deleted file mode 100644 index 7098e54..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_eo.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Agordoj de apero de LXQto - - - - Icons Theme - Etoso de piktogramoj - - - - LXQtThemeConfig - - - LXQt Theme - Etoso de LXQt - - - - QObject - - - LXQt Appearance Configuration - Agordoj de apero de LXQto - - - - Widget Style - - - - - Icons Theme - Etoso de piktogramoj - - - - LXQt Theme - Etoso de LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_es.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_es.ts deleted file mode 100644 index bbae1b3..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_es.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Configuración de apariencia de LXQt - - - - Icons Theme - Tema de iconos - - - - LXQtThemeConfig - - - LXQt Theme - Tema de LXQt - - - - QObject - - - LXQt Appearance Configuration - Configuración de apariencia de LXQt - - - - Widget Style - - - - - Icons Theme - Tema de iconos - - - - LXQt Theme - Tema de LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_es_VE.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_es_VE.ts deleted file mode 100644 index 88d31fc..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_es_VE.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Configuración de apariencia de LXQt - - - - Icons Theme - Tema de iconos - - - - LXQtThemeConfig - - - LXQt Theme - Tema LXQt - - - - QObject - - - LXQt Appearance Configuration - Configuración de apariencia de LXQt - - - - Widget Style - - - - - Icons Theme - Tema de iconos - - - - LXQt Theme - Tema LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_eu.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_eu.ts deleted file mode 100644 index 4eb61c8..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_eu.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt itxuraren konfigurazioa - - - - Icons Theme - Ikonoen gaia - - - - LXQtThemeConfig - - - LXQt Theme - LXQt gaia - - - - QObject - - - LXQt Appearance Configuration - LXQt itxuraren konfigurazioa - - - - Widget Style - - - - - Icons Theme - Ikonoen gaia - - - - LXQt Theme - LXQt gaia - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_fi.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_fi.ts deleted file mode 100644 index 98a2440..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_fi.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQtin ulkoasun hallinta - - - - Icons Theme - Kuvaketeema - - - - LXQtThemeConfig - - - LXQt Theme - LXQt-teema - - - - QObject - - - LXQt Appearance Configuration - LXQtin ulkoasun hallinta - - - - Widget Style - - - - - Icons Theme - Kuvaketeema - - - - LXQt Theme - LXQt-teema - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_fr_FR.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_fr_FR.ts deleted file mode 100644 index 9f5b669..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_fr_FR.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Configuration de l'apparence de LXQt - - - - Icons Theme - Thème d'icones - - - - LXQtThemeConfig - - - LXQt Theme - Thème de LXQt - - - - QObject - - - LXQt Appearance Configuration - Configuration de l'apparence de LXQt - - - - Widget Style - - - - - Icons Theme - Thème d'icones - - - - LXQt Theme - Thème de LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_hu.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_hu.ts deleted file mode 100644 index 21d6d06..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_hu.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - Betűtípus - - - - Default font for user interface - Felhasználói felület alapértelmezett betűtípusa - - - - Font name: - Betűnév: - - - - Style: - Stílus: - - - - Point size: - Pontméret: - - - - Normal - Normál - - - - Bold - Kövér - - - - Italic - Dőlt - - - - Bold Italic - Dőlt kövér - - - - The following settings only affect newly started applications - Ezek a stílusok csak új indítású alkalmazásoknál láthatók - - - - Use antialias fonts - Simított betűk - - - - Font hinting style: - Betű mankó stílus: - - - - - None - Nincs - - - - Slight - Enyhe - - - - Medium - Közepes - - - - Full - Teljes - - - - Font hinting - Betű mankó - - - - Resolution (DPI): - Felbontás (DPI): - - - - Autohint - Mankó - - - - Subpixel antialiasing: - Alképpont simítás: - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Alkalmazásmenü - - - - Icons Theme - Ikontéma - - - - LXQtThemeConfig - - - LXQt Theme - LXQt téma - - - - QObject - - - LXQt Appearance Configuration - LXQt megjelenésbeállító - - - - Widget Style - Bigyótéma - - - - Icons Theme - Ikontéma - - - - LXQt Theme - LXQt téma - - - - Font - Betű - - - - Cursor - Kurzor - - - - StyleConfig - - - Widget Style - Bigyótéma - - - - Toolbar button style: - Eszközsáv stílus: - - - - Only display the icon - Csak ikon - - - - Only display the text - Csak szöveg - - - - The text appears beside the icon - Szöveg az ikon mellett - - - - The text appears under the icon - Szöveg az ikon alatt - - - - Default - Alapértelmezett - - - - Activate item on single click - Egykattintásos mód - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_hu_HU.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_hu_HU.ts deleted file mode 100644 index 36349ad..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_hu_HU.ts +++ /dev/null @@ -1,236 +0,0 @@ - - - - - FontsConfig - - - Font - Betűtípus - - - - Default font for user interface - Felhasználói felület alapértelmezett betűtípusa - - - - Font name: - Betűnév: - - - - Style: - Stílus: - - - - Point size: - Pontméret: - - - - Normal - Normál - - - - Bold - Kövér - - - - Italic - Dőlt - - - - Bold Italic - Dőlt kövér - - - - The following settings only affect newly started applications - Ezek a stílusok csak új indítású alkalmazásoknál láthatók - - - - Use antialias fonts - Simított betűk - - - - Font hinting style: - Betű mankó stílus: - - - - - None - Nincs - - - - Slight - Enyhe - - - - Medium - Közepes - - - - Full - Teljes - - - - Font hinting - Betű mankó - - - - Resolution (DPI): - Felbontás (DPI): - - - - Autohint - Mankó - - - - Subpixel antialiasing: - Alképpont simítás: - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt megjelenésbeállító - - - - Icons Theme - Ikontémák - - - - LXQtThemeConfig - - - LXQt Theme - LXQt téma - - - - MainWindow - - LXQt Appearance Configuration - LXQt megjelenésbeállító - - - Icons Theme - Ikontémák - - - - QObject - - - LXQt Appearance Configuration - LXQt megjelenésbeállító - - - - Widget Style - Bigyótéma - - - - Icons Theme - Ikontémák - - - - LXQt Theme - LXQT téma - - - - Font - Betű - - - - Cursor - Kurzor - - - - StyleConfig - - - Widget Style - Bigyótéma - - - - Toolbar button style: - Eszközsáv stílus: - - - - Only display the icon - Csak ikon - - - - Only display the text - Csak szöveg - - - - The text appears beside the icon - Szöveg az ikon mellett - - - - The text appears under the icon - Szöveg az ikon alatt - - - - Default - Alapértelmezett - - - - Activate item on single click - Egykattintásos mód - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_ia.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_ia.ts deleted file mode 100644 index 776fd96..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_ia.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - - - - - Icons Theme - - - - - LXQtThemeConfig - - - LXQt Theme - - - - - QObject - - - LXQt Appearance Configuration - - - - - Widget Style - - - - - Icons Theme - - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_id_ID.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_id_ID.ts deleted file mode 100644 index 4594b4c..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_id_ID.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Konfigurasi Penampilan LXQt - - - - Icons Theme - Tema Ikon - - - - LXQtThemeConfig - - - LXQt Theme - - - - - QObject - - - LXQt Appearance Configuration - Konfigurasi Penampilan LXQt - - - - Widget Style - - - - - Icons Theme - Tema Ikon - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_it.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_it.ts deleted file mode 100644 index efd963a..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_it.ts +++ /dev/null @@ -1,226 +0,0 @@ - - - - - FontsConfig - - - Font - Caratteri - - - - Default font for user interface - Carattere generale - - - - Font name: - Carattere: - - - - Style: - Stile: - - - - Point size: - Dimensione: - - - - Normal - Normale - - - - Bold - Grassetto - - - - Italic - Corsivo - - - - Bold Italic - Grassetto corsivo - - - - The following settings only affect newly started applications - Le impostazioni riguardano solo le applicazioni avviate nuovamente - - - - Use antialias fonts - Utilizza anti-aliasing per i caratteri - - - - Font hinting style: - Stile di hinting - - - - - None - Nessuno - - - - Slight - Leggero - - - - Medium - Medio - - - - Full - Forte - - - - Font hinting - Hinting caratteri - - - - Resolution (DPI): - Resoluzione (DPI): - - - - Autohint - Hinting automatico - - - - Subpixel antialiasing: - no idea how to translate that - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Centro di Configurazione LXQt - - - - Icons Theme - Temi delle icone - - - - LXQtThemeConfig - - - LXQt Theme - Tema di LXQt - - - - QObject - - - LXQt Appearance Configuration - Centro di Configurazione LXQt - - - - Widget Style - Stile degli elementi - - - - Icons Theme - Tema delle icone - - - - LXQt Theme - Tema di LXQt - - - - Font - Caratteri - - - - Cursor - Cursore - - - - StyleConfig - - - Widget Style - Stile degli elementi - - - - Toolbar button style: - Stile della barra delle applicazioni: - - - - Only display the icon - Mostra solo icone - - - - Only display the text - Mostra solo testo - - - - The text appears beside the icon - Testo accanto le icone - - - - The text appears under the icon - Testo sotto le icone - - - - Default - - - - - Activate item on single click - Attiva elementi con clic singolo - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_ja.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_ja.ts deleted file mode 100644 index 616d9dc..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_ja.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - フォント - - - - Default font for user interface - ユーザーインターフェースのデフォルトのフォント - - - - Font name: - フォント名: - - - - Style: - スタイル: - - - - Point size: - ポイントサイズ: - - - - Normal - ノーマル - - - - Bold - 太字 - - - - Italic - 斜体 - - - - Bold Italic - 太字・斜体 - - - - The following settings only affect newly started applications - 以下の設定は、これから新たに実行されたアプリケーションに適用されます - - - - Use antialias fonts - アンチエイリアスされたフォントを用いる - - - - Font hinting style: - フォントのヒンティング形式: - - - - - None - なし - - - - Slight - 軽微 - - - - Medium - 中間 - - - - Full - 完全 - - - - Font hinting - フォントのヒンティング - - - - Resolution (DPI): - 解像度 (DPI): - - - - Autohint - 自動ヒンティング - - - - Subpixel antialiasing: - サブピクセルアンチエイリアス: - - - - RGB - RGB - - - - BGR - BGR - - - - VRGB - VRGB - - - - VBGR - VBGR - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt外観の設定 - - - - Icons Theme - アイコンテーマ - - - - LXQtThemeConfig - - - LXQt Theme - LXQtテーマ - - - - QObject - - - LXQt Appearance Configuration - LXQt外観の設定 - - - - Widget Style - ウィジェットのスタイル - - - - Icons Theme - アイコンテーマ - - - - LXQt Theme - LXQtテーマ - - - - Font - フォント - - - - Cursor - カーソル - - - - StyleConfig - - - Widget Style - ウィジェットのスタイル - - - - Toolbar button style: - ツールバーボタンのスタイル: - - - - Only display the icon - アイコンのみを表示 - - - - Only display the text - テキストのみを表示 - - - - The text appears beside the icon - アイコンの横にテキスト - - - - The text appears under the icon - アイコンの下にテキスト - - - - Default - デフォルト - - - - Activate item on single click - シングルクリックでアイテムを有効にする - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_ko.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_ko.ts deleted file mode 100644 index e3ffdf8..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_ko.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - - - - - Icons Theme - - - - - LXQtThemeConfig - - - LXQt Theme - - - - - QObject - - - LXQt Appearance Configuration - - - - - Widget Style - - - - - Icons Theme - - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_lt.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_lt.ts deleted file mode 100644 index e654729..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_lt.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt išvaizdos nustatymai - - - - Icons Theme - Piktogramų tema - - - - LXQtThemeConfig - - - LXQt Theme - LXQt apipavidalinimas - - - - QObject - - - LXQt Appearance Configuration - LXQt išvaizdos nustatymai - - - - Widget Style - - - - - Icons Theme - Piktogramų tema - - - - LXQt Theme - LXQt apipavidalinimas - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_nl.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_nl.ts deleted file mode 100644 index d8a2db5..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_nl.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt Uiterlijk Configuratie - - - - Icons Theme - Pictogram Thema - - - - LXQtThemeConfig - - - LXQt Theme - LXQt Thema - - - - QObject - - - LXQt Appearance Configuration - LXQt Uiterlijk Configuratie - - - - Widget Style - - - - - Icons Theme - Pictogram Thema - - - - LXQt Theme - LXQt Thema - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_pl.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_pl.ts deleted file mode 100644 index 1ca19a5..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_pl.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Menu - - - - Icons Theme - - - - - LXQtThemeConfig - - - LXQt Theme - - - - - QObject - - - LXQt Appearance Configuration - Menu - - - - Widget Style - - - - - Icons Theme - - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_pl_PL.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_pl_PL.ts deleted file mode 100644 index aced0c8..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_pl_PL.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - Czcionka - - - - Default font for user interface - Domyślna czcionka dla interfejsu użytkownika - - - - Font name: - Czcionka: - - - - Style: - Styl: - - - - Point size: - Rozmiar: - - - - Normal - Normalna - - - - Bold - Pogrubiona - - - - Italic - Kursywa - - - - Bold Italic - Pogrubiona kursywa - - - - The following settings only affect newly started applications - Poniższe ustawienia dotyczą tylko nowo otwartych aplikacji - - - - Use antialias fonts - Wygładzanie czcionek (antyaliasing) - - - - Font hinting style: - Styl hintingu: - - - - - None - Brak - - - - Slight - Delikatny - - - - Medium - Średni - - - - Full - Pełny - - - - Font hinting - Hinting czcionek - - - - Resolution (DPI): - Rozdzielczość (DPI): - - - - Autohint - Autohinting - - - - Subpixel antialiasing: - Antyaliasing subpikselowy: - - - - RGB - RGB - - - - BGR - BGR - - - - VRGB - VRGB - - - - VBGR - VBGR - - - - IconThemeConfig - - - LXQt Appearance Configuration - Konfiguracja wyglądu LXQt - - - - Icons Theme - Motyw ikon - - - - LXQtThemeConfig - - - LXQt Theme - Motyw LXQt - - - - QObject - - - LXQt Appearance Configuration - Konfiguracja wyglądu LXQt - - - - Widget Style - Widżety - - - - Icons Theme - Motyw ikon - - - - LXQt Theme - Motyw LXQt - - - - Font - Czcionka - - - - Cursor - Kursor - - - - StyleConfig - - - Widget Style - Styl widżetów - - - - Toolbar button style: - Styl paska narzędziowego: - - - - Only display the icon - Tylko ikony - - - - Only display the text - Tylko tekst - - - - The text appears beside the icon - Tekst obok ikon - - - - The text appears under the icon - Tekst poniżej ikon - - - - Default - Domyśłny - - - - Activate item on single click - Aktywacja pojedyńczym kliknięciem - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_pt.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_pt.ts deleted file mode 100644 index cf36627..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_pt.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Configuração da aparência do LXQt - - - - Icons Theme - Tema de ícones - - - - LXQtThemeConfig - - - LXQt Theme - Tema LXQt - - - - QObject - - - LXQt Appearance Configuration - Configuração da aparência do LXQt - - - - Widget Style - - - - - Icons Theme - Tema de ícones - - - - LXQt Theme - Tema LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_pt_BR.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_pt_BR.ts deleted file mode 100644 index 620b534..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_pt_BR.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Configuração da aparência do LXQt - - - - Icons Theme - Tema de ícones - - - - LXQtThemeConfig - - - LXQt Theme - Tema do LXQt - - - - QObject - - - LXQt Appearance Configuration - Configuração da aparência do LXQt - - - - Widget Style - - - - - Icons Theme - Tema de ícones - - - - LXQt Theme - Tema do LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_ro_RO.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_ro_RO.ts deleted file mode 100644 index 150879e..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_ro_RO.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Părăsește - - - - Icons Theme - Temă pictograme - - - - LXQtThemeConfig - - - LXQt Theme - Temă LXQt - - - - QObject - - - LXQt Appearance Configuration - Părăsește - - - - Widget Style - - - - - Icons Theme - Temă pictograme - - - - LXQt Theme - Temă LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_ru.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_ru.ts deleted file mode 100644 index a573297..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_ru.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - Шрифт - - - - Default font for user interface - Шрифт по умолчанию для пользовательского интерфейса - - - - Font name: - Название шрифта: - - - - Style: - Стиль: - - - - Point size: - Кегль: - - - - Normal - Нормальный - - - - Bold - Полужирный - - - - Italic - Наклонный - - - - Bold Italic - Полужирный наклонный - - - - The following settings only affect newly started applications - Следующие настройки подействуют только на вновь запущенные приложения - - - - Use antialias fonts - Использовать сглаживание шрифтов - - - - Font hinting style: - Стиль хинтинга шрифта: - - - - - None - Нет - - - - Slight - Слабое - - - - Medium - Среднее - - - - Full - Полное - - - - Font hinting - Хинтинг шрифта - - - - Resolution (DPI): - Разрешение (DPI): - - - - Autohint - Автохинтинг - - - - Subpixel antialiasing: - Субпиксельное сглаживание: - - - - RGB - RGB - - - - BGR - BGR - - - - VRGB - VRGB - - - - VBGR - VBGR - - - - IconThemeConfig - - - LXQt Appearance Configuration - Меню программ - - - - Icons Theme - Иконки темы - - - - LXQtThemeConfig - - - LXQt Theme - Тема LXQt - - - - QObject - - - LXQt Appearance Configuration - Настройка внешнего вида LXQt - - - - Icons Theme - Тема иконок - - - - LXQt Theme - LXQt темы - - - - Widget Style - Стиль виджетов - - - - Font - Шрифт - - - - Cursor - Курсор - - - - StyleConfig - - - Widget Style - Стиль виджетов - - - - Toolbar button style: - Стиль кнопок панели: - - - - Only display the icon - Показывать только иконку - - - - Only display the text - Показывать только текст - - - - The text appears beside the icon - Текст появляется сбоку от иконки - - - - The text appears under the icon - Текст появляется под иконкой - - - - Default - По умолчанию - - - - Activate item on single click - Активировать элемент по одиночному щелчку мыши - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_ru_RU.desktop b/lxqt-config-appearance/translations/lxqt-config-appearance_ru_RU.desktop deleted file mode 100644 index 4a9c58a..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_ru_RU.desktop +++ /dev/null @@ -1,4 +0,0 @@ -# Translations -Comment[ru_RU]=Настройки внешнего вида LXQt -GenericName[ru_RU]=Настройка внешнего вида -Name[ru_RU]=Внешний вид \ No newline at end of file diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_ru_RU.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_ru_RU.ts deleted file mode 100644 index a573297..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_ru_RU.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - Шрифт - - - - Default font for user interface - Шрифт по умолчанию для пользовательского интерфейса - - - - Font name: - Название шрифта: - - - - Style: - Стиль: - - - - Point size: - Кегль: - - - - Normal - Нормальный - - - - Bold - Полужирный - - - - Italic - Наклонный - - - - Bold Italic - Полужирный наклонный - - - - The following settings only affect newly started applications - Следующие настройки подействуют только на вновь запущенные приложения - - - - Use antialias fonts - Использовать сглаживание шрифтов - - - - Font hinting style: - Стиль хинтинга шрифта: - - - - - None - Нет - - - - Slight - Слабое - - - - Medium - Среднее - - - - Full - Полное - - - - Font hinting - Хинтинг шрифта - - - - Resolution (DPI): - Разрешение (DPI): - - - - Autohint - Автохинтинг - - - - Subpixel antialiasing: - Субпиксельное сглаживание: - - - - RGB - RGB - - - - BGR - BGR - - - - VRGB - VRGB - - - - VBGR - VBGR - - - - IconThemeConfig - - - LXQt Appearance Configuration - Меню программ - - - - Icons Theme - Иконки темы - - - - LXQtThemeConfig - - - LXQt Theme - Тема LXQt - - - - QObject - - - LXQt Appearance Configuration - Настройка внешнего вида LXQt - - - - Icons Theme - Тема иконок - - - - LXQt Theme - LXQt темы - - - - Widget Style - Стиль виджетов - - - - Font - Шрифт - - - - Cursor - Курсор - - - - StyleConfig - - - Widget Style - Стиль виджетов - - - - Toolbar button style: - Стиль кнопок панели: - - - - Only display the icon - Показывать только иконку - - - - Only display the text - Показывать только текст - - - - The text appears beside the icon - Текст появляется сбоку от иконки - - - - The text appears under the icon - Текст появляется под иконкой - - - - Default - По умолчанию - - - - Activate item on single click - Активировать элемент по одиночному щелчку мыши - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_sk_SK.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_sk_SK.ts deleted file mode 100644 index d06da10..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_sk_SK.ts +++ /dev/null @@ -1,236 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Nastavenie vzhľadu prostredia LXQt - - - - Icons Theme - Téma ikon - - - - LXQtThemeConfig - - - LXQt Theme - - - - - MainWindow - - LXQt Appearance Configuration - Nastavenie vzhľadu prostredia LXQt - - - Icons Theme - Téma ikon - - - - QObject - - - LXQt Appearance Configuration - Nastavenie vzhľadu prostredia LXQt - - - - Widget Style - - - - - Icons Theme - Téma ikon - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_sl.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_sl.ts deleted file mode 100644 index f2a0f80..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_sl.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Nastavitev videza za LXQt - - - - Icons Theme - Tema ikon - - - - LXQtThemeConfig - - - LXQt Theme - Tema za LXQt - - - - QObject - - - LXQt Appearance Configuration - Nastavitev videza za LXQt - - - - Widget Style - - - - - Icons Theme - Tema ikon - - - - LXQt Theme - Tema za LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_sr@latin.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_sr@latin.ts deleted file mode 100644 index 0bc7384..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_sr@latin.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Automatsko suspendovanje - - - - Icons Theme - - - - - LXQtThemeConfig - - - LXQt Theme - - - - - QObject - - - LXQt Appearance Configuration - Automatsko suspendovanje - - - - Widget Style - - - - - Icons Theme - - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_sr_BA.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_sr_BA.ts deleted file mode 100644 index 09800d1..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_sr_BA.ts +++ /dev/null @@ -1,236 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Подешавање изгледа Рејзора - - - - Icons Theme - Тема икона - - - - LXQtThemeConfig - - - LXQt Theme - - - - - MainWindow - - LXQt Appearance Configuration - Подешавање изгледа Рејзора - - - Icons Theme - Тема икона - - - - QObject - - - LXQt Appearance Configuration - Подешавање изгледа Рејзора - - - - Widget Style - - - - - Icons Theme - Тема икона - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_sr_RS.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_sr_RS.ts deleted file mode 100644 index f43e97a..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_sr_RS.ts +++ /dev/null @@ -1,236 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Подешавање изгледа Рејзора - - - - Icons Theme - Тема икона - - - - LXQtThemeConfig - - - LXQt Theme - - - - - MainWindow - - LXQt Appearance Configuration - Подешавање изгледа Рејзора - - - Icons Theme - Тема икона - - - - QObject - - - LXQt Appearance Configuration - Подешавање изгледа Рејзора - - - - Widget Style - - - - - Icons Theme - Тема икона - - - - LXQt Theme - - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_th_TH.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_th_TH.ts deleted file mode 100644 index d0a5a7f..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_th_TH.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - ปรับแต่งรูปโฉม LXQt - - - - Icons Theme - ชุดตกแต่งไอคอน - - - - LXQtThemeConfig - - - LXQt Theme - ชุดตกแต่ง LXQt - - - - QObject - - - LXQt Appearance Configuration - ปรับแต่งรูปโฉม LXQt - - - - Widget Style - - - - - Icons Theme - ชุดตกแต่งไอคอน - - - - LXQt Theme - ชุดตกแต่ง LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_tr.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_tr.ts deleted file mode 100644 index d5a9418..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_tr.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt Görünüm Ayarları - - - - Icons Theme - Simge Teması - - - - LXQtThemeConfig - - - LXQt Theme - LXQt Teması - - - - QObject - - - LXQt Appearance Configuration - LXQt Görünüm Ayarları - - - - Widget Style - - - - - Icons Theme - Simge Teması - - - - LXQt Theme - LXQt Teması - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_uk.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_uk.ts deleted file mode 100644 index fc4880a..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_uk.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - Налаштування вигляду LXQt - - - - Icons Theme - Тема значків - - - - LXQtThemeConfig - - - LXQt Theme - Тема LXQt - - - - QObject - - - LXQt Appearance Configuration - Налаштування вигляду LXQt - - - - Widget Style - - - - - Icons Theme - Тема значків - - - - LXQt Theme - Тема LXQt - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_zh_CN.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_zh_CN.ts deleted file mode 100644 index 68272fc..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_zh_CN.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt 外观配置 - - - - Icons Theme - 图标主题 - - - - LXQtThemeConfig - - - LXQt Theme - LXQt 主题 - - - - QObject - - - LXQt Appearance Configuration - LXQt 外观配置 - - - - Widget Style - - - - - Icons Theme - 图标主题 - - - - LXQt Theme - LXQt 主题 - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-appearance/translations/lxqt-config-appearance_zh_TW.ts b/lxqt-config-appearance/translations/lxqt-config-appearance_zh_TW.ts deleted file mode 100644 index a685000..0000000 --- a/lxqt-config-appearance/translations/lxqt-config-appearance_zh_TW.ts +++ /dev/null @@ -1,225 +0,0 @@ - - - - - FontsConfig - - - Font - - - - - Default font for user interface - - - - - Font name: - - - - - Style: - - - - - Point size: - - - - - Normal - - - - - Bold - - - - - Italic - - - - - Bold Italic - - - - - The following settings only affect newly started applications - - - - - Use antialias fonts - - - - - Font hinting style: - - - - - - None - - - - - Slight - - - - - Medium - - - - - Full - - - - - Font hinting - - - - - Resolution (DPI): - - - - - Autohint - - - - - Subpixel antialiasing: - - - - - RGB - - - - - BGR - - - - - VRGB - - - - - VBGR - - - - - IconThemeConfig - - - LXQt Appearance Configuration - LXQt自訂外觀 - - - - Icons Theme - 圖示主題 - - - - LXQtThemeConfig - - - LXQt Theme - LXQt主題 - - - - QObject - - - LXQt Appearance Configuration - LXQt自訂外觀 - - - - Widget Style - - - - - Icons Theme - 圖示主題 - - - - LXQt Theme - LXQt主題 - - - - Font - - - - - Cursor - - - - - StyleConfig - - - Widget Style - - - - - Toolbar button style: - - - - - Only display the icon - - - - - Only display the text - - - - - The text appears beside the icon - - - - - The text appears under the icon - - - - - Default - - - - - Activate item on single click - - - - diff --git a/lxqt-config-brightness/CMakeLists.txt b/lxqt-config-brightness/CMakeLists.txt new file mode 100644 index 0000000..7a584ce --- /dev/null +++ b/lxqt-config-brightness/CMakeLists.txt @@ -0,0 +1,89 @@ +project(lxqt-config-brightness) + +find_package(Qt5Widgets REQUIRED QUIET) +find_package(Qt5X11Extras REQUIRED QUIET) + +find_package(PkgConfig) + +pkg_check_modules(XRANDR xcb-randr) +pkg_check_modules(XCB xcb) + +set(QTX_LIBRARIES Qt5::Widgets Qt5::X11Extras) + + +include_directories ( + ${XRANDR_INCLUDE_DIRS} + ${XCB_INCLUDE_DIRS} +) + +set(H_FILES + brightnesssettings.h + xrandrbrightness.h + monitorinfo.h + outputwidget.h +) + +set(CPP_FILES + main.cpp + brightnesssettings.cpp + xrandrbrightness.cpp + monitorinfo.cpp + outputwidget.cpp +) + +set(UI_FILES + brightnesssettings.ui + outputwidget.ui +) + +qt5_wrap_ui(UI_HEADERS ${UI_FILES}) + + +# Translations ********************************** +lxqt_translate_ts(QM_FILES + UPDATE_TRANSLATIONS + ${UPDATE_TRANSLATIONS} + SOURCES + ${H_FILES} + ${CPP_FILES} + ${UI_FILES} + INSTALL_DIR + "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} + REPO_SUBDIR + "lxqt-config/${PROJECT_NAME}" +) + +lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) +lxqt_translate_desktop(DESKTOP_FILES SOURCES "resources/${PROJECT_NAME}.desktop.in") + + +add_executable(${PROJECT_NAME} ${CPP_FILES} ${UI_FILES} ${QM_FILES} ${DESKTOP_FILES}) + +target_link_libraries( + ${PROJECT_NAME} + ${QTX_LIBRARIES} + ${XRANDR_LDFLAGS} + ${XCB_LDFLAGS} + lxqt +) + +add_definitions( + -DICON_DIR="${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps" +) + + +install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin) +install(FILES ${DESKTOP_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) +install( + FILES icons/brightnesssettings.svg + DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps" +) + diff --git a/lxqt-config-brightness/README.md b/lxqt-config-brightness/README.md new file mode 100644 index 0000000..99c1da9 --- /dev/null +++ b/lxqt-config-brightness/README.md @@ -0,0 +1,4 @@ +# brightness-settings + +This tool changes brightness and gamma of your screen. It is a X11 tool. LibKScreen can not change brightness or gamma yet. + diff --git a/lxqt-config-brightness/brightnesssettings.cpp b/lxqt-config-brightness/brightnesssettings.cpp new file mode 100644 index 0000000..b55dc31 --- /dev/null +++ b/lxqt-config-brightness/brightnesssettings.cpp @@ -0,0 +1,47 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "brightnesssettings.h" +#include "outputwidget.h" +#include + +BrightnessSettings::BrightnessSettings(QWidget *parent):QDialog(parent) +{ + ui = new Ui::BrightnessSettings(); + ui->setupUi(this); + + mBrightness = new XRandrBrightness(); + QList monitors = mBrightness->getMonitorsInfo(); + + for(MonitorInfo monitor: monitors) + { + OutputWidget *output = new OutputWidget(monitor, this); + ui->layout->addWidget(output); + output->show(); + connect(output, SIGNAL(changed(MonitorInfo)), this, SLOT(monitorSettingsChanged(MonitorInfo))); + } + +} + +void BrightnessSettings::monitorSettingsChanged(MonitorInfo monitor) +{ + QList monitors; + monitors.append(monitor); + mBrightness->setMonitorsSettings(monitors); +} + diff --git a/lxqt-config-brightness/brightnesssettings.h b/lxqt-config-brightness/brightnesssettings.h new file mode 100644 index 0000000..16f2ef3 --- /dev/null +++ b/lxqt-config-brightness/brightnesssettings.h @@ -0,0 +1,46 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef __BRIGHTNESS_SETTINGS_H__ +#define __BRIGHTNESS_SETTINGS_H__ + +#include +#include "xrandrbrightness.h" +#include "ui_brightnesssettings.h" + + +class BrightnessSettings: public QDialog +{ +Q_OBJECT + +public: + BrightnessSettings(QWidget *parent =0); + +public slots: + void monitorSettingsChanged(MonitorInfo monitor); + +private: + XRandrBrightness *mBrightness; + Ui::BrightnessSettings *ui; + + +}; + + +#endif + diff --git a/lxqt-config-brightness/brightnesssettings.ui b/lxqt-config-brightness/brightnesssettings.ui new file mode 100644 index 0000000..43b55f0 --- /dev/null +++ b/lxqt-config-brightness/brightnesssettings.ui @@ -0,0 +1,79 @@ + + + BrightnessSettings + + + + 0 + 0 + 406 + 110 + + + + Brightness Settings + + + + + + + + + + + <html><head/><body><p><span style=" font-weight:600;">Backlight and brightness settings:</span></p><p>Use arrow keys to change settings.</p></body></html> + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Close + + + + + + + + + buttonBox + accepted() + BrightnessSettings + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + BrightnessSettings + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff --git a/lxqt-config-brightness/icons/brightnesssettings.svg b/lxqt-config-brightness/icons/brightnesssettings.svg new file mode 100644 index 0000000..40a0c7c --- /dev/null +++ b/lxqt-config-brightness/icons/brightnesssettings.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/lxqt-config-brightness/main.cpp b/lxqt-config-brightness/main.cpp new file mode 100644 index 0000000..5e56e8a --- /dev/null +++ b/lxqt-config-brightness/main.cpp @@ -0,0 +1,89 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "xrandrbrightness.h" +#include +#include +#include +#include "brightnesssettings.h" + +int main(int argn, char* argv[]) +{ + LXQt::SingleApplication app(argn, argv); + + // Command line options + QCommandLineParser parser; + QCommandLineOption increaseOption(QStringList() << "i" << "icrease", + app.tr("Increase brightness.")); + parser.addOption(increaseOption); + QCommandLineOption decreaseOption(QStringList() << "d" << "decrease", + app.tr("Decrease brightness.")); + parser.addOption(decreaseOption); + QCommandLineOption setOption(QStringList() << "s" << "set", + app.tr("Set brightness from 1 to 100."), "brightness"); + parser.addOption(setOption); + QCommandLineOption helpOption = parser.addHelpOption(); + parser.addOption(increaseOption); + parser.addOption(decreaseOption); + parser.addOption(setOption); + parser.addOption(helpOption); + + parser.process(app); + if( parser.isSet(increaseOption) || parser.isSet(decreaseOption) || parser.isSet(setOption) ) + { + XRandrBrightness *brightness = new XRandrBrightness(); + QList monitors = brightness->getMonitorsInfo(); + QList monitorsChanged; + float sign = parser.isSet(decreaseOption)?-1.0:1.0; + double brightness_value = parser.value(setOption).toFloat(); + brightness_value = qMin( qMax(brightness_value, 0.0), 100.0 ) / 100.0; + if(!parser.value(setOption).isEmpty()) + sign = 0.0; + foreach(MonitorInfo monitor, monitors) + { + + if( monitor.isBacklightSupported() ) + { + long backlight = ( monitor.backlight() + sign*(monitor.backlightMax()/50 + 1) )*qAbs(sign) + brightness_value*monitor.backlightMax(); + if(backlight0) + { + monitor.setBacklight(backlight); + monitorsChanged.append(monitor); + } + } + else + { + float brightness = (monitor.brightness() + 0.1*sign)*qAbs(sign) + brightness_value*2.0; + if(brightness<2.0 && brightness>0.0) + { + monitor.setBrightness(brightness); + monitorsChanged.append(monitor); + } + } + } + brightness->setMonitorsSettings(monitorsChanged); + return 0; + } + + BrightnessSettings *brightnessSettings = new BrightnessSettings(); + brightnessSettings->setWindowIcon(QIcon(ICON_DIR "/brightnesssettings.svg")); + brightnessSettings->show(); + + return app.exec(); +} + diff --git a/lxqt-config-brightness/monitorinfo.cpp b/lxqt-config-brightness/monitorinfo.cpp new file mode 100644 index 0000000..992dd81 --- /dev/null +++ b/lxqt-config-brightness/monitorinfo.cpp @@ -0,0 +1,76 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "monitorinfo.h" + +MonitorInfo::MonitorInfo(int id, QString name, long backlightMax) +{ + mId = id; + mName = name; + mBacklightMax = backlightMax; +} + +MonitorInfo::MonitorInfo(const MonitorInfo &monitor) +{ + mId = monitor.mId; + mName = monitor.mName; + mBacklightMax = monitor.mBacklightMax; + mBacklight = monitor.mBacklight; + mBrightness = monitor.mBrightness; +} + +bool MonitorInfo::isBacklightSupported() const +{ + return mBacklightMax > 0; +} + +long MonitorInfo::backlightMax() const +{ + return mBacklightMax; +} + +long MonitorInfo::backlight() const +{ + return mBacklight; +} + +void MonitorInfo::setBacklight(const long value) +{ + mBacklight = value; +} + +float MonitorInfo::brightness() const +{ + return mBrightness; +} + +void MonitorInfo::setBrightness(const float percent) +{ + mBrightness = qMax(qMin((float)2.0, percent), (float)0.0); +} + +int MonitorInfo::id() const +{ + return mId; +} + +QString MonitorInfo::name() const +{ + return mName; +} + diff --git a/lxqt-config-brightness/monitorinfo.h b/lxqt-config-brightness/monitorinfo.h new file mode 100644 index 0000000..9d5b123 --- /dev/null +++ b/lxqt-config-brightness/monitorinfo.h @@ -0,0 +1,58 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef __MONITOR_INFO_H__ +#define __MONITOR_INFO_H__ + +#include + + +/** This class represents backlight and brightness values of screen. + * If backlight is supported, backlight power of screen can be changed. + * Brightness represents color saturation. + */ +class MonitorInfo +{ +public: + MonitorInfo(int id, QString name, long backlightMax); + MonitorInfo(const MonitorInfo &monitor); + + bool isBacklightSupported() const; + long backlight() const; + long backlightMax() const; + void setBacklight(const long value); + + float brightness() const; + /**Brightness is a number between 0 and 2.*/ + void setBrightness(const float percent); + + int id() const; + QString name() const; + +private: + long mBacklightMax; + long mBacklight; + + float mBrightness; + + QString mName; + int mId; +}; + +#endif + diff --git a/lxqt-config-brightness/outputwidget.cpp b/lxqt-config-brightness/outputwidget.cpp new file mode 100644 index 0000000..0605e98 --- /dev/null +++ b/lxqt-config-brightness/outputwidget.cpp @@ -0,0 +1,56 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "outputwidget.h" + +OutputWidget::OutputWidget(MonitorInfo monitor, QWidget *parent):QWidget(parent), mMonitor(monitor) +{ + ui = new Ui::OutputWidget(); + ui->setupUi(this); + + ui->label->setText(""+monitor.name()+":"); + if ( monitor.isBacklightSupported() ) + { + ui->backlightSlider->setMinimum(0); + ui->backlightSlider->setMaximum(monitor.backlightMax()); + ui->backlightSlider->setValue(monitor.backlight()); + ui->backlightSlider->setFocus(Qt::OtherFocusReason); + } + else + ui->backlightSlider->hide(); + ui->brightnessSlider->setMinimum(0); + ui->brightnessSlider->setMaximum(200); + ui->brightnessSlider->setValue(monitor.brightness()*100); + + connect(ui->backlightSlider, SIGNAL(valueChanged(int)), this, SLOT(backlightChanged(int))); + connect(ui->brightnessSlider, SIGNAL(valueChanged(int)), this, SLOT(brightnessChanged(int))); +} + +void OutputWidget::backlightChanged(int value) +{ + mMonitor.setBacklight(value); + emit changed(mMonitor); +} + + +void OutputWidget::brightnessChanged(int value) +{ + mMonitor.setBrightness((float)value/100.0); + emit changed(mMonitor); +} + diff --git a/lxqt-config-brightness/outputwidget.h b/lxqt-config-brightness/outputwidget.h new file mode 100644 index 0000000..ae1417d --- /dev/null +++ b/lxqt-config-brightness/outputwidget.h @@ -0,0 +1,44 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef __OUTPUT_WIDGET_H__ +#define __OUTPUT_WIDGET_H__ + +#include +#include "monitorinfo.h" +#include "ui_outputwidget.h" + +class OutputWidget: public QWidget +{ +Q_OBJECT +public: + OutputWidget(MonitorInfo monitor, QWidget *parent); + +signals: + void changed(MonitorInfo info); + +public slots: + void backlightChanged(int value); + void brightnessChanged(int value); +private: + MonitorInfo mMonitor; + Ui::OutputWidget *ui; +}; + +#endif + diff --git a/lxqt-config-brightness/outputwidget.ui b/lxqt-config-brightness/outputwidget.ui new file mode 100644 index 0000000..9e00a65 --- /dev/null +++ b/lxqt-config-brightness/outputwidget.ui @@ -0,0 +1,84 @@ + + + OutputWidget + + + + 0 + 0 + 478 + 86 + + + + + 0 + 0 + + + + Form + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + 5 + + + + + + <b>Output:</b> + + + Qt::RichText + + + + + + + Qt::Horizontal + + + + + + + + 0 + 0 + + + + + 48 + 48 + + + + false + + + 10.000000000000000 + + + true + + + + + + + + + + + diff --git a/lxqt-config-brightness/resources/lxqt-config-brightness.desktop.in b/lxqt-config-brightness/resources/lxqt-config-brightness.desktop.in new file mode 100644 index 0000000..f65ea0c --- /dev/null +++ b/lxqt-config-brightness/resources/lxqt-config-brightness.desktop.in @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Brightness Settings +Exec=lxqt-config-brightness +Terminal=false +Type=Application +Icon=brightnesssettings +Categories=Settings;DesktopSettings;Qt;LXQt;HardwareSettings; +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=translations \ No newline at end of file diff --git a/lxqt-config-brightness/translations/lxqt-config-brightness_es.desktop b/lxqt-config-brightness/translations/lxqt-config-brightness_es.desktop new file mode 100644 index 0000000..069729b --- /dev/null +++ b/lxqt-config-brightness/translations/lxqt-config-brightness_es.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[es]=Permite cambiar el brillo y el contraste del monitor +GenericName[es]=Configuración de Brillo y contraste LXQt +Name[es]=Configuración de Brillo y contraste LXQt diff --git a/lxqt-config-brightness/translations/lxqt-config-brightness_ru.desktop b/lxqt-config-brightness/translations/lxqt-config-brightness_ru.desktop new file mode 100644 index 0000000..1e22633 --- /dev/null +++ b/lxqt-config-brightness/translations/lxqt-config-brightness_ru.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[ru]=Позволяет менять яркость и контраст монитора +GenericName[ru]=Настройка яркости и контраста LXQt +Name[ru]=Настройка яркости и контраста LXQt diff --git a/lxqt-config-brightness/xrandrbrightness.cpp b/lxqt-config-brightness/xrandrbrightness.cpp new file mode 100644 index 0000000..4a00c52 --- /dev/null +++ b/lxqt-config-brightness/xrandrbrightness.cpp @@ -0,0 +1,411 @@ +/* This file is part of the KDE project + * Copyright (C) 2010 Lukas Tinkl + * Copyright (C) 2015 Kai Uwe Broulik + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License version 2 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public License + * along with this library; see the file COPYING.LIB. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + * + */ + + +#include +#include + +#include "xrandrbrightness.h" + +XRandrBrightness::XRandrBrightness() +{ + if (!QX11Info::isPlatformX11()) { + return; + } + ScopedCPointer versionReply(xcb_randr_query_version_reply(QX11Info::connection(), + xcb_randr_query_version(QX11Info::connection(), 1, 2), + nullptr)); + + if (!versionReply) { + qDebug() << "RandR Query version returned null"; + return; + } + + if (versionReply->major_version < 1 || (versionReply->major_version == 1 && versionReply->minor_version < 2)) { + qDebug() << "RandR version" << versionReply->major_version << "." << versionReply->minor_version << " too old"; + return; + } + ScopedCPointer backlightReply(xcb_intern_atom_reply(QX11Info::connection(), + xcb_intern_atom (QX11Info::connection(), 1, strlen("Backlight"), "Backlight"), + nullptr)); + + if (!backlightReply) { + qDebug() << "Intern Atom for Backlight returned null"; + return; + } + + m_backlight = backlightReply->atom; + + if (m_backlight == XCB_NONE) { + qDebug() << "No outputs have backlight property"; + //return; + } + xcb_screen_iterator_t iter = xcb_setup_roots_iterator(xcb_get_setup(QX11Info::connection())); + if (!iter.rem) { + qDebug() << "XCB Screen Roots Iterator rem was null"; + return; + } + + xcb_screen_t *screen = iter.data; + xcb_window_t root = screen->root; + + m_resources.reset(xcb_randr_get_screen_resources_current_reply(QX11Info::connection(), + xcb_randr_get_screen_resources_current(QX11Info::connection(), root) + , nullptr)); + + if (!m_resources) { + qDebug() << "RANDR Get Screen Resources returned null"; + return; + } +} + + + +bool XRandrBrightness::backlight_get_with_range(xcb_randr_output_t output, long &value, long &min, long &max) const { + long cur = backlight_get(output); + if (cur == -1) { + return false; + } + + ScopedCPointer propertyReply(xcb_randr_query_output_property_reply(QX11Info::connection(), + xcb_randr_query_output_property(QX11Info::connection(), output, m_backlight) + , nullptr)); + + if (!propertyReply) { + return -1; + } + + if (propertyReply->range && xcb_randr_query_output_property_valid_values_length(propertyReply.data()) == 2) { + int32_t *values = xcb_randr_query_output_property_valid_values(propertyReply.data()); + value = cur; + min = values[0]; + max = values[1]; + return true; + } + + return false; +} + +long XRandrBrightness::backlight_get(xcb_randr_output_t output) const +{ + ScopedCPointer propertyReply; + long value; + + if (m_backlight != XCB_ATOM_NONE) { + propertyReply.reset(xcb_randr_get_output_property_reply(QX11Info::connection(), + xcb_randr_get_output_property(QX11Info::connection(), output, m_backlight, XCB_ATOM_NONE, 0, 4, 0, 0) + , nullptr)); + + if (!propertyReply) { + return -1; + } + } + + if (!propertyReply || propertyReply->type != XCB_ATOM_INTEGER || propertyReply->num_items != 1 || propertyReply->format != 32) { + value = -1; + } else { + value = *(reinterpret_cast(xcb_randr_get_output_property_data(propertyReply.data()))); + } + return value; +} + +void XRandrBrightness::backlight_set(xcb_randr_output_t output, long value) +{ + xcb_randr_change_output_property(QX11Info::connection(), output, m_backlight, XCB_ATOM_INTEGER, + 32, XCB_PROP_MODE_REPLACE, + 1, reinterpret_cast(&value)); +} + + +float XRandrBrightness::gamma_brightness_get(xcb_randr_output_t output) +{ + xcb_generic_error_t *error; + + xcb_randr_get_output_info_cookie_t output_info_cookie = xcb_randr_get_output_info (QX11Info::connection(), output, 0); + xcb_randr_get_output_info_reply_t * output_info = xcb_randr_get_output_info_reply (QX11Info::connection(), output_info_cookie, &error); + if(error != NULL) + { + qDebug() << "Error getting output_info"; + return -1; + } + if(output_info == NULL) + { + qDebug() << "Error: output_info is null"; + return -1; + } + // xcb_randr_get_output_info_reply_t tiene como elemento crtc + xcb_randr_get_crtc_gamma_cookie_t gamma_cookie = xcb_randr_get_crtc_gamma_unchecked (QX11Info::connection(), output_info->crtc); + xcb_randr_get_crtc_gamma_reply_t *gamma_reply = xcb_randr_get_crtc_gamma_reply (QX11Info::connection(), gamma_cookie, &error); + if(error != NULL) + { + qDebug() << "Error getting gamma_reply"; + return -1; + } + if(gamma_reply == NULL) + { + qDebug() << "Error: gamma_reply is null"; + return -1; + } + uint16_t *red = xcb_randr_get_crtc_gamma_red (gamma_reply); + if(red == NULL) + { + qDebug() << "Error: red is null"; + return -1; + } + int red_length = xcb_randr_get_crtc_gamma_red_length(gamma_reply); + + // uint16_t *green = xcb_randr_get_crtc_gamma_green (gamma_reply); + // if(green == NULL) + // { + // qDebug() << "Error: green is null"; + // return -1; + // } + // uint16_t *blue = xcb_randr_get_crtc_gamma_blue (gamma_reply); + // if(blue == NULL) + // { + // qDebug() << "Error: blue is null"; + // return -1; + // } + + float brightness = (float)red[red_length-1]/65535.0; + return brightness; +} + +void XRandrBrightness::gamma_brightness_set(xcb_randr_output_t output, float percent) +{ + xcb_generic_error_t *error; + + xcb_randr_get_output_info_cookie_t output_info_cookie = xcb_randr_get_output_info (QX11Info::connection(), output, 0); + xcb_randr_get_output_info_reply_t * output_info = xcb_randr_get_output_info_reply (QX11Info::connection(), output_info_cookie, &error); + if(error != NULL) + { + qDebug() << "Error getting output_info"; + return; + } + if(output_info == NULL) + { + qDebug() << "Error: output_info is null"; + return; + } + // xcb_randr_get_output_info_reply_t tiene como elemento crtc + xcb_randr_get_crtc_gamma_cookie_t gamma_cookie = xcb_randr_get_crtc_gamma_unchecked (QX11Info::connection(), output_info->crtc); + xcb_randr_get_crtc_gamma_reply_t *gamma_reply = xcb_randr_get_crtc_gamma_reply (QX11Info::connection(), gamma_cookie, &error); + if(error != NULL) + { + qDebug() << "Error getting gamma_reply"; + return; + } + if(gamma_reply == NULL) + { + qDebug() << "Error: gamma_reply is null"; + return; + } + uint16_t *red = xcb_randr_get_crtc_gamma_red (gamma_reply); + if(red == NULL) + { + qDebug() << "Error: red is null"; + return; + } + int red_length = xcb_randr_get_crtc_gamma_red_length(gamma_reply); + uint16_t *green = xcb_randr_get_crtc_gamma_green (gamma_reply); + if(green == NULL) + { + qDebug() << "Error: green is null"; + return; + } + uint16_t *blue = xcb_randr_get_crtc_gamma_blue (gamma_reply); + if(blue == NULL) + { + qDebug() << "Error: blue is null"; + return; + } + + float max_gamma = 65535*percent; + for(int i=0;icrtc, red_length, red, green, blue); +} + + +QList XRandrBrightness::getMonitorsInfo() +{ + QList monitors; + + if (!m_resources) { + return monitors; + } + + auto *outputs = xcb_randr_get_screen_resources_current_outputs(m_resources.data()); + for (int i = 0; i < m_resources->num_outputs; ++i) { + xcb_randr_output_t output = outputs[i]; + + xcb_generic_error_t *error; + + xcb_randr_get_output_info_cookie_t output_info_cookie = xcb_randr_get_output_info (QX11Info::connection(), output, 0); + xcb_randr_get_output_info_reply_t * output_info = xcb_randr_get_output_info_reply (QX11Info::connection(), output_info_cookie, &error); + if(error != NULL) + { + qDebug() << "Error getting output_info"; + continue; + } + if(output_info == NULL) + { + qDebug() << "Error: output_info is null"; + continue; + } + + QString name = QString::fromUtf8((const char *) xcb_randr_get_output_info_name(output_info), output_info->name_len); + + + qDebug() << "Found output:" << name; + + + // Is connected? + if ( (xcb_randr_connection_t)(output_info->connection) != XCB_RANDR_CONNECTION_CONNECTED ) + { + qDebug() << "Output is not connected"; + continue; // This output is not connected. Check other + } + + // Is enabled? + if( output_info->crtc == 0) + { + qDebug() << "Crtc is not null. Output not enabled."; + continue; + } + xcb_randr_get_crtc_info_cookie_t crtc_info_cookie = xcb_randr_get_crtc_info_unchecked (QX11Info::connection(), output_info->crtc, 0); + xcb_randr_get_crtc_info_reply_t *crtc_info =xcb_randr_get_crtc_info_reply (QX11Info::connection(), crtc_info_cookie, &error); + if(error != NULL) + { + qDebug() << "Error getting output_info"; + continue; + } + if(crtc_info == NULL) + { + qDebug() << "Error: output_info is null"; + continue; + } + if( crtc_info->mode == XCB_NONE ) + { + qDebug() << "No modes. Output not enabled."; + continue; + } + + // Output is connected and enabled. Get data: + bool backlightIsSuported = false; + long cur, min, max, backlight_max = -1; + if (backlight_get(output) != -1) + { + if (backlight_get_with_range(output, cur, min, max)) + { + backlightIsSuported = true; + backlight_max = max - min; + } + } + + MonitorInfo monitor((int)output, name, backlight_max); + + if(backlightIsSuported) + monitor.setBacklight(cur-min); + + monitor.setBrightness(gamma_brightness_get(output)); + + qDebug() << "Output:" << name << "added"; + monitors.append(monitor); + + } + + return monitors; +} + +void XRandrBrightness::setMonitorsSettings(QList monitors) +{ + if (!m_resources) { + return; + } + + auto *outputs = xcb_randr_get_screen_resources_current_outputs(m_resources.data()); + for (int i = 0; i < m_resources->num_outputs; ++i) { + xcb_randr_output_t output = outputs[i]; + + xcb_generic_error_t *error; + + xcb_randr_get_output_info_cookie_t output_info_cookie = xcb_randr_get_output_info (QX11Info::connection(), output, 0); + xcb_randr_get_output_info_reply_t * output_info = xcb_randr_get_output_info_reply (QX11Info::connection(), output_info_cookie, &error); + if(error != NULL) + { + qDebug() << "Error getting output_info"; + continue; + } + if(output_info == NULL) + { + qDebug() << "Error: output_info is null"; + continue; + } + + // Is connected? + if ( (xcb_randr_connection_t)(output_info->connection) != XCB_RANDR_CONNECTION_CONNECTED ) + continue; // This output is not connected. Check other + + // Is enabled? + if( output_info->crtc == 0) + continue; + xcb_randr_get_crtc_info_cookie_t crtc_info_cookie = xcb_randr_get_crtc_info_unchecked (QX11Info::connection(), output_info->crtc, 0); + xcb_randr_get_crtc_info_reply_t *crtc_info =xcb_randr_get_crtc_info_reply (QX11Info::connection(), crtc_info_cookie, &error); + if(error != NULL) + continue; + if(crtc_info == NULL && crtc_info->mode == XCB_NONE ) + continue; + + QString name = QString::fromUtf8((const char *) xcb_randr_get_output_info_name(output_info), output_info->name_len); + + // Output is connected and enabled. Get data: + bool backlightIsSuported = false; + long cur, min, max, backlight_max = -1, backlight_value = 0; + if (backlight_get(output) != -1) + { + if (backlight_get_with_range(output, cur, min, max)) + { + backlightIsSuported = true; + backlight_max = max - min; + backlight_value = cur - min; + } + } + float brightness_value = gamma_brightness_get(output); + + // Compare output info with settings and set it. + for(MonitorInfo monitor: monitors) + { + if(monitor.id() == (int)output && monitor.name() == name) + { + // Set settings + if(backlightIsSuported && monitor.backlight() != backlight_value) + backlight_set(output, min+monitor.backlight()); + if(monitor.brightness() != brightness_value) + gamma_brightness_set(output, monitor.brightness()); + break; + } + } + } +} + diff --git a/lxqt-config-brightness/xrandrbrightness.h b/lxqt-config-brightness/xrandrbrightness.h new file mode 100644 index 0000000..d3a7917 --- /dev/null +++ b/lxqt-config-brightness/xrandrbrightness.h @@ -0,0 +1,56 @@ +/* This file is part of the KDE project + * Copyright (C) 2010 Lukas Tinkl + * Copyright (C) 2015 Kai Uwe Broulik + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License version 2 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public License + * along with this library; see the file COPYING.LIB. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + * + */ + +#ifndef XRANDRBRIGHTNESS_H +#define XRANDRBRIGHTNESS_H + +#include +#include + +#include +#include + +#include "monitorinfo.h" + +template using ScopedCPointer = QScopedPointer; + +class XRandrBrightness +{ +public: + XRandrBrightness(); + ~XRandrBrightness() = default; + + QList getMonitorsInfo(); + void setMonitorsSettings(QList monitors); + +private: + bool backlight_get_with_range(xcb_randr_output_t output, long &value, long &min, long &max) const; + long backlight_get(xcb_randr_output_t output) const; + void backlight_set(xcb_randr_output_t output, long value); + float gamma_brightness_get(xcb_randr_output_t output); + void gamma_brightness_set(xcb_randr_output_t output, float percent); + + xcb_atom_t m_backlight = XCB_ATOM_NONE; + ScopedCPointer m_resources; + +}; + +#endif // XRANDRBRIGHTNESS_H + diff --git a/lxqt-config-file-associations/CMakeLists.txt b/lxqt-config-file-associations/CMakeLists.txt index 0506723..ca27020 100644 --- a/lxqt-config-file-associations/CMakeLists.txt +++ b/lxqt-config-file-associations/CMakeLists.txt @@ -40,6 +40,16 @@ lxqt_translate_ts(QM_FILES ${UI_FILES} INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} + REPO_SUBDIR + "lxqt-config/${PROJECT_NAME}" ) lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) diff --git a/lxqt-config-file-associations/mimetypeitemmodel.cpp b/lxqt-config-file-associations/mimetypeitemmodel.cpp index b79d2bf..0e1fd44 100644 --- a/lxqt-config-file-associations/mimetypeitemmodel.cpp +++ b/lxqt-config-file-associations/mimetypeitemmodel.cpp @@ -188,7 +188,7 @@ bool MimetypeFilterItemModel::filterHelper(QModelIndex& source_index) const return true; } - foreach (const QString pattern, mimeInfo->patterns()) + foreach (const QString &pattern, mimeInfo->patterns()) { if (pattern.contains(filterRegExp())) { diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations.ts deleted file mode 100644 index 5bc0ad2..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - - - - - Pick an application for: - - - - - 1 - - - - - Applications that handle JPEG - - - - - - - - New Subitem - - - - - - Other applications - - - - - Applications that handle %1 - - - - - No applications found - - - - - MimetypeViewer - - - - None - - - - - &Change... - - - - - &Choose... - - - - - mimetypeviewer - - - File Associations - - - - - Default application - - - - - &Choose... - - - - - TextLabel - - - - - None - - - - - Patterns - - - - - *.txt *.xml - - - - - MIME type - - - - - Icon - - - - - Description - - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_de.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_de.ts deleted file mode 100644 index 92ba41f..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_de.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - Dateizuordnungen - - - - Pick an application for: - Anwendung auswählen für: - - - - 1 - 1 - - - - Applications that handle JPEG - Anwendungen die JPEG verarbeiten - - - - - - - New Subitem - Neuer Unterpunkt - - - - - Other applications - Andere Anwendung - - - - Applications that handle %1 - Anwendungen die %1 verarbeiten - - - - No applications found - Keine Anwendung gefunden - - - - MimetypeViewer - - - - None - Keine - - - - &Change... - Ä&ndern... - - - - &Choose... - &Auswählen... - - - - mimetypeviewer - - - File Associations - Dateizuordnungen - - - - Default application - Default-Anwendungsprogramm - - - - &Choose... - &Auswählen... - - - - TextLabel - Textfeld - - - - None - Keins - - - - Patterns - Dateimuster - - - - *.txt *.xml - *.txt *.xml - - - - MIME type - MIME-Typ - - - - Icon - Symbol - - - - Description - Beschreibung - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_el.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_el.ts deleted file mode 100644 index a90712a..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_el.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - Επιλογέας εφαρμογής - - - - Pick an application for: - Επιλέξτε μια εφαρμογή για: - - - - 1 - 1 - - - - Applications that handle JPEG - Εφαρμογές που διαχειρίζονται αρχεία JPEG - - - - - - - New Subitem - Νέο υποαντικείμενο - - - - - Other applications - Άλλες εφαρμογές - - - - Applications that handle %1 - Εφαρμογές που διαχειρίζονται %1 - - - - No applications found - Δεν βρέθηκε εφαρμογή - - - - MimetypeViewer - - - - None - Καμία - - - - &Change... - &Αλλαγή... - - - - &Choose... - &Επιλογή... - - - - mimetypeviewer - - - File Associations - Συσχετίσεις αρχείων - - - - Default application - Εξ ορισμού εφαρμογή - - - - &Choose... - &Επιλογή... - - - - TextLabel - Ετικέτα - - - - None - Καμία - - - - Patterns - Σχηματομορφές - - - - *.txt *.xml - *.txt *.xml - - - - MIME type - Τύπος MIME - - - - Icon - Εικονίδιο - - - - Description - Περιγραφή - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_hu.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_hu.ts deleted file mode 100644 index 33699e6..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_hu.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - Alkalmazás választó - - - - Pick an application for: - Válassz alkalmazást ehhez: - - - - 1 - - - - - Applications that handle JPEG - JPEG kezelő alkalmazás - - - - - - - New Subitem - ÚJ alelem - - - - - Other applications - Más alkalmazás - - - - Applications that handle %1 - A %1 kezelő alkalmazás - - - - No applications found - Nincs alkalmazás - - - - MimetypeViewer - - - - None - Nincs - - - - &Change... - &Változtat - - - - &Choose... - &Választás - - - - mimetypeviewer - - - File Associations - Fájlhozzárendelések - - - - Default application - Alapértelmezett alkalmazás - - - - &Choose... - &Választás... - - - - TextLabel - Felirat - - - - None - Nincs - - - - Patterns - Szűrők - - - - *.txt *.xml - - - - - MIME type - MIME típus - - - - Icon - Ikon - - - - Description - Leírás - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_it.desktop b/lxqt-config-file-associations/translations/lxqt-config-file-associations_it.desktop index cc52e20..70fac81 100644 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_it.desktop +++ b/lxqt-config-file-associations/translations/lxqt-config-file-associations_it.desktop @@ -1,4 +1,4 @@ # Translations Name[it]=Associazioni file -GenericName[it]=Impostare le associazioni file -Comment[it]=Impostare le associazioni file per le applicazioni installate +GenericName[it]=Imposta le associazioni file +Comment[it]=Imposta le associazioni file per le applicazioni installate diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_it.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_it.ts deleted file mode 100644 index 9e4b549..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_it.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - Applicazioni predefinite - - - - Pick an application for: - Scegli un applicazione per: - - - - 1 - 1 - - - - Applications that handle JPEG - Applicazioni che possono gestire JPEG - - - - - - - New Subitem - - - - - - Other applications - Altre applicazioni - - - - Applications that handle %1 - Applicazioni che possono gestire %1 - - - - No applications found - Nessuna applicazione trovata - - - - MimetypeViewer - - - - None - Nessuno - - - - &Change... - &Cambia... - - - - &Choose... - &Scegli... - - - - mimetypeviewer - - - File Associations - Associazioni file - - - - Default application - Applicazione predefinita - - - - &Choose... - &Scegli... - - - - TextLabel - - - - - None - - - - - Patterns - Tipi di file - - - - *.txt *.xml - - - - - MIME type - Tipo MIME - - - - Icon - Icona - - - - Description - Descrizione - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ja.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_ja.ts deleted file mode 100644 index eb2fec7..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ja.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - アプリケーションの関連付け - - - - Pick an application for: - このファイルを開くアプリケーション: - - - - 1 - 1 - - - - Applications that handle JPEG - JPEGを扱うアプリケーション - - - - - - - New Subitem - 新しいサブアイテム - - - - - Other applications - その他のアプリケーション - - - - Applications that handle %1 - %1 を扱うアプリケーション - - - - No applications found - アプリケーションが見つかりませんでした - - - - MimetypeViewer - - - - None - なし - - - - &Change... - 変更(&C) - - - - &Choose... - 選択(&C) - - - - mimetypeviewer - - - File Associations - ファイルの関連付け - - - - Default application - デフォルトのアプリケーション - - - - &Choose... - 選択(&C) - - - - TextLabel - テキストラベル - - - - None - なし - - - - Patterns - パターン - - - - *.txt *.xml - *.txt *.xml - - - - MIME type - MIMEタイプ - - - - Icon - アイコン - - - - Description - 説明 - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_pl_PL.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_pl_PL.ts deleted file mode 100644 index 5e2480b..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_pl_PL.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - Wybór programu - - - - Pick an application for: - Wybierz program do obsługi: - - - - 1 - 1 - - - - Applications that handle JPEG - Programy obsługujące JPEG - - - - - - - New Subitem - Nowa pozycja - - - - - Other applications - Inne programy - - - - Applications that handle %1 - Programy obsługujące %1 - - - - No applications found - Nie znaleziono programów - - - - MimetypeViewer - - - - None - Brak - - - - &Change... - &Zmień... - - - - &Choose... - &Wybierz... - - - - mimetypeviewer - - - File Associations - Skojarzenia plików - - - - Default application - Domyślny program - - - - &Choose... - &Wybierz... - - - - TextLabel - TextLabel - - - - None - None - - - - Patterns - Rozszerzenia - - - - *.txt *.xml - *.txt *.xml - - - - MIME type - Typ MIME - - - - Icon - Ikona - - - - Description - Opis - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_pt.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_pt.ts deleted file mode 100644 index f46fcf9..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_pt.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - Seletor de aplicações - - - - Pick an application for: - Escolha uma aplicação para: - - - - 1 - 1 - - - - Applications that handle JPEG - Aplicações para manipular JPEG - - - - - - - New Subitem - Novo subitem - - - - - Other applications - Outras aplicações - - - - Applications that handle %1 - Aplicações para manipular %1 - - - - No applications found - Nenhuma aplicação encontrada - - - - MimetypeViewer - - - - None - Nenhum - - - - &Change... - &Mudar... - - - - &Choose... - Es&colher... - - - - mimetypeviewer - - - File Associations - Associação de ficheiros - - - - Default application - Aplicaçao pré-definida - - - - &Choose... - Es&colher... - - - - TextLabel - Etiqueta - - - - None - Nenhuma - - - - Patterns - Padrões - - - - *.txt *.xml - *.txt *.xml - - - - MIME type - Tipo MIME - - - - Icon - Ícone - - - - Description - Descrição - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru.desktop b/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru.desktop index 2024701..3a1697e 100644 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru.desktop +++ b/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru.desktop @@ -1,4 +1,4 @@ # Translations -Comment[ru]=Настроить приложения ассоциированные с известным типом файлв +Comment[ru]=Настроить приложения, ассоциированные с известными типами файлов GenericName[ru]=Настройки ассоциации файлов Name[ru]=Ассоциация файлов \ No newline at end of file diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru.ts deleted file mode 100644 index b151624..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - Выбор приложения - - - - Pick an application for: - Выбрать приложение для: - - - - 1 - - - - - Applications that handle JPEG - Приложения, которые поддерживают JPEG - - - - - - - New Subitem - - - - - - Other applications - Другие приложения - - - - Applications that handle %1 - Приложение, которое поддерживает %1 - - - - No applications found - Не найдены приложения - - - - MimetypeViewer - - - - None - Нет - - - - &Change... - &Изменить... - - - - &Choose... - &Выбрать... - - - - mimetypeviewer - - - File Associations - Ассоциация файлов - - - - Default application - Приложение по умолчанию - - - - &Choose... - &Выбрать... - - - - TextLabel - - - - - None - Нет - - - - Patterns - Шаблоны - - - - *.txt *.xml - - - - - MIME type - MIME-тип - - - - Icon - Значок - - - - Description - Описание - - - diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru_RU.desktop b/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru_RU.desktop deleted file mode 100644 index d4fe06e..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru_RU.desktop +++ /dev/null @@ -1,4 +0,0 @@ -# Translations -Comment[ru_RU]=Настроить приложения ассоциированные с известным типом файлв -GenericName[ru_RU]=Настройки ассоциации файлов -Name[ru_RU]=Ассоциация файлов \ No newline at end of file diff --git a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru_RU.ts b/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru_RU.ts deleted file mode 100644 index b151624..0000000 --- a/lxqt-config-file-associations/translations/lxqt-config-file-associations_ru_RU.ts +++ /dev/null @@ -1,123 +0,0 @@ - - - - - ApplicationChooser - - - ApplicationChooser - Выбор приложения - - - - Pick an application for: - Выбрать приложение для: - - - - 1 - - - - - Applications that handle JPEG - Приложения, которые поддерживают JPEG - - - - - - - New Subitem - - - - - - Other applications - Другие приложения - - - - Applications that handle %1 - Приложение, которое поддерживает %1 - - - - No applications found - Не найдены приложения - - - - MimetypeViewer - - - - None - Нет - - - - &Change... - &Изменить... - - - - &Choose... - &Выбрать... - - - - mimetypeviewer - - - File Associations - Ассоциация файлов - - - - Default application - Приложение по умолчанию - - - - &Choose... - &Выбрать... - - - - TextLabel - - - - - None - Нет - - - - Patterns - Шаблоны - - - - *.txt *.xml - - - - - MIME type - MIME-тип - - - - Icon - Значок - - - - Description - Описание - - - diff --git a/lxqt-config-input/CMakeLists.txt b/lxqt-config-input/CMakeLists.txt index 5c42961..e19386c 100644 --- a/lxqt-config-input/CMakeLists.txt +++ b/lxqt-config-input/CMakeLists.txt @@ -40,6 +40,16 @@ lxqt_translate_ts(QM_FILES ${lxqt-config-input_UIS} INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} + REPO_SUBDIR + "lxqt-config/${PROJECT_NAME}" ) lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) @@ -68,7 +78,7 @@ target_link_libraries(lxqt-config-input set_target_properties(lxqt-config-input PROPERTIES - INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/${LXQT_CONFIG_PROJECT}" + INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}/${LXQT_CONFIG_PROJECT}" ) install(TARGETS diff --git a/lxqt-config-input/keyboardlayoutconfig.cpp b/lxqt-config-input/keyboardlayoutconfig.cpp index 3f9f39b..7c4c1c7 100644 --- a/lxqt-config-input/keyboardlayoutconfig.cpp +++ b/lxqt-config-input/keyboardlayoutconfig.cpp @@ -94,8 +94,8 @@ enum ListSection{ void KeyboardLayoutConfig::loadLists() { // load known lists from xkb data files - // FIXME: maybe we should use different files for different OSes? - QFile file(QLatin1String("/usr/share/X11/xkb/rules/base.lst")); + // XKBD_BASELIST_PATH is os dependent see keyboardlayoutconfig.h + QFile file(QLatin1String(XKBD_BASELIST_PATH)); if(file.open(QIODevice::ReadOnly)) { ListSection section = NoSection; while(!file.atEnd()) { diff --git a/lxqt-config-input/keyboardlayoutconfig.h b/lxqt-config-input/keyboardlayoutconfig.h index 40642e0..383335f 100644 --- a/lxqt-config-input/keyboardlayoutconfig.h +++ b/lxqt-config-input/keyboardlayoutconfig.h @@ -21,6 +21,17 @@ #ifndef KEYBOARDLAYOUTCONFIG_H #define KEYBOARDLAYOUTCONFIG_H +#include +#ifdef Q_OS_LINUX +#define XKBD_BASELIST_PATH "/usr/share/X11/xkb/rules/base.lst" +#elif defined(Q_OS_FREEBSD) +#define XKBD_BASELIST_PATH "/usr/local/share/X11/xkb/rules/base.lst" +#elif defined(Q_OS_OPENBSD) +#define XKBD_BASELIST_PATH "/usr/X11R6/share/X11/xkb/rules/base.lst" +#else +#define XKBD_BASELIST_PATH "/usr/local/share/X11/xkb/rules/base.lst" +#endif + #include #include "keyboardlayoutinfo.h" #include diff --git a/lxqt-config-input/mouseconfig.cpp b/lxqt-config-input/mouseconfig.cpp index 0db04a5..0f25283 100644 --- a/lxqt-config-input/mouseconfig.cpp +++ b/lxqt-config-input/mouseconfig.cpp @@ -105,14 +105,23 @@ void MouseConfig::onMouseThresholdChanged(int value) { #define DEFAULT_PTR_MAP_SIZE 128 void MouseConfig::setLeftHandedMouse() { unsigned char* buttons; + unsigned char* more_buttons; int n_buttons, i; int idx_1 = 0, idx_3 = 1; buttons = (unsigned char*)malloc(DEFAULT_PTR_MAP_SIZE); + if(!buttons) { + return; + } n_buttons = XGetPointerMapping(QX11Info::display(), buttons, DEFAULT_PTR_MAP_SIZE); if(n_buttons > DEFAULT_PTR_MAP_SIZE) { - buttons = (unsigned char*)realloc(buttons, n_buttons); + more_buttons = (unsigned char*)realloc(buttons, n_buttons); + if(!more_buttons) { + free(buttons); + return; + } + buttons = more_buttons; n_buttons = XGetPointerMapping(QX11Info::display(), buttons, n_buttons); } diff --git a/lxqt-config-input/selectkeyboardlayoutdialog.cpp b/lxqt-config-input/selectkeyboardlayoutdialog.cpp index 99fac20..3bd5ef1 100644 --- a/lxqt-config-input/selectkeyboardlayoutdialog.cpp +++ b/lxqt-config-input/selectkeyboardlayoutdialog.cpp @@ -28,7 +28,7 @@ SelectKeyboardLayoutDialog::SelectKeyboardLayoutDialog(QMap< QString, KeyboardLa connect(ui.layouts, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)), SLOT(onLayoutChanged())); QMap::const_iterator it; - for(it = knownLayouts_.begin(); it != knownLayouts.end(); ++it) { + for(it = knownLayouts_.begin(); it != knownLayouts_.end(); ++it) { const QString& name = it.key(); const KeyboardLayoutInfo& info = *it; QListWidgetItem * item = new QListWidgetItem(info.description); diff --git a/lxqt-config-input/translations/lxinput-qt_template-zh_TW.ts b/lxqt-config-input/translations/lxinput-qt_template-zh_TW.ts deleted file mode 100644 index 8b5600d..0000000 --- a/lxqt-config-input/translations/lxinput-qt_template-zh_TW.ts +++ /dev/null @@ -1,82 +0,0 @@ - - - - MainDialog - - Input Device Preferences - 輸入裝置偏好設定 - - - Motion - 移動 - - - High - - - - Fast - - - - Sensitivity: - 敏感度: - - - Low - - - - Acceleration: - 加速度: - - - Slow - - - - 0 - - - - Left handed (Swap left and right mouse buttons) - 慣用左手 (將滑鼠左右鍵倒轉) - - - Mouse - 滑鼠 - - - Character Repeat - 字元重覆 - - - Long - - - - Repeat delay: - 重複延遲: - - - Short - - - - Repeat interval: - 重複間隔: - - - Type in the following box to test your keyboard settings - - - - Beep when there is an error of keyboard input - - - - Keyboard - 鍵盤 - - - diff --git a/lxqt-config-input/translations/lxqt-config-input.ts b/lxqt-config-input/translations/lxqt-config-input.ts deleted file mode 100644 index 39ed269..0000000 --- a/lxqt-config-input/translations/lxqt-config-input.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_af.ts b/lxqt-config-input/translations/lxqt-config-input_af.ts deleted file mode 100644 index ac74948..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_af.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_ar.ts b/lxqt-config-input/translations/lxqt-config-input_ar.ts deleted file mode 100644 index d264db2..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_ar.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_bg.ts b/lxqt-config-input/translations/lxqt-config-input_bg.ts deleted file mode 100644 index d4351ae..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_bg.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Звуков сигнал, когато има грешка при набирането - - - - ms - - - - - Character Repeat - Повторение на знаци - - - - - Long - Дълго - - - - Repeat delay: - Задържане на повторението: - - - - - Short - Кратко - - - - Repeat interval: - Интервал на повторение: - - - - Type in the following box to test your keyboard settings - Наберете в следната кутия, за да тествате клавиатурните настройки - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Настройки на входните устройства - - - Motion - Движение - - - High - Високо - - - Fast - Бързо - - - Sensitivity: - Чувствителност: - - - Low - Ниско - - - Acceleration: - Ускорение: - - - Slow - Бавно - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Лява ръка (смяна на ляв и десен бутони на мишката) - - - Mouse - Мишка - - - Character Repeat - Повторение на знаци - - - Long - Дълго - - - Repeat delay: - Задържане на повторението: - - - Short - Кратко - - - Repeat interval: - Интервал на повторение: - - - Type in the following box to test your keyboard settings - Наберете в следната кутия, за да тествате клавиатурните настройки - - - Beep when there is an error of keyboard input - Звуков сигнал, когато има грешка при набирането - - - Keyboard - Клавиатура - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Движение - - - - High - Високо - - - - Fast - Бързо - - - - Sensitivity: - Чувствителност: - - - - Low - Ниско - - - - Acceleration: - Ускорение: - - - - Slow - Бавно - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Лява ръка (смяна на ляв и десен бутони на мишката) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Мишка - - - - Cursor - - - - - Keyboard - Клавиатура - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_bn.ts b/lxqt-config-input/translations/lxqt-config-input_bn.ts deleted file mode 100644 index eb38981..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_bn.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_bn_IN.ts b/lxqt-config-input/translations/lxqt-config-input_bn_IN.ts deleted file mode 100644 index 5f7e60c..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_bn_IN.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_ca.ts b/lxqt-config-input/translations/lxqt-config-input_ca.ts deleted file mode 100644 index 431b70e..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_ca.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_cs.ts b/lxqt-config-input/translations/lxqt-config-input_cs.ts deleted file mode 100644 index 7b52098..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_cs.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_da.ts b/lxqt-config-input/translations/lxqt-config-input_da.ts deleted file mode 100644 index c2ca1f8..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_da.ts +++ /dev/null @@ -1,317 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - Lang - - - - Repeat delay: - Interval mellem gentagelser: - - - - - Short - Kort - - - - Repeat interval: - Gentagelsesinterval: - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Enhedspræference - - - Motion - Bevægelse - - - High - Høj - - - Fast - Hurtig - - - Sensitivity: - Følsomhed: - - - Low - Lav - - - Acceleration: - Enhedspræference - - - Slow - Langsom - - - Left handed (Swap left and right mouse buttons) - Venstrehåndet (Byt rundt på venstre og højre museknap) - - - Mouse - Mus - - - Long - Lang - - - Repeat delay: - Interval mellem gentagelser: - - - Short - Kort - - - Repeat interval: - Gentagelsesinterval: - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Bevægelse - - - - High - Høj - - - - Fast - Hurtig - - - - Sensitivity: - Følsomhed: - - - - Low - Lav - - - - Acceleration: - Enhedspræference - - - - Slow - Langsom - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Venstrehåndet (Byt rundt på venstre og højre museknap) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Mus - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_de.ts b/lxqt-config-input/translations/lxqt-config-input_de.ts deleted file mode 100644 index 1214980..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_de.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - Dialogfenster - - - - Cursor flash time: - Cursorblinkrate: - - - - <b>Keyboard</b> - <b>Tastatur</b> - - - - Beep when there is an error of keyboard input - Signalton bei Fehleingaben - - - - ms - ms - - - - Character Repeat - Zeichenwiederholung - - - - - Long - Lang - - - - Repeat delay: - Verzögerung: - - - - - Short - Kurz - - - - Repeat interval: - Geschwindigkeit: - - - - Type in the following box to test your keyboard settings - Testbereich für Tastatureinstellungen - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - <b>Tastenbelegung</b> - - - - Layout - Belegung - - - - Variant - Variante - - - - &Add - H&inzufügen - - - - &Remove - &Entfernen - - - - up - Nach oben - - - - down - Nach unten - - - - Keyboard model: - Tastatur-Modell: - - - - Keys to change layout: - Tastenkombination zum Ändern der Belegung: - - - - None - Keine - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - <html><head/><body><p><span style=" font-weight:600;">Anmerkung</span>: Falls Sie eine <span style=" font-weight:600;">Eingabemethode</span> wie IBus, uim, fcitx oder gcin verwenden, werden die Einstellungen hier <span style=" font-weight:600;">möglicherweise nicht funktionieren</span>, weil sie von den Eingabemethoden aufgehoben werden.</p></body></html> - - - - MouseConfig - - - Form - Dialogfenster - - - - <b>Mouse</b> - <b>Maus</b> - - - - Motion - Bewegung - - - - High - Hoch - - - - Fast - Schnell - - - - Sensitivity: - Empfindlichkeit: - - - - Low - Niedrig - - - - Acceleration: - Beschleunigung: - - - - Slow - Langsam - - - - - 0 - 0 - - - - Double click interval: - Doppelklickgeschwindigkeit: - - - - ms - ms - - - - Wheel scroll lines: - Mausrad erzeugt Bildlauf um ... Zeilen: - - - - Left handed (Swap left and right mouse buttons) - Linkshändige Bedienung (linke und rechte Maustaste vertauschen) - - - - Single click to activate items - Einfacher Klick aktiviert Elemente - - - - QObject - - - Keyboard and Mouse Settings - Einstellungen von Tastatur und Maus - - - - Mouse - Maus - - - - Cursor - Cursor - - - - Keyboard - Tastatur - - - - Keyboard Layout - Tastenbelegung - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - Auswählen der Tastenbelegung - - - - Keyboard layout - Tastenbelegung - - - - Variant - Variante - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_el.ts b/lxqt-config-input/translations/lxqt-config-input_el.ts deleted file mode 100644 index 06b0d1c..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_el.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - Παράθυρο διαλόγου - - - - Cursor flash time: - Χρόνος αναβοσβήματος δρομέα: - - - - <b>Keyboard</b> - <b>Πληκτρολόγιο</b> - - - - Beep when there is an error of keyboard input - Προειδοποιητικός ήχος αν υπάρχει σφάλμα στην είσοδο πληκτρολογίου - - - - ms - ms - - - - Character Repeat - Επανάληψη χαρακτήρα - - - - - Long - Μακρύ - - - - Repeat delay: - Καθυστέρηση επανάληψης: - - - - - Short - Βραχύ - - - - Repeat interval: - Χρονικό διάστημα επανάληψης: - - - - Type in the following box to test your keyboard settings - Πληκτρολογήστε στο παρακάτω πλαίσιο για να δοκιμάσετε τις ρυθμίσεις του πληκτρολογίου - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - <b>Διάταξη πληκτρολογίου</b> - - - - Layout - Διάταξη - - - - Variant - Παραλλαγή - - - - &Add - &Προσθήκη - - - - &Remove - Α&φαίρεση - - - - up - πάνω - - - - down - κάτω - - - - Keyboard model: - Μοντέλο πληκτρολογίου: - - - - Keys to change layout: - Πλήκτρα αλλαγής της διάταξης: - - - - None - Κανένα - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - <html><head/><body><p><span style=" font-weight:600;">Σημείωση</span>: Αν χρησιμοποιείτε μια <span style=" font-weight:600;">μέθοδο εισαγωγής</span>, όπως IBus, uim, fcitx, ή gcin, οι παρούσες ρυθμίσεις ίσως να <span style=" font-weight:600;">μην λειτουργούν</span> ένεκα της αντικατάστασής τους από τις μεθόδους εισαγωγής.</p></body></html> - - - - MouseConfig - - - Form - Παράθυρο διαλόγου - - - - <b>Mouse</b> - <b>Ποντίκι</b> - - - - Motion - Κίνηση - - - - High - Υψηλό - - - - Fast - Γρήγορο - - - - Sensitivity: - Ευαισθησία: - - - - Low - Χαμηλό - - - - Acceleration: - Επιτάχυνση: - - - - Slow - Αργό - - - - - 0 - 0 - - - - Double click interval: - Χρονικό διάστημα διπλού κλικ: - - - - ms - ms - - - - Wheel scroll lines: - Γραμμές κύλισης τροχού: - - - - Left handed (Swap left and right mouse buttons) - Αριστερόχειρας (Εναλλαγή του δεξιού και αριστερού κουμπιού) - - - - Single click to activate items - Ενεργοποίηση των αντικειμένων με μονό κλικ - - - - QObject - - - Keyboard and Mouse Settings - Ρυθμίσεις πληκτρολογίου και ποντικιού - - - - Mouse - Ποντίκι - - - - Cursor - Δρομέας - - - - Keyboard - Πληκτρολόγιο - - - - Keyboard Layout - Διάταξη πληκτρολογίου - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - Επιλέξτε μια διάταξη πληκτρολογίου - - - - Keyboard layout - Διάταξη πληκτρολογίου - - - - Variant - Παραλλαγή - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_es.ts b/lxqt-config-input/translations/lxqt-config-input_es.ts deleted file mode 100644 index ec98896..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_es.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Pitar cuando ocurra un error de entrada del teclado - - - - ms - - - - - Character Repeat - Repetición de caracteres - - - - - Long - Largo - - - - Repeat delay: - Retardo de repetición: - - - - - Short - Corto - - - - Repeat interval: - Intervalo de repetición: - - - - Type in the following box to test your keyboard settings - Escriba en el siguiente cuadro para probar la configuración - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Preferencias del dispositivo de entrada - - - Motion - Movimiento - - - High - Alta - - - Fast - Rápido - - - Sensitivity: - Sensibilidad: - - - Low - Baja - - - Acceleration: - Aceleración: - - - Slow - Lento - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Zurdo (invertir botones izquierdo y derecho del ratón) - - - Mouse - Ratón - - - Character Repeat - Repetición de caracteres - - - Long - Largo - - - Repeat delay: - Retardo de repetición: - - - Short - Corto - - - Repeat interval: - Intervalo de repetición: - - - Type in the following box to test your keyboard settings - Escriba en el siguiente cuadro para probar la configuración - - - Beep when there is an error of keyboard input - Pitar cuando ocurra un error de entrada del teclado - - - Keyboard - Teclado - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Movimiento - - - - High - Alta - - - - Fast - Rápido - - - - Sensitivity: - Sensibilidad: - - - - Low - Baja - - - - Acceleration: - Aceleración: - - - - Slow - Lento - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Zurdo (invertir botones izquierdo y derecho del ratón) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Ratón - - - - Cursor - - - - - Keyboard - Teclado - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_eu.ts b/lxqt-config-input/translations/lxqt-config-input_eu.ts deleted file mode 100644 index ade7da1..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_eu.ts +++ /dev/null @@ -1,329 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - Karaktere-errepikapena - - - - - Long - Luzea - - - - Repeat delay: - Errepikatze atzerapena: - - - - - Short - Laburra - - - - Repeat interval: - Errepikatze tartea: - - - - Type in the following box to test your keyboard settings - Idatzi ondorengo testu-koadroan zure teklatuaren ezarpenak probatzeko - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Sarrerako gailuaren hobespenak - - - Motion - Mugimendua - - - High - Altua - - - Fast - Azkarra - - - Sensitivity: - Sentikortasuna: - - - Low - Baxua - - - Acceleration: - Azelerazioa: - - - Slow - Mantsoa - - - 0 - 0 - - - Mouse - Sagua - - - Character Repeat - Karaktere-errepikapena - - - Long - Luzea - - - Repeat delay: - Errepikatze atzerapena: - - - Short - Laburra - - - Repeat interval: - Errepikatze tartea: - - - Type in the following box to test your keyboard settings - Idatzi ondorengo testu-koadroan zure teklatuaren ezarpenak probatzeko - - - Keyboard - Teklatua - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Mugimendua - - - - High - Altua - - - - Fast - Azkarra - - - - Sensitivity: - Sentikortasuna: - - - - Low - Baxua - - - - Acceleration: - Azelerazioa: - - - - Slow - Mantsoa - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Sagua - - - - Cursor - - - - - Keyboard - Teklatua - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_fi.ts b/lxqt-config-input/translations/lxqt-config-input_fi.ts deleted file mode 100644 index f13541f..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_fi.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Piippaa kun näppäimistön näppäilyssä tapahtuu virhe - - - - ms - - - - - Character Repeat - Merkin toisto - - - - - Long - Pitkä - - - - Repeat delay: - Toiston viive: - - - - - Short - Lyhyt - - - - Repeat interval: - Toistoväli: - - - - Type in the following box to test your keyboard settings - Voit kokeilla näppäimistön asetuksia alla olevaan laatikkoon - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Syötelaitteiden asetukset - - - Motion - Liike - - - High - Suuri - - - Fast - Nopea - - - Sensitivity: - Herkkyys: - - - Low - Vähäinen - - - Acceleration: - Kiihdytys: - - - Slow - Hidas - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Vasenkätinen (vaihda oikean ja vasemman hiiren napin paikkoja) - - - Mouse - Hiiri - - - Character Repeat - Merkin toisto - - - Long - Pitkä - - - Repeat delay: - Toiston viive: - - - Short - Lyhyt - - - Repeat interval: - Toistoväli: - - - Type in the following box to test your keyboard settings - Voit kokeilla näppäimistön asetuksia alla olevaan laatikkoon - - - Beep when there is an error of keyboard input - Piippaa kun näppäimistön näppäilyssä tapahtuu virhe - - - Keyboard - Näppäimistö - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Liike - - - - High - Suuri - - - - Fast - Nopea - - - - Sensitivity: - Herkkyys: - - - - Low - Vähäinen - - - - Acceleration: - Kiihdytys: - - - - Slow - Hidas - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Vasenkätinen (vaihda oikean ja vasemman hiiren napin paikkoja) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Hiiri - - - - Cursor - - - - - Keyboard - Näppäimistö - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_fr.ts b/lxqt-config-input/translations/lxqt-config-input_fr.ts deleted file mode 100644 index c8c8f9b..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_fr.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Émettre un son lors d'une erreur d'entrée sur le clavier - - - - ms - - - - - Character Repeat - Répétition de caractère - - - - - Long - Long - - - - Repeat delay: - Délai de répétition : - - - - - Short - Court - - - - Repeat interval: - Intervalle de répétition : - - - - Type in the following box to test your keyboard settings - Tapez dans le champ ci-dessous pour tester vos paramètres clavier - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Préférences des périphériques d'entrée - - - Motion - Mouvement - - - High - Forte - - - Fast - Rapide - - - Sensitivity: - Sensibilité : - - - Low - Faible - - - Acceleration: - Accélération : - - - Slow - Lente - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Gaucher (inverse les boutons droit et gauche de la souris) - - - Mouse - Souris - - - Character Repeat - Répétition de caractère - - - Long - Long - - - Repeat delay: - Délai de répétition : - - - Short - Court - - - Repeat interval: - Intervalle de répétition : - - - Type in the following box to test your keyboard settings - Tapez dans le champ ci-dessous pour tester vos paramètres clavier - - - Beep when there is an error of keyboard input - Émettre un son lors d'une erreur d'entrée sur le clavier - - - Keyboard - Clavier - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Mouvement - - - - High - Forte - - - - Fast - Rapide - - - - Sensitivity: - Sensibilité : - - - - Low - Faible - - - - Acceleration: - Accélération : - - - - Slow - Lente - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Gaucher (inverse les boutons droit et gauche de la souris) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Souris - - - - Cursor - - - - - Keyboard - Clavier - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_gl.ts b/lxqt-config-input/translations/lxqt-config-input_gl.ts deleted file mode 100644 index 2beab8e..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_gl.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Pitar cando se produza un erro de entrada de teclado - - - - ms - - - - - Character Repeat - Repetición de caracteres - - - - - Long - Longa - - - - Repeat delay: - Atraso da repetición: - - - - - Short - Curta - - - - Repeat interval: - Intervalo de repetición: - - - - Type in the following box to test your keyboard settings - Escriba na seguinte caixa para probar os axustes do teclado - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Preferencias do dispositivos de entrada - - - Motion - Movemento - - - High - Alto - - - Fast - Rápido - - - Sensitivity: - Sensibilidade: - - - Low - Baixa - - - Acceleration: - Aceleración: - - - Slow - Lenta - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Zurdo (Intercambiar botóns dereito e esquerdo do rato) - - - Mouse - Rato - - - Character Repeat - Repetición de caracteres - - - Long - Longa - - - Repeat delay: - Atraso da repetición: - - - Short - Curta - - - Repeat interval: - Intervalo de repetición: - - - Type in the following box to test your keyboard settings - Escriba na seguinte caixa para probar os axustes do teclado - - - Beep when there is an error of keyboard input - Pitar cando se produza un erro de entrada de teclado - - - Keyboard - Teclado - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Movemento - - - - High - Alto - - - - Fast - Rápido - - - - Sensitivity: - Sensibilidade: - - - - Low - Baixa - - - - Acceleration: - Aceleración: - - - - Slow - Lenta - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Zurdo (Intercambiar botóns dereito e esquerdo do rato) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Rato - - - - Cursor - - - - - Keyboard - Teclado - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_hr.ts b/lxqt-config-input/translations/lxqt-config-input_hr.ts deleted file mode 100644 index e91824f..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_hr.ts +++ /dev/null @@ -1,333 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - Ponavljanje znaka - - - - - Long - Dugačko - - - - Repeat delay: - Odgoda ponavljanja: - - - - - Short - Kratko - - - - Repeat interval: - Interval ponavljanja: - - - - Type in the following box to test your keyboard settings - Tipkajte u slijedeće polje da biste testirali postavke tipkovnice - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Osobitosti ulaznog uređaja - - - Motion - Pokret: - - - High - Visok - - - Fast - Brzo - - - Sensitivity: - Osijetljivost: - - - Low - Nisko - - - Acceleration: - Ubrzanje: - - - Slow - Sporo - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Ljevoruki (premješta lijevo i desno dugme miša) - - - Mouse - Miš - - - Character Repeat - Ponavljanje znaka - - - Long - Dugačko - - - Repeat delay: - Odgoda ponavljanja: - - - Short - Kratko - - - Repeat interval: - Interval ponavljanja: - - - Type in the following box to test your keyboard settings - Tipkajte u slijedeće polje da biste testirali postavke tipkovnice - - - Keyboard - Tipkovnica - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Pokret: - - - - High - Visok - - - - Fast - Brzo - - - - Sensitivity: - Osijetljivost: - - - - Low - Nisko - - - - Acceleration: - Ubrzanje: - - - - Slow - Sporo - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Ljevoruki (premješta lijevo i desno dugme miša) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Miš - - - - Cursor - - - - - Keyboard - Tipkovnica - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_hu.ts b/lxqt-config-input/translations/lxqt-config-input_hu.ts deleted file mode 100644 index d00fbc9..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_hu.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - Űrlap - - - - Cursor flash time: - Kurzos villogási idő - - - - <b>Keyboard</b> - <b>Billentyűzet</b> - - - - Beep when there is an error of keyboard input - Billentyű hibánál csipogás - - - - ms - - - - - Character Repeat - Ismétlés - - - - - Long - Sok - - - - Repeat delay: - Ismétlési késleltetés: - - - - - Short - Rövid - - - - Repeat interval: - Ismétlési időköz - - - - Type in the following box to test your keyboard settings - Írj ide valamit tesztelésre! - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - <b>Billentyűkiosztás</b> - - - - Layout - Kiosztás - - - - Variant - Változat - - - - &Add - Hozzá&ad - - - - &Remove - Tö&röl - - - - up - föl - - - - down - le - - - - Keyboard model: - Billentyűzet modell: - - - - Keys to change layout: - Kiosztásváltoztató billentyű: - - - - None - Nincs - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - <html><head/><body><p><span style=" font-weight:600;">Megjegyzés</span>: Ha bevitelként <span style=" font-weight:600;">például</span>, IBus, uim, fcitx, or gcin, szolgálnakl, ezek a beállítások <span style=" font-weight:600;">nem működnek</span> mert azok a beviteli módok ezt felülírják.</p></body></html> - - - - MouseConfig - - - Form - Űrlap - - - - <b>Mouse</b> - <b>Egér</b> - - - - Motion - Mozgás - - - - High - Nagy - - - - Fast - Gyors - - - - Sensitivity: - Érzékenység: - - - - Low - Kicsi - - - - Acceleration: - Gyorsulás: - - - - Slow - Lassú - - - - - 0 - - - - - Double click interval: - Duplakattintás: - - - - ms - - - - - Wheel scroll lines: - Gördítő sorok - - - - Left handed (Swap left and right mouse buttons) - Balkezes (Bal és jobb gombok cseréje) - - - - Single click to activate items - Egykattintásos aktiválás - - - - QObject - - - Keyboard and Mouse Settings - Billentyű és egérbeállítás - - - - Mouse - Egér - - - - Cursor - Kurzor - - - - Keyboard - Billentyűzet - - - - Keyboard Layout - Billentyűkiosztás - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - Billentyűzetkiosztás választása - - - - Keyboard layout - Billentyűkiosztás - - - - Variant - Változat - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_id.ts b/lxqt-config-input/translations/lxqt-config-input_id.ts deleted file mode 100644 index 172bd47..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_id.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Bip ketika ada galat masukan papan tik - - - - ms - - - - - Character Repeat - Pengulangan Karakter - - - - - Long - Lama - - - - Repeat delay: - Tundaan pengulangan: - - - - - Short - Singkat - - - - Repeat interval: - Interval pengulangan: - - - - Type in the following box to test your keyboard settings - Ketik dalam kotak berikut untuk menguji pengaturan papan tik Anda - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Preferensi Perangkat Masukan - - - Motion - Gerakan - - - High - Tinggi - - - Fast - Cepat - - - Sensitivity: - Sensitivitas: - - - Low - Rendah - - - Acceleration: - Akselerasi: - - - Slow - Lambat - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Kidal (Tukar tombol tetikus kiri dan kanan) - - - Mouse - Tetikus - - - Character Repeat - Pengulangan Karakter - - - Long - Lama - - - Repeat delay: - Tundaan pengulangan: - - - Short - Singkat - - - Repeat interval: - Interval pengulangan: - - - Type in the following box to test your keyboard settings - Ketik dalam kotak berikut untuk menguji pengaturan papan tik Anda - - - Beep when there is an error of keyboard input - Bip ketika ada galat masukan papan tik - - - Keyboard - Papan tik - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Gerakan - - - - High - Tinggi - - - - Fast - Cepat - - - - Sensitivity: - Sensitivitas: - - - - Low - Rendah - - - - Acceleration: - Akselerasi: - - - - Slow - Lambat - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Kidal (Tukar tombol tetikus kiri dan kanan) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Tetikus - - - - Cursor - - - - - Keyboard - Papan tik - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_is.ts b/lxqt-config-input/translations/lxqt-config-input_is.ts deleted file mode 100644 index 4af639e..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_is.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_it.desktop b/lxqt-config-input/translations/lxqt-config-input_it.desktop index f13522d..db4e585 100644 --- a/lxqt-config-input/translations/lxqt-config-input_it.desktop +++ b/lxqt-config-input/translations/lxqt-config-input_it.desktop @@ -1,6 +1,6 @@ # Translations Name[it]=Tastiera e mouse -GenericName[it]=Configurazione dei dispositivi di immissione +GenericName[it]=Configura i dispositivi di immissione Comment[it]=Configura tastiera, mouse e altri dispositivi di immissione diff --git a/lxqt-config-input/translations/lxqt-config-input_it.ts b/lxqt-config-input/translations/lxqt-config-input_it.ts deleted file mode 100644 index 1f4418d..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_it.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - Intervallo lampeggio cursore: - - - - <b>Keyboard</b> - <b>Tastiera</b> - - - - Beep when there is an error of keyboard input - Emetti un beep per gli errori di input da tastiera - - - - ms - - - - - Character Repeat - Ripetizione caratteri - - - - - Long - Lungo - - - - Repeat delay: - Attesa ripetizione: - - - - - Short - Corto - - - - Repeat interval: - Intervallo ripetizione: - - - - Type in the following box to test your keyboard settings - Scrivere nella casella sottostante per provare le impostazioni della tastiera - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - Mappatura della tastiera - - - - Layout - Mappatura - - - - Variant - Variante - - - - &Add - &Aggiungi - - - - &Remove - &Rimuovi - - - - up - su - - - - down - giù - - - - Keyboard model: - Modello della tastiera: - - - - Keys to change layout: - Scorciatoia per cambio mappatura: - - - - None - Nessuna - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - <b>Nota:</b> Se viene usato un metodo di input come IBus, uim, fcitx o gcin questi settaggi potrebbero non avere effetto. - - - - MainDialog - - Input Device Preferences - Preferenze dei dispositivi di ingresso - - - Motion - Movimento - - - High - Alta - - - Fast - Veloce - - - Sensitivity: - Sensibilità: - - - Low - Bassa - - - Acceleration: - Accelerazione: - - - Slow - Lenta - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Mancino (inverte tasto destro e sinistro del mouse) - - - Mouse - Mouse - - - Character Repeat - Ripetizione caratteri - - - Long - Lungo - - - Repeat delay: - Attesa ripetizione: - - - Short - Corto - - - Repeat interval: - Intervallo ripetizione: - - - Type in the following box to test your keyboard settings - Scrivere nella casella sottostante per provare le impostazioni della tastiera - - - Beep when there is an error of keyboard input - Emetti un beep per gli errori di input da tastiera - - - Keyboard - Tastiera - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Movimento - - - - High - Alta - - - - Fast - Veloce - - - - Sensitivity: - Sensibilità: - - - - Low - Bassa - - - - Acceleration: - Accelerazione: - - - - Slow - Lenta - - - - - 0 - 0 - - - - Double click interval: - Intervallo doppio clic: - - - - ms - - - - - Wheel scroll lines: - Righe che scrolla la rotella: - - - - Left handed (Swap left and right mouse buttons) - Mancino (inverte tasto destro e sinistro del mouse) - - - - Single click to activate items - Clic singolo per attivare gli elementi - - - - QObject - - - Keyboard and Mouse Settings - Impostazioni per mouse e tastiera - - - - Mouse - Mouse - - - - Cursor - Cursore - - - - Keyboard - Tastiera - - - - Keyboard Layout - Mappatura della tastiera - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - Selezione una mappatura - - - - Keyboard layout - <b>Mappatura della tastiera></b> - - - - Variant - Variante - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_ja.ts b/lxqt-config-input/translations/lxqt-config-input_ja.ts deleted file mode 100644 index 18d41fd..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_ja.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - フォーム - - - - Cursor flash time: - カーソルの点滅時間 - - - - <b>Keyboard</b> - <b>キーボード</b> - - - - Beep when there is an error of keyboard input - キーボード入力にエラーがあるときはビープ音を出す - - - - ms - ms - - - - Character Repeat - 文字リピート - - - - - Long - 長い - - - - Repeat delay: - リピートするまでの遅延: - - - - - Short - 短い - - - - Repeat interval: - リピートの間隔: - - - - Type in the following box to test your keyboard settings - 下のボックスにタイプして、キーボード設定のテストをしてください - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - <b>キーボードレイアウト</b> - - - - Layout - レイアウト - - - - Variant - バリアント - - - - &Add - 追加(&A) - - - - &Remove - 削除(&R) - - - - up - 上へ - - - - down - 下へ - - - - Keyboard model: - キーボードの型式: - - - - Keys to change layout: - レイアウトを変更するためのキー - - - - None - なし - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - <html><head/><body><p><span style=" font-weight:600;">注意</span>: <span style=" font-weight:600;">入力メソッド</span>(例: IBus や uim、fcitx、gcin)を使用している場合には, この設定は<span style=" font-weight:600;">機能しないことがあります</span>。入力メソッドが設定を上書きしてしまうためです。</p></body></html> - - - - MouseConfig - - - Form - フォーム - - - - <b>Mouse</b> - <b>マウス</b> - - - - Motion - 動作 - - - - High - 高い - - - - Fast - 速い - - - - Sensitivity: - 感度: - - - - Low - 低い - - - - Acceleration: - 加速: - - - - Slow - 遅い - - - - - 0 - 0 - - - - Double click interval: - ダブルクリックの間隔: - - - - ms - ms - - - - Wheel scroll lines: - ホイールでスクロールする行数: - - - - Left handed (Swap left and right mouse buttons) - 左利き (マウスボタンの左右を入れ替える) - - - - Single click to activate items - シングルクリックでアイテムを有効にする - - - - QObject - - - Keyboard and Mouse Settings - キーボードとマウスの設定 - - - - Mouse - マウス - - - - Cursor - カーソル - - - - Keyboard - キーボード - - - - Keyboard Layout - キーボードレイアウト - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - キーボードレイアウトを選択 - - - - Keyboard layout - キーボードレイアウト - - - - Variant - バリアント - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_nl.ts b/lxqt-config-input/translations/lxqt-config-input_nl.ts deleted file mode 100644 index ce3e93a..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_nl.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Piep wanneer er een toetsenbordinvoerfout optreedt - - - - ms - - - - - Character Repeat - Tekenherhaling - - - - - Long - Lang - - - - Repeat delay: - Herhalingsvertraging: - - - - - Short - Kort - - - - Repeat interval: - Herhalingstussenpoze: - - - - Type in the following box to test your keyboard settings - Tik iets in het volgende vak om uw toetsenbordinstellingen uit te proberen - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Voorkeuren van invoerapparaat - - - Motion - Beweging - - - High - Hoog - - - Fast - Snel - - - Sensitivity: - Gevoeligheid: - - - Low - Laag - - - Acceleration: - Versnelling: - - - Slow - Langzaam - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Linkshandig (wissel linkse en rechtse muisknoppen om) - - - Mouse - Muis - - - Character Repeat - Tekenherhaling - - - Long - Lang - - - Repeat delay: - Herhalingsvertraging: - - - Short - Kort - - - Repeat interval: - Herhalingstussenpoze: - - - Type in the following box to test your keyboard settings - Tik iets in het volgende vak om uw toetsenbordinstellingen uit te proberen - - - Beep when there is an error of keyboard input - Piep wanneer er een toetsenbordinvoerfout optreedt - - - Keyboard - Toetsenbord - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Beweging - - - - High - Hoog - - - - Fast - Snel - - - - Sensitivity: - Gevoeligheid: - - - - Low - Laag - - - - Acceleration: - Versnelling: - - - - Slow - Langzaam - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Linkshandig (wissel linkse en rechtse muisknoppen om) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Muis - - - - Cursor - - - - - Keyboard - Toetsenbord - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_pa.ts b/lxqt-config-input/translations/lxqt-config-input_pa.ts deleted file mode 100644 index 7d6df7b..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_pa.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_pl.ts b/lxqt-config-input/translations/lxqt-config-input_pl.ts deleted file mode 100644 index 5723ad3..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_pl.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - Częstotliwość migania kursora: - - - - <b>Keyboard</b> - <b>Klawiatura</b> - - - - Beep when there is an error of keyboard input - Brzęczyk, gdy wystąpi błąd podczas wprowadzania z klawiatury - - - - ms - ms - - - - Character Repeat - Powtórzenia znaków - - - - - Long - Długie - - - - Repeat delay: - Opóźnienie powtórki: - - - - - Short - Krótkie - - - - Repeat interval: - Częstotliwość powtarzania: - - - - Type in the following box to test your keyboard settings - Zacznij pisać w okienku, aby przetestować ustawienia swojej klawiatury - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - <b>Układ klawiatury</b> - - - - Layout - Układ - - - - Variant - Wariant - - - - &Add - &Dodaj - - - - &Remove - &Usuń - - - - up - do góry - - - - down - w dół - - - - Keyboard model: - Model klawiatury: - - - - Keys to change layout: - Klawisze do zmiany układu: - - - - None - Brak - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - <html><head/><body><p><span style=" font-weight:600;">Notka</span>: Jeśli używasz <span style=" font-weight:600;">metod wejścia</span>, jak IBus, uim, fcitx, lub gcin, te ustawienia <span style=" font-weight:600;">mogą nie działać</span> ponieważ będą nadpisywane przez ustawienia tamtych metod.</p></body></html> - - - - MainDialog - - Input Device Preferences - Preferencje urządzeń wejściowych - - - Motion - Ruch - - - High - Wysoka - - - Fast - Szybkie - - - Sensitivity: - Czułość: - - - Low - Niska - - - Acceleration: - Przyspieszenie: - - - Slow - Wolne - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Leworęczna (Zamiana lewego i prawego przycisku myszy) - - - Mouse - Mysz - - - Character Repeat - Powtórzenia znaków - - - Long - Długie - - - Repeat delay: - Opóźnienie powtórki: - - - Short - Krótkie - - - Repeat interval: - Częstotliwość powtarzania: - - - Type in the following box to test your keyboard settings - Zacznij pisać w okienku, aby przetestować ustawienia swojej klawiatury - - - Beep when there is an error of keyboard input - Brzęczyk, gdy wystąpi błąd podczas wprowadzania z klawiatury - - - Keyboard - Klawiatura - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - <b>Mysz</b> - - - - Motion - Ruch - - - - High - Wysoka - - - - Fast - Szybkie - - - - Sensitivity: - Czułość: - - - - Low - Niska - - - - Acceleration: - Przyspieszenie: - - - - Slow - Wolne - - - - - 0 - 0 - - - - Double click interval: - Okres podwójnego kliknięcia: - - - - ms - ms - - - - Wheel scroll lines: - Przwijanie kółkiem (linie): - - - - Left handed (Swap left and right mouse buttons) - Leworęczna (zamiana lewego i prawego przycisku myszy) - - - - Single click to activate items - Pojedyńcze kliknięcie wyzwala akcję - - - - QObject - - - Keyboard and Mouse Settings - Ustawienia myszy i klawiatury - - - - Mouse - Mysz - - - - Cursor - Kursor - - - - Keyboard - Klawiatura - - - - Keyboard Layout - Układ klawiatury - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - Wybierz układ klawiatury - - - - Keyboard layout - Układ klawiatury - - - - Variant - Wariant - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_pt.ts b/lxqt-config-input/translations/lxqt-config-input_pt.ts deleted file mode 100644 index 01ee5d1..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_pt.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Reproduzir um som se ocorrer um erro de teclado - - - - ms - - - - - Character Repeat - Repetição de caracteres - - - - - Long - Longa - - - - Repeat delay: - Atraso de repetição: - - - - - Short - Curto - - - - Repeat interval: - Intervalo de repetição: - - - - Type in the following box to test your keyboard settings - Escreva algo na caixa de teste abaixo para testar o teclado - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Preferências de dispositivos - - - Motion - Movimento - - - High - Muito rápido - - - Fast - Rápido - - - Sensitivity: - Sensibilidade: - - - Low - Baixa - - - Acceleration: - Aceleração: - - - Slow - Lenta - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Canhoto (inverter botões do rato) - - - Mouse - Rato - - - Character Repeat - Repetição de caracteres - - - Long - Longa - - - Repeat delay: - Atraso de repetição: - - - Short - Curto - - - Repeat interval: - Intervalo de repetição: - - - Type in the following box to test your keyboard settings - Escreva algo na caixa de teste abaixo para testar o teclado - - - Beep when there is an error of keyboard input - Reproduzir um som se ocorrer um erro de teclado - - - Keyboard - Teclado - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Movimento - - - - High - Muito rápido - - - - Fast - Rápido - - - - Sensitivity: - Sensibilidade: - - - - Low - Baixa - - - - Acceleration: - Aceleração: - - - - Slow - Lenta - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Canhoto (inverter botões do rato) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Rato - - - - Cursor - - - - - Keyboard - Teclado - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_ru.desktop b/lxqt-config-input/translations/lxqt-config-input_ru.desktop index 6736259..6d441bb 100644 --- a/lxqt-config-input/translations/lxqt-config-input_ru.desktop +++ b/lxqt-config-input/translations/lxqt-config-input_ru.desktop @@ -1,4 +1,4 @@ # Translations -Comment[ru]=Настроить клавиатуру, мышь и доругие устройства ввода +Comment[ru]=Настроить клавиатуру, мышь и другие устройства ввода Name[ru]=Клавиатура и мышь GenericName[ru]=Настройки ввода \ No newline at end of file diff --git a/lxqt-config-input/translations/lxqt-config-input_ru.ts b/lxqt-config-input/translations/lxqt-config-input_ru.ts deleted file mode 100644 index c46f176..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_ru.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - Частота мерцания курсора: - - - - <b>Keyboard</b> - <b>Клавиатура</b> - - - - Beep when there is an error of keyboard input - Пищать об ошибке ввода с клавиатуры - - - - ms - мс - - - - Character Repeat - Повтор символа - - - - - Long - Длинная - - - - Repeat delay: - Задержка повтора: - - - - - Short - Короткая - - - - Repeat interval: - Пауза между повтором: - - - - Type in the following box to test your keyboard settings - Поле для проверки настроек клавиатуры - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - <b>Раскладка клавиатуры</b> - - - - Layout - Раскладка - - - - Variant - Вариант - - - - &Add - &Добавить - - - - &Remove - &Удалить - - - - up - выше - - - - down - ниже - - - - Keyboard model: - Модель клавиатуры: - - - - Keys to change layout: - Клавиши смены раскладки: - - - - None - Нет - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - <html><head/><body><p><span style=" font-weight:600;">Внимание</span>: Если вы используете <span style=" font-weight:600;">метод ввода</span>, такой как IBus, uim, fcitx, или gcin, настройки здесь <span style=" font-weight:600;">могут не работать</span> поскольку они переопределятся этим методом ввода.</p></body></html> - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - <b>Мышь</b> - - - - Motion - Движение - - - - High - Высокая - - - - Fast - Быстро - - - - Sensitivity: - Чувствительность: - - - - Low - Низкая - - - - Acceleration: - Ускорение: - - - - Slow - Медленно - - - - - 0 - - - - - Double click interval: - Интервал двойного щелчка: - - - - ms - мс - - - - Wheel scroll lines: - Колёсико перематывает строк: - - - - Left handed (Swap left and right mouse buttons) - Для левшей (поменять функции левой и правой кнопок мыши) - - - - Single click to activate items - Один клик для активации элементов - - - - QObject - - - Keyboard and Mouse Settings - Настройки клавиатуры и мыши - - - - Mouse - Мышь - - - - Cursor - Курсор - - - - Keyboard - Клавиатура - - - - Keyboard Layout - Раскладка клавиатура - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - Выбрать раскладку клавиатуры - - - - Keyboard layout - Раскладка клавиатуры - - - - Variant - Вариант - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_ru_RU.desktop b/lxqt-config-input/translations/lxqt-config-input_ru_RU.desktop deleted file mode 100644 index d6c1de1..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_ru_RU.desktop +++ /dev/null @@ -1,4 +0,0 @@ -# Translations -Comment[ru_RU]=Настроить клавиатуру, мышь и доругие устройства ввода -Name[ru_RU]=Клавиатура и мышь -GenericName[ru_RU]=Настройки ввода \ No newline at end of file diff --git a/lxqt-config-input/translations/lxqt-config-input_ru_RU.ts b/lxqt-config-input/translations/lxqt-config-input_ru_RU.ts deleted file mode 100644 index 1ce7a0e..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_ru_RU.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - Частота мерцания курсора: - - - - <b>Keyboard</b> - <b>Клавиатура</b> - - - - Beep when there is an error of keyboard input - Пищать об ошибке ввода с клавиатуры - - - - ms - мс - - - - Character Repeat - Повтор символа - - - - - Long - Длинная - - - - Repeat delay: - Задержка повтора: - - - - - Short - Короткая - - - - Repeat interval: - Пауза между повтором: - - - - Type in the following box to test your keyboard settings - Поле для проверки настроек клавиатуры - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - <b>Раскладка клавиатуры</b> - - - - Layout - Раскладка - - - - Variant - Вариант - - - - &Add - &Добавить - - - - &Remove - &Удалить - - - - up - выше - - - - down - ниже - - - - Keyboard model: - Модель клавиатуры: - - - - Keys to change layout: - Клавиши смены раскладки: - - - - None - Нет - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - <html><head/><body><p><span style=" font-weight:600;">Внимание</span>: Если вы используете <span style=" font-weight:600;">метод ввода</span>, такой как IBus, uim, fcitx, или gcin, настройки здесь <span style=" font-weight:600;">могут не работать</span> поскольку они переопределятся этим методом ввода.</p></body></html> - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - <b>Мышь</b> - - - - Motion - Движение - - - - High - Высокая - - - - Fast - Быстро - - - - Sensitivity: - Чувствительность: - - - - Low - Низкая - - - - Acceleration: - Ускорение: - - - - Slow - Медленно - - - - - 0 - - - - - Double click interval: - Интервал двойного щелчка: - - - - ms - мс - - - - Wheel scroll lines: - Колёсико перематывает строк: - - - - Left handed (Swap left and right mouse buttons) - Для левшей (поменять функции левой и правой кнопок мыши) - - - - Single click to activate items - Один клик для активации элементов - - - - QObject - - - Keyboard and Mouse Settings - Настройки клавиатуры и мыши - - - - Mouse - Мышь - - - - Cursor - Курсор - - - - Keyboard - Клавиатура - - - - Keyboard Layout - Раскладка клавиатура - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - Выбрать раскладку клавиатуры - - - - Keyboard layout - Раскладка клавиатуры - - - - Variant - Вариант - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_sv.ts b/lxqt-config-input/translations/lxqt-config-input_sv.ts deleted file mode 100644 index dc53abc..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_sv.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - Avge ett pip när ett fel uppstår vid tangentbordsinmatning - - - - ms - - - - - Character Repeat - Teckenupprepning - - - - - Long - Lång - - - - Repeat delay: - Tid innan upprepning: - - - - - Short - Kort - - - - Repeat interval: - Tid mellan upprepningar: - - - - Type in the following box to test your keyboard settings - För att pröva dina inställningar kan du skriva i följande ruta - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - Egenskaper för inmatningsenhet - - - Motion - Rörelse - - - High - Hög - - - Fast - Snabb - - - Sensitivity: - Känslighet: - - - Low - Låg - - - Acceleration: - Acceleration: - - - Slow - Långsam - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - Vänsterhänt (byt funktioner för vänster och höger musknapp) - - - Mouse - Mus - - - Character Repeat - Teckenupprepning - - - Long - Lång - - - Repeat delay: - Tid innan upprepning: - - - Short - Kort - - - Repeat interval: - Tid mellan upprepningar: - - - Type in the following box to test your keyboard settings - För att pröva dina inställningar kan du skriva i följande ruta - - - Beep when there is an error of keyboard input - Avge ett pip när ett fel uppstår vid tangentbordsinmatning - - - Keyboard - Tangentbord - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - Rörelse - - - - High - Hög - - - - Fast - Snabb - - - - Sensitivity: - Känslighet: - - - - Low - Låg - - - - Acceleration: - Acceleration: - - - - Slow - Långsam - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - Vänsterhänt (byt funktioner för vänster och höger musknapp) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - Mus - - - - Cursor - - - - - Keyboard - Tangentbord - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_uk.ts b/lxqt-config-input/translations/lxqt-config-input_uk.ts deleted file mode 100644 index c8d037e..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_uk.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_zh_CN.ts b/lxqt-config-input/translations/lxqt-config-input_zh_CN.ts deleted file mode 100644 index 182366b..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_zh_CN.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - 键盘输入出错时蜂鸣 - - - - ms - - - - - Character Repeat - 字符重复 - - - - - Long - - - - - Repeat delay: - 重复延迟: - - - - - Short - - - - - Repeat interval: - 重复间隔: - - - - Type in the following box to test your keyboard settings - 在下面的框中输入字符,以测试键盘设置 - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - 输入设备首选项 - - - Motion - 运动 - - - High - - - - Fast - 快速 - - - Sensitivity: - 敏感度: - - - Low - - - - Acceleration: - 加速 : - - - Slow - - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - 惯用左手(交换左右鼠标按键) - - - Mouse - 鼠标 - - - Character Repeat - 字符重复 - - - Long - - - - Repeat delay: - 重复延迟: - - - Short - - - - Repeat interval: - 重复间隔: - - - Type in the following box to test your keyboard settings - 在下面的框中输入字符,以测试键盘设置 - - - Beep when there is an error of keyboard input - 键盘输入出错时蜂鸣 - - - Keyboard - 键盘 - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - 运动 - - - - High - - - - - Fast - 快速 - - - - Sensitivity: - 敏感度: - - - - Low - - - - - Acceleration: - 加速 : - - - - Slow - - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - 惯用左手(交换左右鼠标按键) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - 鼠标 - - - - Cursor - - - - - Keyboard - 键盘 - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_zh_HK.ts b/lxqt-config-input/translations/lxqt-config-input_zh_HK.ts deleted file mode 100644 index 504462d..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_zh_HK.ts +++ /dev/null @@ -1,258 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - - - - - ms - - - - - Character Repeat - - - - - - Long - - - - - Repeat delay: - - - - - - Short - - - - - Repeat interval: - - - - - Type in the following box to test your keyboard settings - - - - - - 0 - - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - - - - - High - - - - - Fast - - - - - Sensitivity: - - - - - Low - - - - - Acceleration: - - - - - Slow - - - - - - 0 - - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - - - - - Cursor - - - - - Keyboard - - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-input/translations/lxqt-config-input_zh_TW.ts b/lxqt-config-input/translations/lxqt-config-input_zh_TW.ts deleted file mode 100644 index 9870b93..0000000 --- a/lxqt-config-input/translations/lxqt-config-input_zh_TW.ts +++ /dev/null @@ -1,337 +0,0 @@ - - - - - KeyboardConfig - - - Form - - - - - Cursor flash time: - - - - - <b>Keyboard</b> - - - - - Beep when there is an error of keyboard input - 鍵盤輸入錯誤時發出嗶聲 - - - - ms - - - - - Character Repeat - 字元重複 - - - - - Long - - - - - Repeat delay: - 重複延遲: - - - - - Short - - - - - Repeat interval: - 重複間隔時間: - - - - Type in the following box to test your keyboard settings - 在下列方框裡輸入文字測試你的鍵盤設定 - - - - - 0 - 0 - - - - Turn on NumLock after login - - - - - KeyboardLayoutConfig - - - <b>Keyboard Layout</b> - - - - - Layout - - - - - Variant - - - - - &Add - - - - - &Remove - - - - - up - - - - - down - - - - - Keyboard model: - - - - - Keys to change layout: - - - - - None - - - - - <html><head/><body><p><span style=" font-weight:600;">Note</span>: If you are using an <span style=" font-weight:600;">input method</span>, such as IBus, uim, fcitx, or gcin, the settings here <span style=" font-weight:600;">might not work</span> because they are overridden by the input methods.</p></body></html> - - - - - MainDialog - - Input Device Preferences - 輸入裝置偏好設定 - - - Motion - 移動 - - - High - - - - Fast - - - - Sensitivity: - 敏感度: - - - Low - - - - Acceleration: - 加速: - - - Slow - - - - 0 - 0 - - - Left handed (Swap left and right mouse buttons) - 左撇子 (對換滑鼠左右鍵) - - - Mouse - 滑鼠 - - - Character Repeat - 字元重複 - - - Long - - - - Repeat delay: - 重複延遲: - - - Short - - - - Repeat interval: - 重複間隔時間: - - - Type in the following box to test your keyboard settings - 在下列方框裡輸入文字測試你的鍵盤設定 - - - Beep when there is an error of keyboard input - 鍵盤輸入錯誤時發出嗶聲 - - - Keyboard - 鍵盤 - - - - MouseConfig - - - Form - - - - - <b>Mouse</b> - - - - - Motion - 移動 - - - - High - - - - - Fast - - - - - Sensitivity: - 敏感度: - - - - Low - - - - - Acceleration: - 加速: - - - - Slow - - - - - - 0 - 0 - - - - Double click interval: - - - - - ms - - - - - Wheel scroll lines: - - - - - Left handed (Swap left and right mouse buttons) - 左撇子 (對換滑鼠左右鍵) - - - - Single click to activate items - - - - - QObject - - - Keyboard and Mouse Settings - - - - - Mouse - 滑鼠 - - - - Cursor - - - - - Keyboard - 鍵盤 - - - - Keyboard Layout - - - - - SelectKeyboardLayoutDialog - - - Select a keyboard layout - - - - - Keyboard layout - - - - - Variant - - - - diff --git a/lxqt-config-locale/CMakeLists.txt b/lxqt-config-locale/CMakeLists.txt index 0ec12db..efa8702 100644 --- a/lxqt-config-locale/CMakeLists.txt +++ b/lxqt-config-locale/CMakeLists.txt @@ -24,6 +24,16 @@ lxqt_translate_ts(QM_FILES ${UI_FILES} INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} + REPO_SUBDIR + "lxqt-config/${PROJECT_NAME}" ) lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) diff --git a/lxqt-config-locale/translations/lxqt-config-locale.ts b/lxqt-config-locale/translations/lxqt-config-locale.ts deleted file mode 100644 index af5e4f7..0000000 --- a/lxqt-config-locale/translations/lxqt-config-locale.ts +++ /dev/null @@ -1,110 +0,0 @@ - - - - - LocaleConfig - - - Re&gion: - - - - - De&tailed Settings - - - - - &Numbers: - - - - - &Time: - - - - - Currenc&y: - - - - - Measurement &Units: - - - - - Co&llation and Sorting: - - - - - <b>Examples</b> - - - - - Numbers: - - - - - Time: - - - - - Currency: - - - - - Measurement Units: - - - - - No change - - - - - Format Settings Changed - - - - - Save the settings ? (they will take effect the next time you log in) - - - - - Imperial UK - - - - - Imperial US - - - - - Metric - - - - - QObject - - - LXQt Locale Configuration - - - - - Locale Settings - - - - diff --git a/lxqt-config-locale/translations/lxqt-config-locale_de.desktop b/lxqt-config-locale/translations/lxqt-config-locale_de.desktop new file mode 100644 index 0000000..f286c87 --- /dev/null +++ b/lxqt-config-locale/translations/lxqt-config-locale_de.desktop @@ -0,0 +1,3 @@ +Name[de]=Regionaleinstellungen +GenericName[de]=Regionaleinstellungen +Comment[de]=Regionaleinstellungen für LXQt diff --git a/lxqt-config-locale/translations/lxqt-config-locale_it.desktop b/lxqt-config-locale/translations/lxqt-config-locale_it.desktop new file mode 100644 index 0000000..28e8bb0 --- /dev/null +++ b/lxqt-config-locale/translations/lxqt-config-locale_it.desktop @@ -0,0 +1,2 @@ +Name[it]=Lingua e Paese +Comment[it]=Preferenze della lingua e del paese diff --git a/lxqt-config-locale/translations/lxqt-config-locale_ru.desktop b/lxqt-config-locale/translations/lxqt-config-locale_ru.desktop new file mode 100644 index 0000000..a8706bc --- /dev/null +++ b/lxqt-config-locale/translations/lxqt-config-locale_ru.desktop @@ -0,0 +1,4 @@ +# Translations +Name[ru]=Локаль +GenericName[ru]=Настройки локали +Comment[ru]=Настройки локали для LXQt diff --git a/lxqt-config-monitor.png b/lxqt-config-monitor.png new file mode 100644 index 0000000..0e4c3d1 Binary files /dev/null and b/lxqt-config-monitor.png differ diff --git a/lxqt-config-monitor/CMakeLists.txt b/lxqt-config-monitor/CMakeLists.txt index 1eae738..c4e5e84 100644 --- a/lxqt-config-monitor/CMakeLists.txt +++ b/lxqt-config-monitor/CMakeLists.txt @@ -10,6 +10,8 @@ set(HEADERS monitorpicture.h loadsettings.h settingsdialog.h + managesavedsettings.h + fastmenu.h ) set(SOURCES @@ -21,6 +23,8 @@ set(SOURCES monitorpicture.cpp loadsettings.cpp settingsdialog.cpp + managesavedsettings.cpp + fastmenu.cpp ) set(UIS @@ -28,6 +32,8 @@ set(UIS monitorwidget.ui timeoutdialog.ui monitorpicture.ui + managesavedsettings.ui + fastmenu.ui ) set(ICONS @@ -47,6 +53,16 @@ lxqt_translate_ts(QM_FILES ${UIS} INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} + REPO_SUBDIR + "lxqt-config/${PROJECT_NAME}" ) lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) @@ -73,4 +89,4 @@ target_link_libraries(${PROJECT_NAME} install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) install(FILES ${DESKTOP_FILES} DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/applications") -install(FILES ${ICON_FILES} DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/lxqt/icons") +install(FILES ${ICONS} DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/lxqt/icons") diff --git a/lxqt-config-monitor/fakeTest.sh b/lxqt-config-monitor/fakeTest.sh new file mode 100644 index 0000000..6aa23c8 --- /dev/null +++ b/lxqt-config-monitor/fakeTest.sh @@ -0,0 +1,6 @@ +export KSCREEN_BACKEND=Fake +export KSCREEN_BACKEND_ARGS=TEST_DATA=/home/lucas/prog/lxqt/libkscreen/autotests/configs/multipleoutput.json +killall kscreen_backend_launcher +#`find /usr -name 'kscreen_backend_launcher'` +lxqt-config-monitor + diff --git a/lxqt-config-monitor/fastmenu.cpp b/lxqt-config-monitor/fastmenu.cpp new file mode 100644 index 0000000..1f124e1 --- /dev/null +++ b/lxqt-config-monitor/fastmenu.cpp @@ -0,0 +1,203 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include "fastmenu.h" +#include "timeoutdialog.h" + +#include +#include +#include +#include +#include + +enum Options +{ + None=0, Extended=1, Unified=2, OnlyFirst=3, OnlySecond=4 +}; + +FastMenu::FastMenu(KScreen::ConfigPtr config, QWidget* parent) : + QGroupBox(parent) +{ + this->mConfig = config; + this->mOldConfig = mConfig->clone(); + + ui.setupUi(this); + + connect(ui.comboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(onSeleccionChanged(int))); +} + +FastMenu::~FastMenu() +{ +} + +void FastMenu::extended() +{ + int width = 0; + KScreen::OutputList outputs = mConfig->outputs(); + for (const KScreen::OutputPtr &output : outputs) + { + if( !output->isConnected() ) + continue; + QPoint pos = output->pos(); + pos.setX(width); + pos.setY(0); + output->setPos(pos); + output->setEnabled(true); + //first left one as primary + output->setPrimary(width == 0); + KScreen::ModePtr mode(output->currentMode()); + if (!mode) + { // set first mode + mode = output->modes().first(); + if (mode) + { + output->setCurrentModeId(mode->id()); + } + } + if (mode) { + width += mode->size().width(); + } + } +} + +static bool sizeBiggerThan(const QSize &sizeA, const QSize &sizeB) +{ + return sizeA.width() * sizeA.height() > sizeB.width() * sizeB.height(); +} + +void FastMenu::unified() +{ + KScreen::OutputList outputs = mConfig->outputs(); + // Look for common size + QList commonSizes; + for (const KScreen::OutputPtr &output : outputs) + { + if( !output->isConnected() ) + continue; + for(const KScreen::ModePtr &mode: output->modes()) + { + commonSizes.append(mode->size()); + } + break; + } + for (const KScreen::OutputPtr &output : outputs) + { + if( !output->isConnected() ) + continue; + QList sizes; + for(const KScreen::ModePtr &mode: output->modes()) + { + if( commonSizes.contains(mode->size()) ) + sizes.append(mode->size()); + } + commonSizes = sizes; + } + // Select the bigest common size + qSort(commonSizes.begin(), commonSizes.end(), sizeBiggerThan); + if(commonSizes.isEmpty()) + return; + QSize commonSize = commonSizes[0]; + // Put all monitors in (0,0) position and set size + for (const KScreen::OutputPtr &output : outputs) + { + if( !output->isConnected() ) + continue; + QPoint pos = output->pos(); + pos.setX(0); + pos.setY(0); + output->setPos(pos); + output->setEnabled(true); + // Select mode with the biggest refresh rate + float maxRefreshRate = 0.0; + for(const KScreen::ModePtr &mode: output->modes()) + { + if(mode->size() == commonSize && maxRefreshRate < mode->refreshRate()) + { + output->setCurrentModeId(mode->id()); + maxRefreshRate = mode->refreshRate(); + } + } + } +} + +void FastMenu::onlyFirst() +{ + bool foundOk = false; + KScreen::OutputList outputs = mConfig->outputs(); + for (const KScreen::OutputPtr &output : outputs) + { + if( !output->isConnected() ) + continue; + QPoint pos = output->pos(); + pos.setX(0); + pos.setY(0); + output->setPos(pos); + output->setEnabled(!foundOk); + foundOk = true; + } +} + +void FastMenu::onlySecond() +{ + bool foundOk = true; + KScreen::OutputList outputs = mConfig->outputs(); + for (const KScreen::OutputPtr &output : outputs) + { + if( !output->isConnected() ) + continue; + QPoint pos = output->pos(); + pos.setX(0); + pos.setY(0); + output->setPos(pos); + output->setEnabled(!foundOk); + foundOk = false; + } +} + +void FastMenu::onSeleccionChanged(int index) +{ + switch((Options) index) + { + case Extended: + extended(); + break; + case Unified: + unified(); + break; + case OnlyFirst: + onlyFirst(); + break; + case OnlySecond: + onlySecond(); + break; + case None: + return; + break; + }; + + if (mConfig && KScreen::Config::canBeApplied(mConfig)) + { + KScreen::SetConfigOperation(mConfig).exec(); + + TimeoutDialog mTimeoutDialog; + if (mTimeoutDialog.exec() == QDialog::Rejected) + KScreen::SetConfigOperation(mOldConfig).exec(); + else + mOldConfig = mConfig->clone(); + } +} diff --git a/lxqt-config-monitor/fastmenu.h b/lxqt-config-monitor/fastmenu.h new file mode 100644 index 0000000..f83a94f --- /dev/null +++ b/lxqt-config-monitor/fastmenu.h @@ -0,0 +1,55 @@ +/* + Copyright (C) 2016 P.L. Lucas + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#ifndef _FASTMENU_H_ +#define _FASTMENU_H_ + +#include "ui_fastmenu.h" + +#include +#include +#include +#include +#include + + + +class FastMenu : public QGroupBox +{ + Q_OBJECT + + +public: + FastMenu(KScreen::ConfigPtr config, QWidget* parent = 0); + ~FastMenu(); + +private Q_SLOTS: + void onSeleccionChanged(int index); + +private: + Ui::FastMenu ui; + KScreen::ConfigPtr mConfig; + KScreen::ConfigPtr mOldConfig; + + void extended(); + void unified(); + void onlyFirst(); + void onlySecond(); +}; + +#endif // _FASTMENU_H_ diff --git a/lxqt-config-monitor/fastmenu.ui b/lxqt-config-monitor/fastmenu.ui new file mode 100644 index 0000000..ee4ac03 --- /dev/null +++ b/lxqt-config-monitor/fastmenu.ui @@ -0,0 +1,80 @@ + + + FastMenu + + + + 0 + 0 + 298 + 164 + + + + Form + + + + + + Fast options + + + false + + + + + + + 20 + + + + + + + + + + ❶ ❷ Extended view + + + + + ❶ ❶ Unified view + + + + + ❶ Only first + + + + + ❷ Only second + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + diff --git a/lxqt-config-monitor/loadsettings.cpp b/lxqt-config-monitor/loadsettings.cpp index 01536e8..9f849ba 100644 --- a/lxqt-config-monitor/loadsettings.cpp +++ b/lxqt-config-monitor/loadsettings.cpp @@ -26,16 +26,16 @@ #include #include #include -#include +#include #include #include - - +#include LoadSettings::LoadSettings(QObject *parent):QObject(parent) { - KScreen::GetConfigOperation *operation = new KScreen::GetConfigOperation(); + QThread::sleep(10); // KScreen is slow loading screen modes + KScreen::GetConfigOperation *operation = new KScreen::GetConfigOperation(); connect(operation, &KScreen::GetConfigOperation::finished, [this, operation] (KScreen::ConfigOperation *op) { KScreen::GetConfigOperation *configOp = qobject_cast(op); if (configOp) @@ -48,42 +48,69 @@ LoadSettings::LoadSettings(QObject *parent):QObject(parent) void LoadSettings::loadConfiguration(KScreen::ConfigPtr config) { - QSettings settings("LXQt", "lxqt-config-monitor"); - QJsonDocument document = QJsonDocument::fromJson( settings.value("currentConfig").toByteArray() ); - QJsonObject json = document.object(); - QJsonArray array = json["outputs"].toArray(); + LXQt::Settings settings("lxqt-config-monitor"); + QList monitors; + settings.beginGroup("currentConfig"); + loadMonitorSettings(settings, monitors); + settings.endGroup(); + + applySettings(config, monitors); + + exit(0); +} + + +void applySettings(KScreen::ConfigPtr config, QList monitors) +{ KScreen::OutputList outputs = config->outputs(); for (const KScreen::OutputPtr &output : outputs) { qDebug() << "Output: " << output->name(); - for(int i=0;iname() ) + MonitorSettings monitor = monitors[i]; + if( monitor.name == output->name() ) { KScreen::Edid* edid = output->edid(); if (edid && edid->isValid()) - if( monitorSettings["hash"].toString() != edid->hash() ) + if( monitor.hash != edid->hash() ) { - qDebug() << "Hash: " << monitorSettings["hash"].toString() << "==" << edid->hash(); + qDebug() << "Hash: " << monitor.hash << "==" << edid->hash(); return exit(1); // Saved settings are from other monitor } - if( monitorSettings["connected"].toBool() != output->isConnected() ) + if( monitor.connected != output->isConnected() ) return exit(2); // Saved settings are from other monitor if( !output->isConnected() ) continue; - output->setEnabled( monitorSettings["enabled"].toBool() ); - output->setPrimary( monitorSettings["primary"].toBool() ); - output->setPos( QPoint(monitorSettings["xPos"].toInt(),monitorSettings["yPos"].toInt()) ); - output->setCurrentModeId( monitorSettings["currentMode"].toString() ); - output->setRotation( (KScreen::Output::Rotation)(monitorSettings["rotation"].toInt()) ); + output->setEnabled( monitor.enabled ); + output->setPrimary( monitor.primary ); + output->setPos( QPoint(monitor.xPos, monitor.yPos) ); + output->setRotation( (KScreen::Output::Rotation)(monitor.rotation) ); + // output->setCurrentModeId could fail. KScreen sometimes changes mode Id. + KScreen::ModeList modeList = output->modes(); + foreach(const KScreen::ModePtr &mode, modeList) + { + if( mode->id() == QString(monitor.currentMode) + || + ( + mode->size().width() == monitor.currentModeWidth + && + mode->size().height() == monitor.currentModeHeight + && + mode->refreshRate() == monitor.currentModeRate + ) + ) + { + output->setCurrentModeId( mode->id() ); + break; + } + } + } } } if (KScreen::Config::canBeApplied(config)) KScreen::SetConfigOperation(config).exec(); - - exit(0); } diff --git a/lxqt-config-monitor/loadsettings.h b/lxqt-config-monitor/loadsettings.h index 096de8b..9af3c95 100644 --- a/lxqt-config-monitor/loadsettings.h +++ b/lxqt-config-monitor/loadsettings.h @@ -22,6 +22,7 @@ #include #include +#include "monitor.h" class LoadSettings : public QObject { @@ -39,4 +40,9 @@ private: KScreen::ConfigPtr mConfig; }; +/*! Apply settings. + */ +void applySettings(KScreen::ConfigPtr config, QList monitors); + + #endif // __LOADSETTINGS_H__ diff --git a/lxqt-config-monitor/main.cpp b/lxqt-config-monitor/main.cpp index d8283cb..6a27861 100644 --- a/lxqt-config-monitor/main.cpp +++ b/lxqt-config-monitor/main.cpp @@ -66,6 +66,11 @@ int main(int argc, char** argv) dlg.setWindowIcon(QIcon::fromTheme("preferences-desktop-display")); dlg.show(); - return app.exec(); + int ok = app.exec(); + + // FIXME: kscreen backend doesn't close properly. + //system("killall kscreen_backend_launcher"); + + return ok; } diff --git a/lxqt-config-monitor/managesavedsettings.cpp b/lxqt-config-monitor/managesavedsettings.cpp new file mode 100644 index 0000000..94a43ae --- /dev/null +++ b/lxqt-config-monitor/managesavedsettings.cpp @@ -0,0 +1,196 @@ +/* + Copyright (C) 2015 P.L. Lucas + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + + +#include "managesavedsettings.h" +#include "loadsettings.h" +#include "configure.h" +#include "monitor.h" +#include +#include +#include + +Q_DECLARE_METATYPE(MonitorSavedSettings) + + +ManageSavedSettings::ManageSavedSettings(LXQt::Settings * applicationSettings, KScreen::ConfigPtr config, QWidget * parent): +QDialog(parent) +{ + + this->applicationSettings = applicationSettings; + this->config = config; + + ui.setupUi(this); + + connect(ui.allConfigs, SIGNAL(itemActivated(QListWidgetItem *)), SLOT(showSelectedConfig(QListWidgetItem *))); + connect(ui.deletePushButton, SIGNAL(clicked()), SLOT(onDeleteItem())); + connect(ui.renamePushButton, SIGNAL(clicked()), SLOT(onRenameItem())); + connect(ui.applyPushButton, SIGNAL(clicked()), SLOT(onApplyItem())); + + loadSettings(); +} + + +void ManageSavedSettings::showSelectedConfig(QListWidgetItem * item) +{ + MonitorSavedSettings o = item->data(Qt::UserRole).value(); + QString text; + for(int i=0; i < o.monitors.size(); i++) + { + MonitorSettings setting = o.monitors[i]; + if(! setting.connected ) + continue; + text += QString("%1:
").arg(setting.name); + text += QString(" Mode: %1x%2
").arg(setting.currentModeWidth).arg(setting.currentModeHeight); + text += QString(" Rate: %1 Hz
").arg(setting.currentModeRate); + switch(setting.rotation) + { + case KScreen::Output::Rotation::None: + text += QString(" Rotation: %1
").arg(tr("None")); + break; + case KScreen::Output::Rotation::Left: + text += QString(" Rotation: %1
").arg(tr("Left")); + break; + case KScreen::Output::Rotation::Inverted: + text += QString(" Rotation: %1
").arg(tr("Inverted")); + break; + case KScreen::Output::Rotation::Right: + text += QString(" Rotation: %1
").arg(tr("Right")); + break; + } + text += QString(" Position: %1x%2
").arg(setting.xPos).arg(setting.yPos); + text += QString(" Primary: %1
").arg(setting.primary?tr("True"):tr("False")); + text += QString(" Enabled: %1
").arg(setting.enabled?tr("True"):tr("False")); + } + text += "
"; + ui.selectedSettingsTextEdit->setText(text); + ui.applyPushButton->setEnabled(isHardwareCompatible(o)); +} + + +bool ManageSavedSettings::isHardwareCompatible(MonitorSavedSettings &settings) +{ + KScreen::OutputList outputs = config->outputs(); + for (const KScreen::OutputPtr &output : outputs) + { + bool ok = false; + for (int i=0; i < settings.monitors.size(); i++) + { + MonitorSettings o = settings.monitors[i]; + if(o.name != output->name()) + continue; + KScreen::Edid *edid = output->edid(); + if(edid && edid->isValid()) + if(o.hash != output->edid()->hash()) + return false; + ok = true; + break; + } + if(!ok) + return false; + } + return true; +} + +void ManageSavedSettings::onDeleteItem() +{ + if (ui.allConfigs->currentItem() == NULL) + return; + MonitorSavedSettings obj = ui.allConfigs->currentItem()->data(Qt::UserRole).value(); + + LXQt::Settings settings("lxqt-config-monitor"); + QList monitors; + settings.beginGroup("SavedConfigs"); + loadMonitorSettings(settings, monitors); + for (int i = 0; i < monitors.size(); i++) { + MonitorSavedSettings o = monitors[i]; + if (o == obj) { + monitors.removeAt(i); + break; + } + } + saveMonitorSettings(settings, monitors); + + settings.endGroup(); + + loadSettings(); +} + +void ManageSavedSettings::onRenameItem() +{ + if (ui.allConfigs->currentItem() == NULL) + return; + MonitorSavedSettings obj = ui.allConfigs->currentItem()->data(Qt::UserRole).value(); + bool ok; + QString configName = QInputDialog::getText(this, tr("Name"), tr("Name:"), + QLineEdit::Normal, + obj.name, &ok); + if (!ok || configName.isEmpty()) + return; + + LXQt::Settings settings("lxqt-config-monitor"); + QList monitors; + settings.beginGroup("SavedConfigs"); + loadMonitorSettings(settings, monitors); + for (int i = 0; i < monitors.size(); i++) { + MonitorSavedSettings o = monitors[i]; + if (o == obj) { + monitors.removeAt(i); + obj.name = configName; + monitors.append(obj); + break; + } + } + saveMonitorSettings(settings, monitors); + + settings.endGroup(); + + loadSettings(); +} + +void ManageSavedSettings::onApplyItem() +{ + if (ui.allConfigs->currentItem() == NULL) + return; + MonitorSavedSettings settings = ui.allConfigs->currentItem()->data(Qt::UserRole).value(); + applySettings(config, settings.monitors); +} + + + +void ManageSavedSettings::loadSettings() +{ + ui.allConfigs->clear(); + //ui.hardwareCompatibleConfigs->clear(); + LXQt::Settings settings("lxqt-config-monitor"); + QList monitors; + settings.beginGroup("SavedConfigs"); + loadMonitorSettings(settings, monitors); + settings.endGroup(); + foreach(MonitorSavedSettings o, monitors) { + QListWidgetItem *item = new QListWidgetItem(o.name+" - "+o.date, ui.allConfigs); + QVariant var; + var.setValue(o); + item->setData(Qt::UserRole, var); + if (isHardwareCompatible(o)) { + QFont font = ui.allConfigs->font(); + font.setBold(true); + item->setData(Qt::FontRole, font); + } + } +} diff --git a/lxqt-config-monitor/managesavedsettings.h b/lxqt-config-monitor/managesavedsettings.h new file mode 100644 index 0000000..4cbb305 --- /dev/null +++ b/lxqt-config-monitor/managesavedsettings.h @@ -0,0 +1,59 @@ +/* + Copyright (C) 2015 P.L. Lucas + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + + +#ifndef _SAVESETTINGS_H_ +#define _SAVESETTINGS_H_ + +#include "ui_managesavedsettings.h" +#include "monitor.h" +#include +#include +#include +#include + +class ManageSavedSettings : public QDialog { + Q_OBJECT + +public: + ManageSavedSettings(LXQt::Settings *applicationSettings, KScreen::ConfigPtr config, QWidget* parent = 0); + + Ui::ManageSavedSettings ui; + +public slots: + /*! Load settings to QListWidgets. + edids is hardware code to detect hardware compatible settings. + */ + void loadSettings(); + + void showSelectedConfig(QListWidgetItem * item); + + void onDeleteItem(); + + void onRenameItem(); + + void onApplyItem(); + +private: + LXQt::Settings *applicationSettings; + KScreen::ConfigPtr config; + bool isHardwareCompatible(MonitorSavedSettings &settings); + +}; + +#endif // _SAVESETTINGS_H_ diff --git a/lxqt-config-monitor/managesavedsettings.ui b/lxqt-config-monitor/managesavedsettings.ui new file mode 100644 index 0000000..55357e6 --- /dev/null +++ b/lxqt-config-monitor/managesavedsettings.ui @@ -0,0 +1,74 @@ + + + ManageSavedSettings + + + + 0 + 0 + 521 + 312 + + + + Monitor Settings + + + + + + + + + + + + + Saved settings + + + + + + + + + + + Rename + + + + + + + Delete + + + + + + + Apply + + + + + + + + + true + + + + + + + + + + + + + diff --git a/lxqt-config-monitor/monitor.cpp b/lxqt-config-monitor/monitor.cpp index 2e4f8e6..1afa4a3 100644 --- a/lxqt-config-monitor/monitor.cpp +++ b/lxqt-config-monitor/monitor.cpp @@ -18,56 +18,116 @@ #include "monitor.h" -bool MonitorInfo::LVDS_Ok = false; +bool MonitorSavedSettings::operator==(const MonitorSavedSettings &obj) +{ + if(name != obj.name) + return false; + if(date != obj.date) + return false; + // TODO: Check QList monitors. + return true; +} -QSize sizeFromString(QString str) +void saveMonitorSettings(QSettings & settings, QList monitors) { - int width = 0; - int height = 0; - int x = str.indexOf('x'); - if (x > 0) + settings.remove("settings"); + settings.beginWriteArray("settings"); + int i = 0; + Q_FOREACH(MonitorSettings monitor, monitors) { - width = str.left(x).toInt(); - height = str.mid(x + 1).toInt(); + settings.setArrayIndex(i++); + saveMonitorSettings(settings, monitor); } - return QSize(width, height); + settings.endArray(); } -MonitorSettings::MonitorSettings(QObject* parent) : - QObject(parent) +void saveMonitorSettings(QSettings &settings, MonitorSettings &monitor) { - position = None; - primaryOk = false; - enabledOk = false; + settings.setValue("name", monitor.name); + settings.setValue("hash", monitor.hash); + settings.setValue("connected", monitor.connected); + if(monitor.connected) + { + settings.setValue("enabled", monitor.enabled); + settings.setValue("primary", monitor.primary); + settings.setValue("xPos", monitor.xPos); + settings.setValue("yPos", monitor.yPos); + settings.setValue("currentMode", monitor.currentMode); + settings.setValue("currentModeWidth", monitor.currentModeWidth); + settings.setValue("currentModeHeight", monitor.currentModeHeight); + settings.setValue("currentModeRate", monitor.currentModeRate); + settings.setValue("rotation", monitor.rotation); + } } -MonitorInfo::MonitorInfo(QObject* parent) : - MonitorSettings(parent) +void loadMonitorSettings(QSettings & settings, QList &monitors) { + int size = settings.beginReadArray("settings"); + for(int i=0; i monitors) +{ + settings.remove("SavedSettings"); + settings.beginWriteArray("SavedSettings"); + int i = 0; + Q_FOREACH(MonitorSavedSettings monitor, monitors) + { + settings.setArrayIndex(i++); + saveMonitorSettings(settings, monitor); + } + settings.endArray(); } -QSize MonitorSettings::currentSize() +void saveMonitorSettings(QSettings &settings, MonitorSavedSettings &monitor) { - return sizeFromString(currentMode); + settings.setValue("name", monitor.name); + settings.setValue("date", monitor.date); + saveMonitorSettings(settings, monitor.monitors); } -QRect MonitorSettings::geometry() +void loadMonitorSettings(QSettings & settings, QList &monitors) { - return QRect(QPoint(xPos, yPos), currentSize()); + int size = settings.beginReadArray("SavedSettings"); + for(int i=0; i -#include -#include +#include +#include #include -#include -#include -//Settings to pass to backend -class MonitorSettings : public QObject -{ - Q_OBJECT - -public: - MonitorSettings(QObject* parent = 0); +//Settings to be stored or read from settings file. +struct MonitorSettings { QString name; + QString hash; + bool connected; + bool enabled; + bool primary; QString currentMode; - QString currentRate; - QString gamma; + int currentModeWidth; + int currentModeHeight; + float currentModeRate; int xPos; int yPos; - bool enabledOk; - enum Position {None = 0, Manual}; - Position position; - bool primaryOk; - - QSize currentSize(); - QRect geometry(); + int rotation; }; -// Monitor information from backend -class MonitorInfo : public MonitorSettings -{ - Q_OBJECT +struct MonitorSavedSettings { + QString name; + QString date; + QList monitors; + + bool operator==(const MonitorSavedSettings &obj); +}; -public: - KScreen::ConfigPtr mConfig; +/**This function saves a list of MonitorSettings in QSettings file. + * Before using this function, QSettings group must be opened. + */ +void saveMonitorSettings(QSettings &settings, QList monitors); +void saveMonitorSettings(QSettings &settings, MonitorSettings &monitor); - MonitorInfo(QObject* parent = 0); - QStringList modes; // Modes of this monitor in order - QHash modeLines; // Rates suported by each mode - QString preferredMode; - QString preferredRate; - QString edid; // EDID data, not used yet, can be used to detect vendor name of the monitor - QString vendor; +/**This function loads a list of MonitorSettings from QSettings file. + * Before using this function, QSettings group must be opened. + */ +void loadMonitorSettings(QSettings &settings, QList &monitors); +void loadMonitorSettings(QSettings &settings, MonitorSettings &monitor); - static bool LVDS_Ok; // Is true if LVDS (Laptop monitor) is connected. - QString humanReadableName(); -}; +/**This function saves a list of MonitorSavedSettings in QSettings file. + * Before using this function, QSettings group must be opened. + */ +void saveMonitorSettings(QSettings &settings, QList monitors); +void saveMonitorSettings(QSettings &settings, MonitorSavedSettings &monitor); -// Gets size from string rate. String rate format is "widthxheight". Example: 800x600 -QSize sizeFromString(QString str); +/**This function loads a list of MonitorSavedSettings in QSettings file. + * Before using this function, QSettings group must be opened. + */ +void loadMonitorSettings(QSettings &settings, QList &monitors); +void loadMonitorSettings(QSettings &settings, MonitorSavedSettings &monitor); #endif // _MONITOR_H_ diff --git a/lxqt-config-monitor/monitorpicture.cpp b/lxqt-config-monitor/monitorpicture.cpp index 814ff9a..3b5382c 100644 --- a/lxqt-config-monitor/monitorpicture.cpp +++ b/lxqt-config-monitor/monitorpicture.cpp @@ -23,8 +23,24 @@ #include #include #include +#include + #include "configure.h" +// Gets size from string rate. String rate format is "widthxheight". Example: 800x600 +static QSize sizeFromString(QString str) +{ + int width = 0; + int height = 0; + int x = str.indexOf('x'); + if (x > 0) + { + width = str.left(x).toInt(); + height = str.mid(x + 1).toInt(); + } + return QSize(width, height); +} + MonitorPictureProxy::MonitorPictureProxy(QObject *parent, MonitorPicture *monitorPicture):QObject(parent) { this->monitorPicture = monitorPicture; @@ -49,6 +65,8 @@ MonitorPictureDialog::MonitorPictureDialog(KScreen::ConfigPtr config, QWidget * QDialog(parent,f) { updatingOk = false; + firstShownOk = false; + maxMonitorSize = 0; mConfig = config; ui.setupUi(this); } @@ -72,12 +90,27 @@ void MonitorPictureDialog::setScene(QList monitors) } // The blue rectangle is maximum size of virtual screen (framebuffer) scene->addRect(0, 0, mConfig->screen()->maxSize().width(), mConfig->screen()->maxSize().height(), QPen(Qt::blue, 20))->setOpacity(0.5); - int minWidgetLength = qMin(ui.graphicsView->size().width(), ui.graphicsView->size().width()) / 1.5; - int maxMonitorSize = qMax(monitorsWidth, monitorsHeight); - ui.graphicsView->scale(minWidgetLength / (float) maxMonitorSize, minWidgetLength / (float) maxMonitorSize); + maxMonitorSize = qMax(monitorsWidth, monitorsHeight); ui.graphicsView->setScene(scene); } +void MonitorPictureDialog::showEvent(QShowEvent * event) +{ + QWidget::showEvent(event); + if( ! firstShownOk ) + { + // Update scale and set scrollbar position. + // Real widget size is not set, until widget is shown. + firstShownOk = true; + int minWidgetLength = qMin(ui.graphicsView->size().width(), ui.graphicsView->size().width()) / 1.5; + qDebug() << "minWidgetLength" << minWidgetLength << "maxMonitorSize" << maxMonitorSize << "scale" << minWidgetLength / (float) maxMonitorSize; + ui.graphicsView->scale(minWidgetLength / (float) maxMonitorSize, minWidgetLength / (float) maxMonitorSize); + updateScene(); + ui.graphicsView->verticalScrollBar()->setValue(0); + ui.graphicsView->horizontalScrollBar()->setValue(0); + } +} + void MonitorPictureDialog::updateScene() { ui.graphicsView->scene()->update(); @@ -157,7 +190,7 @@ MonitorPicture::MonitorPicture(QGraphicsItem * parent, // textItem->setX(x); // textItem->setY(y); // textItem->setParentItem(this); - + QSvgRenderer *renderer = new QSvgRenderer(QLatin1String(ICON_PATH "monitor.svg")); svgItem = new QGraphicsSvgItem(); svgItem->setSharedRenderer(renderer); diff --git a/lxqt-config-monitor/monitorpicture.h b/lxqt-config-monitor/monitorpicture.h index 6dcda52..8e85e94 100644 --- a/lxqt-config-monitor/monitorpicture.h +++ b/lxqt-config-monitor/monitorpicture.h @@ -42,11 +42,16 @@ public: void moveMonitorPictureToNearest(MonitorPicture* monitorPicture); void updateScene(); +protected: + virtual void showEvent(QShowEvent * event); + private: Ui::MonitorPictureDialog ui; QList pictures; bool updatingOk; - KScreen::ConfigPtr mConfig; + KScreen::ConfigPtr mConfig; + bool firstShownOk; + int maxMonitorSize; }; class MonitorPicture : public QGraphicsRectItem diff --git a/lxqt-config-monitor/monitorsettingsdialog.cpp b/lxqt-config-monitor/monitorsettingsdialog.cpp index d0283b7..2730413 100644 --- a/lxqt-config-monitor/monitorsettingsdialog.cpp +++ b/lxqt-config-monitor/monitorsettingsdialog.cpp @@ -20,20 +20,24 @@ #include "monitorsettingsdialog.h" #include "monitorwidget.h" +#include "monitor.h" #include "timeoutdialog.h" #include "monitorpicture.h" #include "settingsdialog.h" +#include "fastmenu.h" #include #include #include -#include +#include #include #include #include #include #include #include +#include +#include MonitorSettingsDialog::MonitorSettingsDialog() : QDialog(nullptr, 0) @@ -43,12 +47,28 @@ MonitorSettingsDialog::MonitorSettingsDialog() : KScreen::GetConfigOperation *operation = new KScreen::GetConfigOperation(); connect(operation, &KScreen::GetConfigOperation::finished, [this, operation] (KScreen::ConfigOperation *op) { KScreen::GetConfigOperation *configOp = qobject_cast(op); - if (configOp) + qDebug() << "Connecting to KScreen..."; + if (configOp && configOp->config() && configOp->config()->screen()) { mOldConfig = configOp->config()->clone(); loadConfiguration(configOp->config()); operation->deleteLater(); } + else if(configOp && !configOp->config()) + { + qDebug() << "Error: Config is invalid, probably backend couldn't load"; + exit(1); + } + else if(configOp && configOp->config() && !configOp->config()->screen()) + { + qDebug() << "Error: No screen in the configuration, broken backend"; + exit(2); + } + else + { + qDebug() << "Error: Connect to KScreen is not possible"; + exit(3); + } }); connect(ui.buttonBox, &QDialogButtonBox::clicked, [&] (QAbstractButton *button) { @@ -61,7 +81,6 @@ MonitorSettingsDialog::MonitorSettingsDialog() : }); - ui.settingsButton->hide(); // Hide settings button until daemon works OK. connect(ui.settingsButton, SIGNAL(clicked()), this, SLOT(showSettingsDialog())); } @@ -77,6 +96,7 @@ void MonitorSettingsDialog::loadConfiguration(KScreen::ConfigPtr config) mConfig = config; MonitorPictureDialog *monitorPicture = nullptr; + FastMenu *fastMenu = nullptr; KScreen::OutputList outputs = mConfig->outputs(); int nMonitors = 0; @@ -87,6 +107,10 @@ void MonitorSettingsDialog::loadConfiguration(KScreen::ConfigPtr config) if (nMonitors > 1) { + fastMenu = new FastMenu(config, this); + ui.monitorList->addItem(tr("Fast Menu")); + ui.stackedWidget->addWidget(fastMenu); + monitorPicture = new MonitorPictureDialog(config, this); ui.monitorList->addItem(tr("Set position")); ui.stackedWidget->addWidget(monitorPicture); @@ -106,6 +130,15 @@ void MonitorSettingsDialog::loadConfiguration(KScreen::ConfigPtr config) monitors.append(monitor); } } + + Q_FOREACH(MonitorWidget *monitor1, monitors) + { + Q_FOREACH(MonitorWidget *monitor, monitors) + { + if(monitor != monitor1) + connect(monitor, SIGNAL(primaryOutputChanged(MonitorWidget *)), monitor1, SLOT(onPrimaryOutputChanged(MonitorWidget *))); + } + } if (monitorPicture) monitorPicture->setScene(monitors); @@ -145,67 +178,60 @@ void MonitorSettingsDialog::reject() void MonitorSettingsDialog::saveConfiguration(KScreen::ConfigPtr config) { - QJsonObject json; - QJsonArray jsonArray; + + QList currentSettings; KScreen::OutputList outputs = config->outputs(); for (const KScreen::OutputPtr &output : outputs) { - QJsonObject monitorSettings; - monitorSettings["name"] = output->name(); + MonitorSettings monitor; + monitor.name = output->name(); KScreen::Edid* edid = output->edid(); if (edid && edid->isValid()) - monitorSettings["hash"] = edid->hash(); - monitorSettings["connected"] = output->isConnected(); + monitor.hash = edid->hash(); + monitor.connected = output->isConnected(); if ( output->isConnected() ) { - monitorSettings["enabled"] = output->isEnabled(); - monitorSettings["primary"] = output->isPrimary(); - monitorSettings["xPos"] = output->pos().x(); - monitorSettings["yPos"] = output->pos().y(); - monitorSettings["currentMode"] = output->currentMode()->id(); - monitorSettings["rotation"] = output->rotation(); + monitor.enabled = output->isEnabled(); + monitor.primary = output->isPrimary(); + monitor.xPos = output->pos().x(); + monitor.yPos = output->pos().y(); + monitor.currentMode = output->currentModeId(); + monitor.currentModeWidth = output->currentMode()->size().width(); + monitor.currentModeHeight = output->currentMode()->size().height(); + monitor.currentModeRate = output->currentMode()->refreshRate(); + monitor.rotation = output->rotation(); } - jsonArray.append(monitorSettings); + currentSettings.append(monitor); } - json["outputs"] = jsonArray; - QSettings settings("LXQt", "lxqt-config-monitor"); - settings.setValue("currentConfig", QVariant(QJsonDocument(json).toJson())); - - QString desktop = QString("[Desktop Entry]\n" - "Type=Application\n" - "Name=LXQt-config-monitor autostart\n" - "Comment=Autostart monitor settings for LXQt-config-monitor\n" - "Exec=%1\n" - "OnlyShowIn=LXQt\n").arg("lxqt-config-monitor -l"); + LXQt::Settings settings("lxqt-config-monitor"); + settings.beginGroup("currentConfig"); + saveMonitorSettings(settings, currentSettings); + settings.endGroup(); - // Check autostart path: $XDG_CONFIG_HOME or ~/.config/autostart - QString autostartPath; - bool ok = true; - if(qEnvironmentVariableIsSet("XDG_CONFIG_HOME")) - autostartPath = QString(qgetenv("XDG_CONFIG_HOME")); - else - { - autostartPath = QDir::homePath() + "/.config/autostart/"; - // Check if ~/.config/autostart/ exists - QFileInfo fileInfo(autostartPath); - if( ! fileInfo.exists() ) - ok = QDir::root().mkpath(autostartPath); - } - QFile file(autostartPath + "/lxqt-config-monitor-autostart.desktop"); - if(ok) - ok = file.open(QIODevice::WriteOnly | QIODevice::Text); - if(!ok) { - QMessageBox::critical(this, tr("Error"), tr("Config can not be saved")); - return; - } - QTextStream out(&file); - out << desktop; - out.flush(); - file.close(); - + QList monitors; + settings.beginGroup("SavedConfigs"); + loadMonitorSettings(settings, monitors); + qDebug() << "[ MonitorSettingsDialog::saveConfiguration] # monitors Read:" << monitors.size(); + MonitorSavedSettings monitor; + monitor.name = QDateTime::currentDateTime().toString(); + monitor.date = QDateTime::currentDateTime().toString(Qt::ISODate); + monitor.monitors = currentSettings; + monitors.append(monitor); + saveMonitorSettings(settings, monitors); + qDebug() << "[ MonitorSettingsDialog::saveConfiguration] # monitors Write:" << monitors.size(); + settings.endGroup(); + + LXQt::AutostartEntry autoStart("lxqt-config-monitor-autostart.desktop"); + XdgDesktopFile desktopFile(XdgDesktopFile::ApplicationType, "lxqt-config-monitor-autostart", "lxqt-config-monitor -l"); + //desktopFile.setValue("OnlyShowIn", QString(qgetenv("XDG_CURRENT_DESKTOP"))); + desktopFile.setValue("OnlyShowIn", "LXQt"); + desktopFile.setValue("Comment", "Autostart monitor settings for LXQt-config-monitor"); + autoStart.setFile(desktopFile); + autoStart.commit(); } + void MonitorSettingsDialog::showSettingsDialog() { QByteArray configName = qgetenv("LXQT_SESSION_CONFIG"); @@ -215,6 +241,6 @@ void MonitorSettingsDialog::showSettingsDialog() LXQt::Settings settings(configName); - SettingsDialog settingsDialog(tr("Advanced settings"), &settings); + SettingsDialog settingsDialog(tr("Advanced settings"), &settings, mConfig); settingsDialog.exec(); } diff --git a/lxqt-config-monitor/monitorwidget.cpp b/lxqt-config-monitor/monitorwidget.cpp index 5fa7430..d4de216 100644 --- a/lxqt-config-monitor/monitorwidget.cpp +++ b/lxqt-config-monitor/monitorwidget.cpp @@ -18,7 +18,6 @@ */ #include "monitorwidget.h" -#include "monitor.h" #include #include @@ -148,20 +147,6 @@ MonitorWidget::MonitorWidget(KScreen::OutputPtr output, KScreen::ConfigPtr confi // There isn't always a primary output. Gross. output->setPrimary(true); } - else - { - for (const KScreen::OutputPtr &other : config->connectedOutputs()) - { - // We can't clone ourselves, or an output that already clones another - if (other == output) - continue; - - ui.clonesCombo->addItem(other->name(), other->id()); - ui.relativeScreensCombo->addItem(other->name(), other->id()); - } - connect(ui.clonesCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(onCloneChanged(int))); - } - ui.xPosSpinBox->setValue(output->pos().x()); ui.yPosSpinBox->setValue(output->pos().y()); @@ -169,15 +154,6 @@ MonitorWidget::MonitorWidget(KScreen::OutputPtr output, KScreen::ConfigPtr confi // Behavior chooser if (output->isPrimary()) ui.behaviorCombo->setCurrentIndex(PrimaryDisplay); - else if (!output->clone()) - { - // Is this right? - ui.behaviorCombo->setCurrentIndex(CloneDisplay); - int idx = ui.resolutionCombo->findData(output->clone()->id()); - ui.clonesCombo->setCurrentIndex(idx); - } - else - ui.behaviorCombo->setCurrentIndex(ExtendDisplay); // Insert orientations ui.orientationCombo->addItem(tr("None"), KScreen::Output::None); @@ -202,7 +178,6 @@ MonitorWidget::MonitorWidget(KScreen::OutputPtr output, KScreen::ConfigPtr confi connect(ui.enabledCheckbox, SIGNAL(toggled(bool)), this, SLOT(onEnabledChanged(bool))); connect(ui.behaviorCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(onBehaviorChanged(int))); - connect(ui.positioningCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(onPositioningChanged(int))); connect(ui.xPosSpinBox, SIGNAL(valueChanged(int)), this, SLOT(onPositionChanged(int))); connect(ui.yPosSpinBox, SIGNAL(valueChanged(int)), this, SLOT(onPositionChanged(int))); connect(ui.orientationCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(onOrientationChanged(int))); @@ -225,7 +200,6 @@ void MonitorWidget::onEnabledChanged(bool enabled) // order here matters onResolutionChanged(ui.resolutionCombo->currentIndex()); onOrientationChanged(ui.orientationCombo->currentIndex()); - onPositioningChanged(ui.positioningCombo->currentIndex()); onBehaviorChanged(ui.behaviorCombo->currentIndex()); } } @@ -238,63 +212,12 @@ void MonitorWidget::onOrientationChanged(int idx) void MonitorWidget::onBehaviorChanged(int idx) { // Behavior should match the index of the selected element - ui.positioningCombo->setVisible(idx == ExtendDisplay); - ui.clonesCombo->setVisible(idx == CloneDisplay); - ui.relativeScreensCombo->setVisible(idx == ExtendDisplay); ui.xPosSpinBox->setVisible(idx == ExtendDisplay); ui.yPosSpinBox->setVisible(idx == ExtendDisplay); - ui.relativeScreensCombo->setEnabled(true); - if(idx == CloneDisplay) - onCloneChanged(ui.clonesCombo->currentIndex()); output->setPrimary(idx == PrimaryDisplay); -} - -void MonitorWidget::onCloneChanged(int idx) -{ - KScreen::OutputPtr other = getOutputById(ui.clonesCombo->currentData().toInt(), - config->outputs()); - output->setPos( other->pos() ); -} - -void MonitorWidget::onPositioningChanged(int idx) -{ - // Update the x/y spinboxes with the correct values - KScreen::OutputPtr other = getOutputById(ui.relativeScreensCombo->currentData().toInt(), - config->outputs()); - - // TODO: Figure out what to do here - if (!other->currentMode() || !output->currentMode()) - return; - - QSize otherSize = other->currentMode()->size(); - QSize thisSize = output->currentMode()->size(); - - int x = other->pos().x(); - int y = other->pos().y(); - - switch (idx) { - case RightOf: - x += otherSize.width(); - break; - case LeftOf: - x += thisSize.width(); - break; - case Above: - y += otherSize.height(); - break; - case Below: - y += thisSize.height(); - break; - case Manually: - default: - break; - } - - ui.xPosSpinBox->setValue(x); - ui.yPosSpinBox->setValue(y); - // Disable the other screens combo box if we don't need it - ui.relativeScreensCombo->setEnabled(idx && idx != Manually); + if(idx == PrimaryDisplay) + emit primaryOutputChanged(this); } void MonitorWidget::onPositionChanged(int value) @@ -342,6 +265,16 @@ void MonitorWidget::setOnlyMonitor(bool isOnlyMonitor) ui.behaviorCombo->setEnabled(!isOnlyMonitor); ui.xPosSpinBox->setVisible(!isOnlyMonitor); ui.yPosSpinBox->setVisible(!isOnlyMonitor); - ui.relativeScreensCombo->setVisible(!isOnlyMonitor); - ui.clonesCombo->setVisible(!isOnlyMonitor); + if(isOnlyMonitor) + { + ui.xPosSpinBox->setValue(0); + ui.yPosSpinBox->setValue(0); + } +} + +void MonitorWidget::onPrimaryOutputChanged(MonitorWidget *widget) +{ + if(widget == this) + return; + ui.behaviorCombo->setCurrentIndex(ExtendDisplay); } diff --git a/lxqt-config-monitor/monitorwidget.h b/lxqt-config-monitor/monitorwidget.h index 0e43c06..ced3caf 100644 --- a/lxqt-config-monitor/monitorwidget.h +++ b/lxqt-config-monitor/monitorwidget.h @@ -31,7 +31,6 @@ #define PrimaryDisplay 0 #define ExtendDisplay 1 -#define CloneDisplay 2 #define RightOf 0 #define LeftOf 1 @@ -54,6 +53,9 @@ public: KScreen::OutputPtr output; KScreen::ConfigPtr config; + +signals: + void primaryOutputChanged(MonitorWidget *widget); public Q_SLOTS: void setOnlyMonitor(bool isOnlyMonitor); @@ -61,12 +63,11 @@ public Q_SLOTS: private Q_SLOTS: void onEnabledChanged(bool); void onBehaviorChanged(int); - void onPositioningChanged(int); void onPositionChanged(int); void onResolutionChanged(int); void onRateChanged(int); void onOrientationChanged(int); - void onCloneChanged(int); + void onPrimaryOutputChanged(MonitorWidget *widget); private: Ui::MonitorWidget ui; diff --git a/lxqt-config-monitor/monitorwidget.ui b/lxqt-config-monitor/monitorwidget.ui index 38624e4..07488d1 100644 --- a/lxqt-config-monitor/monitorwidget.ui +++ b/lxqt-config-monitor/monitorwidget.ui @@ -21,7 +21,7 @@ Setup - + @@ -103,54 +103,9 @@ This screen extends another display - - - This screen clones another display - - - - - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - - - - false - - - - - - + Qt::Vertical @@ -163,9 +118,6 @@ - - - diff --git a/lxqt-config-monitor/settingsdialog.cpp b/lxqt-config-monitor/settingsdialog.cpp index 9411d65..8ba7c9c 100644 --- a/lxqt-config-monitor/settingsdialog.cpp +++ b/lxqt-config-monitor/settingsdialog.cpp @@ -17,8 +17,10 @@ */ #include "settingsdialog.h" +#include "managesavedsettings.h" +#include -SettingsDialog::SettingsDialog(const QString &title, LXQt::Settings *settings, QWidget *parent) +SettingsDialog::SettingsDialog(const QString &title, LXQt::Settings *settings, KScreen::ConfigPtr config, QWidget *parent) : LXQt::ConfigDialog(title, settings, parent) { setButtons(QDialogButtonBox::QDialogButtonBox::Apply | QDialogButtonBox::Close); @@ -26,4 +28,7 @@ SettingsDialog::SettingsDialog(const QString &title, LXQt::Settings *settings, Q //DaemonSettings *daemon = new DaemonSettings(settings, this); //addPage(daemon, QObject::tr("Daemon"), "system-run"); + + ManageSavedSettings * savedSettings = new ManageSavedSettings(settings, config, this); + addPage(savedSettings, QObject::tr("Manage Saved Settings"), "system-run"); } diff --git a/lxqt-config-monitor/settingsdialog.h b/lxqt-config-monitor/settingsdialog.h index fe892db..3094f2f 100644 --- a/lxqt-config-monitor/settingsdialog.h +++ b/lxqt-config-monitor/settingsdialog.h @@ -21,6 +21,8 @@ #include #include +#include +#include class SettingsDialog : public LXQt::ConfigDialog @@ -28,7 +30,7 @@ class SettingsDialog : public LXQt::ConfigDialog Q_OBJECT public: - SettingsDialog(const QString &title, LXQt::Settings *settings, QWidget *parent = 0); + SettingsDialog(const QString &title, LXQt::Settings *settings, KScreen::ConfigPtr config, QWidget *parent = 0); private Q_SLOTS: diff --git a/lxqt-config-monitor/timeoutdialog.cpp b/lxqt-config-monitor/timeoutdialog.cpp index 3b86516..55302a9 100644 --- a/lxqt-config-monitor/timeoutdialog.cpp +++ b/lxqt-config-monitor/timeoutdialog.cpp @@ -59,7 +59,7 @@ void TimeoutDialog::onTimeout() else { int remaining = maximum / TIMER_DURATION - TIMER_DURATION * time / maximum; - ui.remainingTime->setText(tr("%1 second(s) remaining").arg(remaining)); + ui.remainingTime->setText(tr("%n second(s) remaining", nullptr, remaining).arg(remaining)); ui.progressBar->setValue(time); } } diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor.ts b/lxqt-config-monitor/translations/lxqt-config-monitor.ts deleted file mode 100644 index ff4ae85..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor.ts +++ /dev/null @@ -1,260 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - - - - - External VGA Monitor - - - - - VGA Monitor - - - - - External DVI Monitor - - - - - DVI Monitor - - - - - TV - - - - - Default Monitor - - - - - MonitorPictureDialog - - - Dialog - - - - - Keep monitors attached - - - - - MonitorSettingsDialog - - - Monitor Settings - - - - - Settings - - - - - Set position - - - - - Error - - - - - Config can not be saved - - - - - Advanced settings - - - - - MonitorWidget - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - TimeoutDialog - - - Settings are changed - - - - - Are the current settings OK for you? - - - - - %1 second(s) remaining - - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_de.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_de.ts deleted file mode 100644 index 2b362ef..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_de.ts +++ /dev/null @@ -1,425 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - Laptop-Bildschirm - - - - External VGA Monitor - Externer VGA-Bildschirm - - - - VGA Monitor - VGA-Bildschirm - - - - External DVI Monitor - Externer DVI-Bildschirm - - - - DVI Monitor - DVI-Bildschirm - - - - TV - Fernseher - - - - Default Monitor - Standardbildschirm - - - - MonitorPictureDialog - - - Dialog - Dialogfenster - - - - Keep monitors attached - - - - Magnetic attraction - Magnetische Anziehungskraft - - - - MonitorSettingsDialog - - - Monitor Settings - Bildschirmeinstellungen - - - - Settings - Einstellungen - - - Unify all monitors - Alle Bildschirme gleich behandeln - - - Monitor Position - Bildschirmposition - - - Primary monitor: - Hauptbildschirm: - - - Do you want to save changes? - Einstellungen sichern? - - - Please, check the settings before saving. - Bitte Konfiguration vor dem Sichern überprüfen. - - - Name - Name - - - Name: - Name: - - - Actual - Aktuell - - - - Set position - - - - - Error - Fehler - - - - Config can not be saved - Konfiguration kann nicht gespeichert werden - - - - Advanced settings - - - - - MonitorWidget - - Turn on - Einschalten - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - Auflösung: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - Bildwiederholfrequenz: - - - Hz - Hz - - - Position: - Position: - - - x: - x: - - - y: - y: - - - Brightness: - Helligkeit: - - - Gamma: - Gamma: - - - : - : - - - Backlight: - Hintergrundbeleuchtung: - - - Auto - Automatisch - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - Automatisch - - - Monitor Settings - Bildschirmeinstellungen - - - Quick Options - Schnellwahl - - - Settings - Einstellungen - - - Save settings - Einstellungen sichern - - - - QuickOptions - - Monitor Settings - Bildschirmeinstellungen - - - Show the same screen on both laptop LCD and external monitor - Gleiches Bild auf Laptop und externem Bildschirm anzeigen - - - Extended view - Erweiterter Bildschirm - - - Turn off laptop LCD and use external monitor only - Laptop-Bildschirm ausschalten und nur den externen Monitor verwenden - - - Turn off external monitor and use laptop LCD only - Externen Monitor ausschalten und nur den Laptop-Bildschirm verwenden - - - - SaveSettings - - Monitor Settings - Bildschirmeinstellungen - - - Save - Speichern - - - Saved settings - Gespeicherte Einstellungen - - - All: - Alle: - - - Hardware compatible: - Mit der Hardware kompatibel: - - - Rename - Umbenennen - - - Delete - Löschen - - - Name - Name - - - Name: - Name: - - - - TimeoutDialog - - - Settings are changed - Einstellungen wurden geändert - - - - Are the current settings OK for you? - Sind die Einstellungen korrekt? - - - - %1 second(s) remaining - %1 Sekunde(n) verbleiben - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_el.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_el.ts deleted file mode 100644 index aa6a13f..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_el.ts +++ /dev/null @@ -1,425 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - Οθόνη LCD φορητού - - - - External VGA Monitor - Εξωτερική οθόνη VGA - - - - VGA Monitor - Οθόνη VGA - - - - External DVI Monitor - Εξωτερική οθόνη DVI - - - - DVI Monitor - Οθόνη DVI - - - - TV - Τηλεόραση - - - - Default Monitor - Οθόνη εξ ορισμού - - - - MonitorPictureDialog - - - Dialog - Διάλογος - - - - Keep monitors attached - - - - Magnetic attraction - Μαγνητική έλξη - - - - MonitorSettingsDialog - - - Monitor Settings - Ρυθμίσεις οθόνης - - - - Settings - Ρυθμίσεις - - - Unify all monitors - Ενοποίηση όλων των οθονών - - - Monitor Position - Θέση της οθόνης - - - Primary monitor: - Πρωτεύουσα οθόνη: - - - Do you want to save changes? - Επιθυμείτε την αποθήκευση των αλλαγών; - - - Please, check the settings before saving. - Παρακαλώ, ελέγξτε τις ρυθμίσεις πριν την αποθήκευση. - - - Name - Όνομα - - - Name: - Όνομα: - - - Actual - Τρέχον - - - - Set position - - - - - Error - Σφάλμα - - - - Config can not be saved - Δεν είναι δυνατή η αποθήκευση της διαμόρφωσης - - - - Advanced settings - - - - - MonitorWidget - - Turn on - Ενεργοποίηση - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - Ανάλυση: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - Ρυθμός: - - - Hz - Hz - - - Position: - Θέση: - - - x: - x: - - - y: - y: - - - Brightness: - Φωτεινότητα: - - - Gamma: - Γάμμα: - - - : - : - - - Backlight: - Οπίσθιος φωτισμός: - - - Auto - Αυτόματο - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - Αυτόματο - - - Monitor Settings - Ρυθμίσεις οθόνης - - - Quick Options - Γρήγορες επιλογές - - - Settings - Ρυθμίσεις - - - Save settings - Αποθήκευση ρυθμίσεων - - - - QuickOptions - - Monitor Settings - Ρυθμίσεις οθόνης - - - Show the same screen on both laptop LCD and external monitor - Εμφάνιση της ίδιας οθόνης στο LCD του φορητού και στην εξωτερική οθόνη - - - Extended view - Εκτεταμένη προβολή - - - Turn off laptop LCD and use external monitor only - Απενεργοποίηση της οθόνης LCD του φορητού και χρήση μόνον της εξωτερικής οθόνης - - - Turn off external monitor and use laptop LCD only - Απενεργοποίηση της εξωτερικής οθόνης και χρήση μόνον της οθόνης LCD του φορητού - - - - SaveSettings - - Monitor Settings - Ρυθμίσεις οθόνης - - - Save - Αποθήκευση - - - Saved settings - Αποθηκευμένες ρυθμίσεις - - - All: - Όλα: - - - Hardware compatible: - Συμβατά με το υλικό: - - - Rename - Μετονομασία - - - Delete - Διαγραφή - - - Name - Όνομα - - - Name: - Όνομα: - - - - TimeoutDialog - - - Settings are changed - Οι ρυθμίσεις τροποποιήθηκαν - - - - Are the current settings OK for you? - Οι τρέχουσες ρυθμίσεις σας ικανοποιούν; - - - - %1 second(s) remaining - Υπολείπεται %1 δευτερόλεπτο(α) - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_hu.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_hu.ts deleted file mode 100644 index f1f3bf6..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_hu.ts +++ /dev/null @@ -1,377 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - Beépített LCD Monitor - - - - External VGA Monitor - Külső LCD Monitor - - - - VGA Monitor - VGA Monitor - - - - External DVI Monitor - Külső DVI Monitor - - - - DVI Monitor - - - - - TV - - - - - Default Monitor - Alapértelmezett Monitor - - - - MonitorPictureDialog - - - Dialog - Párbeszédablak - - - - Keep monitors attached - - - - Magnetic attraction - Mégneses elhajlás - - - - MonitorSettingsDialog - - - Monitor Settings - Monitor beállítás - - - Quick Options - Gyors lehetőségek - - - Show the same screen on both laptop LCD and external monitor - Azonos kép a beépített LCD és külső monitoron - - - Extended view - Bővített megjelenítés - - - Turn off laptop LCD and use external monitor only - Beépített LCD kikapcsolása és csak a külső használata - - - Turn off external monitor and use laptop LCD only - Külső monor lekapcsolása és csak a belső LCD használata - - - - Settings - beállítások - - - Unify all monitors - Monitorok összevonása - - - Monitor Position - Monitor helyzet - - - Primary monitor: - Elsődleges monitor: - - - Do you want to save changes? - Változtatások mentése? - - - Please, check your config before to save. - Mentés előtt ellenőrizd a beállításokat! - - - - Set position - - - - - Error - Hiba - - - - Config can not be saved - A beállítás mentetlen - - - - Advanced settings - - - - - MonitorWidget - - Turn on - Bekapcsolás - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - Felbontás: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - Arány: - - - Position: - Helyzet: - - - Brightness: - Fényerő: - - - Backlight: - Háttérfény: - - - Auto - Automata - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - Automata - - - Monitor Settings - Monitor beállítás - - - Quick Options - Gyors lehetőségek - - - Settings - beállítások - - - - QuickOptions - - Monitor Settings - Monitor beállítás - - - Show the same screen on both laptop LCD and external monitor - Azonos kép a beépített LCD és külső monitoron - - - Extended view - Bővített megjelenítés - - - Turn off laptop LCD and use external monitor only - Beépített LCD kikapcsolása és csak a külső használata - - - Turn off external monitor and use laptop LCD only - Külső monor lekapcsolása és csak a belső LCD használata - - - - SaveSettings - - Monitor Settings - Monitor beállítás - - - - TimeoutDialog - - - Settings are changed - Beállítások változtatása - - - - Are the current settings OK for you? - Jók a beállítások? - - - - %1 second(s) remaining - %1 másodperc van hátra - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_it.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_it.ts deleted file mode 100644 index 54b8f6b..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_it.ts +++ /dev/null @@ -1,377 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - Monitor portatile LCD - - - - External VGA Monitor - Monitor esterno VGA - - - - VGA Monitor - Monitor VGA - - - - External DVI Monitor - Monitor esterno DVI - - - - DVI Monitor - Monitor DVI - - - - TV - TV - - - - Default Monitor - Monitor principale - - - - MonitorPictureDialog - - - Dialog - - - - - Keep monitors attached - - - - Magnetic attraction - Attrazione magnetica - - - - MonitorSettingsDialog - - - Monitor Settings - Impostazioni del monitor - - - Quick Options - Opzioni veloci - - - Show the same screen on both laptop LCD and external monitor - Unifica uscite - - - Extended view - Vista estesa - - - Turn off laptop LCD and use external monitor only - Spegni monitor portatile LCD e usa solo monitor esterno - - - Turn off external monitor and use laptop LCD only - Spegni monitor esterno e usa solo monitor LCD - - - - Settings - Impostazioni - - - Unify all monitors - Unisci tutte le uscite - - - Monitor Position - Posizione dello schermo - - - Primary monitor: - Monitor principale: - - - Do you want to save changes? - Salvare i cambiamenti? - - - Please, check your config before to save. - Per favore controlla la configurazione prima di salvare. - - - - Set position - - - - - Error - Errore - - - - Config can not be saved - La configurazione non può essere salvata - - - - Advanced settings - - - - - MonitorWidget - - Turn on - Accendi - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - Risoluzione: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - Frequenza: - - - Position: - Posizione: - - - Brightness: - Luminosità: - - - Backlight: - Retroilluminazione: - - - Auto - Auto - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - Auto - - - Monitor Settings - Impostazioni del monitor - - - Quick Options - Opzioni veloci - - - Settings - Impostazioni - - - - QuickOptions - - Monitor Settings - Impostazioni del monitor - - - Show the same screen on both laptop LCD and external monitor - Unifica uscite - - - Extended view - Vista estesa - - - Turn off laptop LCD and use external monitor only - Spegni monitor portatile LCD e usa solo monitor esterno - - - Turn off external monitor and use laptop LCD only - Spegni monitor esterno e usa solo monitor LCD - - - - SaveSettings - - Monitor Settings - Impostazioni del monitor - - - - TimeoutDialog - - - Settings are changed - Impostazione modificate - - - - Are the current settings OK for you? - Mantenere questa configurazione? - - - - %1 second(s) remaining - %1 secondi rimanenti - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_ja.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_ja.ts deleted file mode 100644 index 3954b37..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_ja.ts +++ /dev/null @@ -1,393 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - ラップトップ液晶モニター - - - - External VGA Monitor - 外部VGAモニター - - - - VGA Monitor - VGAモニター - - - - External DVI Monitor - 外部DVIモニター - - - - DVI Monitor - DVIモニター - - - - TV - TV - - - - Default Monitor - デフォルトのモニター - - - - MonitorPictureDialog - - - Dialog - ダイアログ - - - - Keep monitors attached - - - - - MonitorSettingsDialog - - - Monitor Settings - モニターの設定 - - - Quick Options - クイックオプション - - - Show the same screen on both laptop LCD and external monitor - ラップトップ液晶パネルと外部モニターで同じ画面を表示 - - - Extended view - 拡張領域 - - - Turn off laptop LCD and use external monitor only - ラップトップ液晶画面を無効にし、外部モニターのみ使う - - - Turn off external monitor and use laptop LCD only - 外部モニターを無効にし、ラップトップ液晶画面のみ使う - - - - Settings - 設定 - - - Unify all monitors - すべてのモニターの表示を共通にする - - - Monitor Position - モニターの位置 - - - Primary monitor: - プライマリーモニター: - - - Do you want to save changes? - 変更を保存しますか? - - - Please, check your config before to save. - 保存する前に、設定結果を確認してください - - - - Set position - - - - - Error - エラー - - - - Config can not be saved - 設定を保存することができませんでした - - - - Advanced settings - - - - - MonitorWidget - - Turn on - 有効にする - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - 解像度: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - リフレッシュレート: - - - Hz - Hz - - - Position: - 位置: - - - x: - X座標: - - - y: - Y座標: - - - Brightness: - 明るさ: - - - Gamma: - ガンマ: - - - : - : - - - Backlight: - バックライト: - - - Auto - 自動 - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - 自動 - - - Monitor Settings - モニターの設定 - - - Quick Options - クイックオプション - - - Settings - 設定 - - - - QuickOptions - - Monitor Settings - モニターの設定 - - - Show the same screen on both laptop LCD and external monitor - ラップトップ液晶パネルと外部モニターで同じ画面を表示 - - - Extended view - 拡張領域 - - - Turn off laptop LCD and use external monitor only - ラップトップ液晶画面を無効にし、外部モニターのみ使う - - - Turn off external monitor and use laptop LCD only - 外部モニターを無効にし、ラップトップ液晶画面のみ使う - - - - SaveSettings - - Monitor Settings - モニターの設定 - - - - TimeoutDialog - - - Settings are changed - 設定は変更されました - - - - Are the current settings OK for you? - この設定で問題ないですか? - - - - %1 second(s) remaining - 残り %1 秒 - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_pl_PL.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_pl_PL.ts deleted file mode 100644 index 33a3561..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_pl_PL.ts +++ /dev/null @@ -1,381 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - Monitor LCD laptopa - - - - External VGA Monitor - Zewnętrzny monitor VGA - - - - VGA Monitor - Monitor VGA - - - - External DVI Monitor - Zewnętrzny monitor DVI - - - - DVI Monitor - Monitor DVI - - - - TV - TV - - - - Default Monitor - Domyślny monitor - - - - MonitorPictureDialog - - - Dialog - - - - - Keep monitors attached - - - - - MonitorSettingsDialog - - - Monitor Settings - Ustawienia monitora - - - Quick Options - Opcje - - - Show the same screen on both laptop LCD and external monitor - Pokaż ten sam ekran na LCD laptopa oraz zewnętrznym monitorze - - - Extended view - Rozszerzony widok - - - Turn off laptop LCD and use external monitor only - Wyłącz LCD laptopa i użyj tylko zewnętrznego monitora - - - Turn off external monitor and use laptop LCD only - Wyłącz zewnętrzny monitor i użyj tylko LCD laptopa - - - - Settings - Ustawienia - - - Primary monitor: - Główny monitor: - - - Do you want to save changes? - Czy chcesz zachować zmiany? - - - Please, check your config before to save. - Proszę sprawdzić konfigurację przed zapisaniem. - - - - Set position - - - - - Error - Błąd - - - - Config can not be saved - Konfiguracja nie może być zapisana - - - - Advanced settings - - - - - MonitorWidget - - Turn on - Włącz - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - Rozdzielczość: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - Odświeżanie: - - - Hz - Hz - - - Position: - Pozycja: - - - x: - x: - - - y: - y: - - - Brightness: - Jasność: - - - Gamma: - Gamma: - - - : - : - - - Auto - Auto - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - Auto - - - Monitor Settings - Ustawienia monitora - - - Quick Options - Opcje - - - Settings - Ustawienia - - - - QuickOptions - - Monitor Settings - Ustawienia monitora - - - Show the same screen on both laptop LCD and external monitor - Pokaż ten sam ekran na LCD laptopa oraz zewnętrznym monitorze - - - Extended view - Rozszerzony widok - - - Turn off laptop LCD and use external monitor only - Wyłącz LCD laptopa i użyj tylko zewnętrznego monitora - - - Turn off external monitor and use laptop LCD only - Wyłącz zewnętrzny monitor i użyj tylko LCD laptopa - - - - SaveSettings - - Monitor Settings - Ustawienia monitora - - - - TimeoutDialog - - - Settings are changed - Ustawienia zostały zmienione - - - - Are the current settings OK for you? - Czy aktualne ustawienia są prawidłowe? - - - - %1 second(s) remaining - pozostało sekund: %1 - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_pt.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_pt.ts deleted file mode 100644 index d554fc2..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_pt.ts +++ /dev/null @@ -1,477 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - Monitor LCD de portátil - - - - External VGA Monitor - Monitor externo VGA - - - - VGA Monitor - Monitor VGA - - - - External DVI Monitor - Monitor externo DVI - - - - DVI Monitor - Monitor DVI - - - - TV - TV - - - - Default Monitor - Monitor pré-definido - - - - MonitorPictureDialog - - - Dialog - Caixa de diálogo - - - - Keep monitors attached - - - - Magnetic attraction - Atração magnética - - - - MonitorSettingsDialog - - Laptop LCD Monitor - Monitor LCD de portátil - - - External VGA Monitor - Monitor externo VGA - - - VGA Monitor - Monitor VGA - - - External DVI Monitor - Monitor externo DVI - - - DVI Monitor - Monitor DVI - - - TV - TV - - - Default Monitor - Monitor pré-definido - - - Auto - Automático - - - OK? - Aceitar? - - - Yes - Sim - - - About - Sobre - - - Left of - Esquerda de - - - Right of - Direita de - - - Above of - Acima de - - - Below of - Abaixo de - - - Show the same screen on both - Mostrar o mesmo ecrã em ambos - - - Turn off first monitor and use second monitor only - Desligar o primeiro monitor e utilizar o segundo - - - Turn off second monitor and use first monitor only - Desligar o segundo monitor e utilizar o primeiro - - - LXQt-config-monitor - -Monitor configuration tool for LXQt. - LXQt-config-monitor - -Ferramenta de configuração de monitores do LXQt. - - - - Monitor Settings - Definições do monitor - - - Quick Options - Opções rápidas - - - Show the same screen on both laptop LCD and external monitor - Mostrar o mesmo ecrã no portátil e no monitor externo - - - Extended view - Vista detalhada - - - Turn off laptop LCD and use external monitor only - Desligar ecrã do portátil e utilizar o monitor externo - - - Turn off external monitor and use laptop LCD only - Desligar o monitor externo e utilizar o ecrã do portátil - - - - Settings - Definições - - - Unify all monitors - Unificar todos os monitores - - - Monitor Position - Posição do monitor - - - Primary monitor: - Monitor principal: - - - Do you want to save changes? - Quer guardar as alterações? - - - Please, check your config before to save. - Verifique a configuraçao antes de guardar. - - - - Set position - - - - - Error - Erro - - - - Config can not be saved - Não é possível guardar a configuração - - - - Advanced settings - - - - - MonitorWidget - - Turn on - Ligar - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - Resolução: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - Taxa: - - - Hz - Hz - - - Position: - Posição: - - - x: - x: - - - y: - y: - - - Brightness: - Brilho: - - - Gamma: - Gama: - - - : - : - - - Backlight: - Luz de fundo: - - - Auto - Automático - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - Automático - - - Monitor Settings - Definições do monitor - - - Quick Options - Opções rápidas - - - Settings - Definições - - - - QuickOptions - - Monitor Settings - Definições do monitor - - - Show the same screen on both laptop LCD and external monitor - Mostrar o mesmo ecrã no portátil e no monitor externo - - - Extended view - Vista detalhada - - - Turn off laptop LCD and use external monitor only - Desligar ecrã do portátil e utilizar o monitor externo - - - Turn off external monitor and use laptop LCD only - Desligar o monitor externo e utilizar o ecrã do portátil - - - - SaveSettings - - Monitor Settings - Definições do monitor - - - - TimeoutDialog - - - Settings are changed - Definições alteradas - - - - Are the current settings OK for you? - As definições estão certas para si? - - - - %1 second(s) remaining - %1 segundo(s) em falta - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_ru.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_ru.ts deleted file mode 100644 index 4c12d9a..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_ru.ts +++ /dev/null @@ -1,432 +0,0 @@ - - - - - ApplyDialog - - Monitor Settings - Настройки монитора - - - Save - Сохранить - - - Saved settings - Сохранённые настройки - - - All: - Все: - - - Hardware compatible: - Аппаратно-совместимые: - - - - MonitorInfo - - - Laptop LCD Monitor - ЖК-монитор лэптопа - - - - External VGA Monitor - Внешний VGA-монитор - - - - VGA Monitor - VGA-монитор - - - - External DVI Monitor - Внешний DVI-монитор - - - - DVI Monitor - DVI-монитор - - - - TV - ТВ - - - - Default Monitor - Монитор по умолчанию - - - - MonitorPictureDialog - - - Dialog - - - - - Keep monitors attached - - - - Magnetic attraction - Магнитное притяжение - - - - MonitorSettingsDialog - - - Monitor Settings - Настройки монитора - - - - Settings - Настройки - - - Unify all monitors - Объединить все мониторы - - - Monitor Position - Положение монитора - - - Primary monitor: - Первичный монитор: - - - Apply - Применить - - - Do you want to save changes? - Вы хотите сохранить изменения? - - - Please, check the settings before saving. - Проверьте, пожалуйста, настройки перед сохранением. - - - Name - Название - - - Name: - Название: - - - Actual - Текущие - - - - Set position - - - - - Error - Ошибка - - - - Config can not be saved - Не удалось сохранить конфигурацию - - - - Advanced settings - - - - - MonitorWidget - - Turn on - Включить - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - Разрешение: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - Частота: - - - Hz - Гц - - - Position: - Положение: - - - Backlight: - Подсветка: - - - Brightness: - Яркость: - - - Gamma: - Гамма: - - - Auto - Авто - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - Авто - - - Monitor Settings - Настройки монитора - - - Quick Options - Быстрые настройки - - - Settings - Настройки - - - Save settings - Сохранить настройки - - - - QuickOptions - - Monitor Settings - Настройки монитора - - - Show the same screen on both laptop LCD and external monitor - Отображать одинаковый экран на внешнем мониторе и ЖК-мониторе лэптопа - - - Extended view - Расширенный вид - - - Turn off laptop LCD and use external monitor only - Выключить ЖК-монитор лэптопа и использовать только внешний монитор - - - Turn off external monitor and use laptop LCD only - Выключить внешний монитор и использовать только ЖК-монитор лэптопа - - - - SaveSettings - - Monitor Settings - Настройки монитора - - - Save - Сохранить - - - Saved settings - Сохранённые настройки - - - All: - Все: - - - Hardware compatible: - Аппаратно-совместимые: - - - Name - Название - - - Name: - Название: - - - - TimeoutDialog - - - Settings are changed - Настройки изменились - - - - Are the current settings OK for you? - Вам подходят текущие настройки? - - - - %1 second(s) remaining - Осталось %1 секунд(ы) - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_ru_RU.desktop b/lxqt-config-monitor/translations/lxqt-config-monitor_ru_RU.desktop deleted file mode 100644 index a32362f..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_ru_RU.desktop +++ /dev/null @@ -1,4 +0,0 @@ -# Translations -Comment[ru_RU]=Настроить мониторы -Name[ru_RU]=Настройки монитора -GenericName[ru_RU]=Настройки монитора \ No newline at end of file diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_ru_RU.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_ru_RU.ts deleted file mode 100644 index 10cec65..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_ru_RU.ts +++ /dev/null @@ -1,432 +0,0 @@ - - - - - ApplyDialog - - Monitor Settings - Настройки монитора - - - Save - Сохранить - - - Saved settings - Сохранённые настройки - - - All: - Все: - - - Hardware compatible: - Аппаратно-совместимые: - - - - MonitorInfo - - - Laptop LCD Monitor - ЖК-монитор лэптопа - - - - External VGA Monitor - Внешний VGA-монитор - - - - VGA Monitor - VGA-монитор - - - - External DVI Monitor - Внешний DVI-монитор - - - - DVI Monitor - DVI-монитор - - - - TV - ТВ - - - - Default Monitor - Монитор по умолчанию - - - - MonitorPictureDialog - - - Dialog - - - - - Keep monitors attached - - - - Magnetic attraction - Магнитное притяжение - - - - MonitorSettingsDialog - - - Monitor Settings - Настройки монитора - - - - Settings - Настройки - - - Unify all monitors - Объединить все мониторы - - - Monitor Position - Положение монитора - - - Primary monitor: - Первичный монитор: - - - Apply - Применить - - - Do you want to save changes? - Вы хотите сохранить изменения? - - - Please, check the settings before saving. - Проверьте, пожалуйста, настройки перед сохранением. - - - Name - Название - - - Name: - Название: - - - Actual - Текущие - - - - Set position - - - - - Error - Ошибка - - - - Config can not be saved - Не удалось сохранить конфигурацию - - - - Advanced settings - - - - - MonitorWidget - - Turn on - Включить - - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - Разрешение: - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Rate: - Частота: - - - Hz - Гц - - - Position: - Положение: - - - Backlight: - Подсветка: - - - Brightness: - Яркость: - - - Gamma: - Гамма: - - - Auto - Авто - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - Авто - - - Monitor Settings - Настройки монитора - - - Quick Options - Быстрые настройки - - - Settings - Настройки - - - Save settings - Сохранить настройки - - - - QuickOptions - - Monitor Settings - Настройки монитора - - - Show the same screen on both laptop LCD and external monitor - Отображать одинаковый экран на внешнем мониторе и ЖК-мониторе лэптопа - - - Extended view - Расширенный вид - - - Turn off laptop LCD and use external monitor only - Выключить ЖК-монитор лэптопа и использовать только внешний монитор - - - Turn off external monitor and use laptop LCD only - Выключить внешний монитор и использовать только ЖК-монитор лэптопа - - - - SaveSettings - - Monitor Settings - Настройки монитора - - - Save - Сохранить - - - Saved settings - Сохранённые настройки - - - All: - Все: - - - Hardware compatible: - Аппаратно-совместимые: - - - Name - Название - - - Name: - Название: - - - - TimeoutDialog - - - Settings are changed - Настройки изменились - - - - Are the current settings OK for you? - Вам подходят текущие настройки? - - - - %1 second(s) remaining - Осталось %1 секунд(ы) - - - diff --git a/lxqt-config-monitor/translations/lxqt-config-monitor_zh_TW.ts b/lxqt-config-monitor/translations/lxqt-config-monitor_zh_TW.ts deleted file mode 100644 index e59aae0..0000000 --- a/lxqt-config-monitor/translations/lxqt-config-monitor_zh_TW.ts +++ /dev/null @@ -1,329 +0,0 @@ - - - - - MonitorInfo - - - Laptop LCD Monitor - 筆記型電腦液晶螢幕 - - - - External VGA Monitor - 外接VGA螢幕 - - - - VGA Monitor - VGA 螢幕 - - - - External DVI Monitor - 外接 DVI 螢幕 - - - - DVI Monitor - DVI 螢幕 - - - - TV - 電視 - - - - Default Monitor - 預設螢幕 - - - - MonitorPictureDialog - - - Dialog - - - - - Keep monitors attached - - - - - MonitorSettingsDialog - - Laptop LCD Monitor - 筆記型電腦液晶螢幕 - - - External VGA Monitor - 外接VGA螢幕 - - - VGA Monitor - VGA 螢幕 - - - External DVI Monitor - 外接 DVI 螢幕 - - - DVI Monitor - DVI 螢幕 - - - TV - 電視 - - - Default Monitor - 預設螢幕 - - - Auto - 自動 - - - Yes - - - - About - 關於 - - - Show the same screen on both - 在兩邊都顯示相同畫面 - - - Turn off first monitor and use second monitor only - 關掉第一個螢幕,只用第二個螢幕 - - - Turn off second monitor and use first monitor only - 關掉第二個螢幕,只用第一個螢幕 - - - LXQt-config-monitor - -Monitor configuration tool for LXQt. - LXQt-config-monitor 螢幕設定工具 - - - - Monitor Settings - - - - - Settings - - - - - Set position - - - - - Error - - - - - Config can not be saved - - - - - Advanced settings - - - - - MonitorWidget - - - Setup - - - - - (x) - - - - - (y) - - - - - Resolution: - - - - - Enable this display - - - - - This is my primary display - - - - - This screen extends another display - - - - - This screen clones another display - - - - - Right of... - - - - - Left of... - - - - - Above... - - - - - Below... - - - - - Positioned manually - - - - - Advanced - - - - - Refresh rate: - - - - - Rotation: - - - - - Info - - - - - Display information - - - - Auto - 自動 - - - - Name: %1 - - - - - - Vendor: %1 - - - - - - Serial: %1 - - - - - - Display size: %1cm x %2cm - - - - - - Serial number: %1 - - - - - - EISA device ID: %1 - - - - - - None - - - - - Left - - - - - Right - - - - - Inverted - - - - - %1 Hz - - - - - QObject - - Auto - 自動 - - - - TimeoutDialog - - - Settings are changed - - - - - Are the current settings OK for you? - - - - - %1 second(s) remaining - - - - diff --git a/lxqt-config-session.png b/lxqt-config-session.png new file mode 100644 index 0000000..17e725b Binary files /dev/null and b/lxqt-config-session.png differ diff --git a/lxqt-config.kdev4 b/lxqt-config.kdev4 deleted file mode 100644 index 30a251d..0000000 --- a/lxqt-config.kdev4 +++ /dev/null @@ -1,3 +0,0 @@ -[Project] -Manager=KDevCMakeManager -Name=lxqt-config diff --git a/lxqt-config.png b/lxqt-config.png new file mode 100644 index 0000000..ab7b601 Binary files /dev/null and b/lxqt-config.png differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d1e4e6e..1f9c86b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,6 +30,16 @@ lxqt_translate_ts(QM_FILES ${lxqt-config_UIS} INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + PULL_TRANSLATIONS + ${PULL_TRANSLATIONS} + CLEAN_TRANSLATIONS + ${CLEAN_TRANSLATIONS} + TRANSLATIONS_REPO + ${TRANSLATIONS_REPO} + TRANSLATIONS_REFSPEC + ${TRANSLATIONS_REFSPEC} + REPO_SUBDIR + "lxqt-config/${PROJECT_NAME}" ) lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) diff --git a/src/main.cpp b/src/main.cpp index 0996b85..a9644e6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,19 +26,30 @@ * END_COMMON_COPYRIGHT_HEADER */ #include +#include #include "mainwindow.h" int main(int argc, char **argv) { LXQt::SingleApplication app(argc, argv); + app.setOrganizationName(QStringLiteral("lxqt")); + app.setApplicationName(QStringLiteral("lxqt-config")); + app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); // ensure that we use lxqt-config.menu file. qputenv("XDG_MENU_PREFIX", "lxqt-"); LXQtConfig::MainWindow w; app.setActivationWindow(&w); + QSize s = QSettings{}.value("size").toSize(); + if (!s.isEmpty()) + w.resize(s); w.show(); - return app.exec(); + int ret = app.exec(); + + QSettings{}.setValue("size", w.size()); + + return ret; } diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 4cc66bf..ebdedad 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -33,6 +33,8 @@ #include #include #include +#include +#include #include #include @@ -170,8 +172,16 @@ public: QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { - int height = QStyledItemDelegate::sizeHint(option, index).height(); - return QSize(mView->gridSize().width(), qMin(height, mView->gridSize().height())); + /* We let Qt calculate the real cell size but consider the 4-px margin + around each cell and try to add a 2-px margin around the selection + rectangle for styles that, unlike Fusion, highlight the whole item. */ + QStyleOptionViewItemV4 opt = option; + int delta = opt.rect.width() - (mView->gridSize().width() - 8); + if (delta > 0) + opt.rect.adjust(delta/2, 0 , -delta/2, 0); + QSize defaultSize = QStyledItemDelegate::sizeHint(opt, index); + return QSize(qMin(defaultSize.width() + 4, mView->gridSize().width() - 8), + qMin(defaultSize.height() + 4, mView->gridSize().height() - 8)); } protected: @@ -180,9 +190,16 @@ protected: QStyleOptionViewItemV4 opt = option; initStyleOption(&opt, index); - QSize size(mView->gridSize().width(), mView->iconSize().height()); - QPixmap pixmap = opt.icon.pixmap(mView->iconSize()); - opt.icon = QIcon(pixmap.copy(QRect(QPoint(0, 0), size))); + const QSize & iconSize = option.decorationSize; + QSize size(mView->gridSize().width() - 8, // 4-px margin around each cell + iconSize.height()); + // for having sharp non-scalable icons with HDPI + int dpr = qApp->devicePixelRatio(); + if (dpr < 1) dpr = 1; + QPixmap pixmap = opt.icon.pixmap(iconSize / dpr); // -> Qt doc -> QIcon::pixmap() + if (dpr > 1 && pixmap.size() == iconSize) // exceptional (scalable or not from icon set) + pixmap = opt.icon.pixmap(iconSize); + opt.icon = QIcon(pixmap.copy(QRect(QPoint(0, 0), size * dpr))); opt.decorationSize = size; QApplication::style()->drawControl(QStyle::CE_ItemViewItem, &opt, painter); @@ -197,50 +214,23 @@ LXQtConfig::MainWindow::MainWindow() : QMainWindow() { setupUi(this); + /* To always have the intended layout on startup, + the listview should be shown after it's fully formed. */ + view->hide(); + model = new ConfigPaneModel(); view->setViewMode(QListView::IconMode); - view->setIconSize(QSize(32, 32)); - view->setGridSize(QSize(100, 100)); view->setWordWrap(true); view->setUniformItemSizes(true); view->setCategoryDrawer(new QCategoryDrawerV3(view)); - // Qt bug: signal activated should respect the hint, but it doesn't - if (style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick)) - connect(view, SIGNAL(clicked(const QModelIndex&)), SLOT(activateItem(const QModelIndex&))); - else - connect(view, SIGNAL(doubleClicked(const QModelIndex&)), SLOT(activateItem(const QModelIndex&))); + connect(view, &QAbstractItemView::activated, this, &MainWindow::activateItem); view->setFocus(); + QTimer::singleShot(0, [this] { setSizing(); }); QTimer::singleShot(1, this, SLOT(load())); -} - -bool LXQtConfig::MainWindow::event(QEvent* event) -{ - // LXQt's Qt5 plugin sends a ThemeChange event - if (event->type() == QEvent::ThemeChange) - { - // Qt bug: signal activated should respect the hint, but it doesn't - if (style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick)) - { - view->disconnect(this); - connect(view, SIGNAL(clicked(const QModelIndex&)), SLOT(activateItem(const QModelIndex&))); - } - else - { - view->disconnect(this); - connect(view, SIGNAL(doubleClicked(const QModelIndex&)), SLOT(activateItem(const QModelIndex&))); - } - } - else if (event->type() == QEvent::KeyRelease) - { - int key = static_cast(event)->key(); - if (key == Qt::Key_Enter || key == Qt::Key_Return) - activateItem(view->selectionModel()->currentIndex()); - } - - return QMainWindow::event(event); + new QShortcut{QKeySequence{Qt::CTRL + Qt::Key_Q}, this, SLOT(close())}; } void LXQtConfig::MainWindow::load() @@ -254,6 +244,8 @@ void LXQtConfig::MainWindow::load() view->setModel(proxyModel); view->setItemDelegate(new ConfigItemDelegate(view)); + view->show(); + QApplication::restoreOverrideCursor(); } @@ -265,3 +257,35 @@ void LXQtConfig::MainWindow::activateItem(const QModelIndex &index) QModelIndex orig = proxyModel->mapToSource(index); model->activateItem(orig); } + +void LXQtConfig::MainWindow::setSizing() +{ + // consult the style to know the icon size + int iconSize = qBound(16, view->decorationSize().height(), 256); + // DPR is automatically taken into account in setIconSize() + // but wee need to consider it explicitly below + int dpr = qApp->devicePixelRatio(); + if (dpr < 1) dpr = 1; + iconSize *= dpr; + /* To have an appropriate grid size, we suppose that + * + * (1) The text has 3 lines and each line has 16 chars (for languages like German), at most; + * (2) The selection rect has a margin of 2 px, at most; + * (3) There is, at most, a 3-px spacing between text and icon; and + * (4) There is a 4-px margin around each cell. + */ + QFontMetrics fm = fontMetrics(); + int textWidth = fm.averageCharWidth() * 16; + int textHeight = fm.lineSpacing() * 3; + QSize grid; + grid.setWidth(qMax(iconSize, textWidth) + 4); + grid.setHeight(iconSize + textHeight + 4 + 3); + view->setGridSize(grid + QSize(8, 8)); +} + +bool LXQtConfig::MainWindow::event(QEvent * event) +{ + if (QEvent::StyleChange == event->type()) + setSizing(); + return QMainWindow::event(event); +} diff --git a/src/mainwindow.h b/src/mainwindow.h index e8952ee..ae97cc9 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -50,13 +50,16 @@ class MainWindow : public QMainWindow, public Ui::MainWindow public: MainWindow(); +protected: + virtual bool event(QEvent * event) override; + private: QCategorizedSortFilterProxyModel *proxyModel; ConfigPaneModel *model; private: void builGroup(const QDomElement& xml); - bool event(QEvent *event); + void setSizing(); private slots: void load(); diff --git a/src/qcategorizedview/qcategorizedview.cpp b/src/qcategorizedview/qcategorizedview.cpp index 4c3ca6e..fddb5f4 100644 --- a/src/qcategorizedview/qcategorizedview.cpp +++ b/src/qcategorizedview/qcategorizedview.cpp @@ -781,6 +781,11 @@ void QCategorizedView::reset() QListView::reset(); } +QSize QCategorizedView::decorationSize() const +{ + return viewOptions().decorationSize; +} + void QCategorizedView::paintEvent(QPaintEvent *event) { if (!d->isCategorized()) { @@ -1449,7 +1454,8 @@ void QCategorizedView::currentChanged(const QModelIndex ¤t, } void QCategorizedView::dataChanged(const QModelIndex &topLeft, - const QModelIndex &bottomRight) + const QModelIndex &bottomRight, + const QVector & roles) { QListView::dataChanged(topLeft, bottomRight); if (!d->isCategorized()) { diff --git a/src/qcategorizedview/qcategorizedview.h b/src/qcategorizedview/qcategorizedview.h index d889402..bc29ef3 100644 --- a/src/qcategorizedview/qcategorizedview.h +++ b/src/qcategorizedview/qcategorizedview.h @@ -213,6 +213,11 @@ public: */ virtual void reset(); + /** + * @return The icon size by considering all the styling + */ + QSize decorationSize() const; + protected: /** * Reimplemented from QWidget. @@ -303,7 +308,8 @@ protected: * Reimplemented from QAbstractItemView. */ virtual void dataChanged(const QModelIndex &topLeft, - const QModelIndex &bottomRight); + const QModelIndex &bottomRight, + const QVector & roles = QVector ()); /** * Reimplemented from QAbstractItemView. diff --git a/src/translations/lxqt-config.ts b/src/translations/lxqt-config.ts deleted file mode 100644 index cf20fd0..0000000 --- a/src/translations/lxqt-config.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - - - - diff --git a/src/translations/lxqt-config_cs.ts b/src/translations/lxqt-config_cs.ts deleted file mode 100644 index 77eee07..0000000 --- a/src/translations/lxqt-config_cs.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Nastavení - - - diff --git a/src/translations/lxqt-config_cs_CZ.ts b/src/translations/lxqt-config_cs_CZ.ts deleted file mode 100644 index f078a65..0000000 --- a/src/translations/lxqt-config_cs_CZ.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Nastavení - - - diff --git a/src/translations/lxqt-config_da_DK.ts b/src/translations/lxqt-config_da_DK.ts deleted file mode 100644 index 0c63869..0000000 --- a/src/translations/lxqt-config_da_DK.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Konfigurationscenter - - - diff --git a/src/translations/lxqt-config_de.ts b/src/translations/lxqt-config_de.ts deleted file mode 100644 index d20bb8b..0000000 --- a/src/translations/lxqt-config_de.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Konfigurationszentrum - - - diff --git a/src/translations/lxqt-config_el.ts b/src/translations/lxqt-config_el.ts deleted file mode 100644 index 295bb89..0000000 --- a/src/translations/lxqt-config_el.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Κέντρο διαμόρφωσης - - - diff --git a/src/translations/lxqt-config_es.ts b/src/translations/lxqt-config_es.ts deleted file mode 100644 index fb092d1..0000000 --- a/src/translations/lxqt-config_es.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Centro de configuración - - - diff --git a/src/translations/lxqt-config_es_VE.ts b/src/translations/lxqt-config_es_VE.ts deleted file mode 100644 index 1b2ffee..0000000 --- a/src/translations/lxqt-config_es_VE.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Centro de preferencias - - - diff --git a/src/translations/lxqt-config_eu.ts b/src/translations/lxqt-config_eu.ts deleted file mode 100644 index 806a7f4..0000000 --- a/src/translations/lxqt-config_eu.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Konfigurazio-zentroa - - - diff --git a/src/translations/lxqt-config_fi.ts b/src/translations/lxqt-config_fi.ts deleted file mode 100644 index 7aef321..0000000 --- a/src/translations/lxqt-config_fi.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Asetuskeskus - - - diff --git a/src/translations/lxqt-config_hu.ts b/src/translations/lxqt-config_hu.ts deleted file mode 100644 index 3535324..0000000 --- a/src/translations/lxqt-config_hu.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Beállító központ - - - diff --git a/src/translations/lxqt-config_it.desktop b/src/translations/lxqt-config_it.desktop index 40166fe..4c2c9d7 100644 --- a/src/translations/lxqt-config_it.desktop +++ b/src/translations/lxqt-config_it.desktop @@ -1,4 +1,4 @@ # Translations Comment[it]=Configura moduli di LXQt GenericName[it]=Configura LXQt -Name[it]=Centro di Configurazione LXQt +Name[it]=Centro di configurazione LXQt diff --git a/src/translations/lxqt-config_it.ts b/src/translations/lxqt-config_it.ts deleted file mode 100644 index 37bb554..0000000 --- a/src/translations/lxqt-config_it.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Centro di configurazione - - - diff --git a/src/translations/lxqt-config_ja.ts b/src/translations/lxqt-config_ja.ts deleted file mode 100644 index 8ecd3cb..0000000 --- a/src/translations/lxqt-config_ja.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - コンフィグレーションセンター - - - diff --git a/src/translations/lxqt-config_pl.ts b/src/translations/lxqt-config_pl.ts deleted file mode 100644 index 3220cd4..0000000 --- a/src/translations/lxqt-config_pl.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Centrum konfiguracji - - - diff --git a/src/translations/lxqt-config_pl_PL.ts b/src/translations/lxqt-config_pl_PL.ts deleted file mode 100644 index 35d7ed6..0000000 --- a/src/translations/lxqt-config_pl_PL.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Panel sterowania - - - diff --git a/src/translations/lxqt-config_pt.ts b/src/translations/lxqt-config_pt.ts deleted file mode 100644 index 2078832..0000000 --- a/src/translations/lxqt-config_pt.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Centro de configurações - - - diff --git a/src/translations/lxqt-config_pt_BR.ts b/src/translations/lxqt-config_pt_BR.ts deleted file mode 100644 index d9c6bc5..0000000 --- a/src/translations/lxqt-config_pt_BR.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Centro De Configuração - - - diff --git a/src/translations/lxqt-config_ro_RO.ts b/src/translations/lxqt-config_ro_RO.ts deleted file mode 100644 index fa45423..0000000 --- a/src/translations/lxqt-config_ro_RO.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Centru de configurare - - - diff --git a/src/translations/lxqt-config_ru.ts b/src/translations/lxqt-config_ru.ts deleted file mode 100644 index f991c62..0000000 --- a/src/translations/lxqt-config_ru.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Центр настроек - - - diff --git a/src/translations/lxqt-config_ru_RU.desktop b/src/translations/lxqt-config_ru_RU.desktop deleted file mode 100644 index 7f910fb..0000000 --- a/src/translations/lxqt-config_ru_RU.desktop +++ /dev/null @@ -1,4 +0,0 @@ -# Translations -Comment[ru_RU]=Настроить вашу систему -GenericName[ru_RU]=Системные настройки -Name[ru_RU]=Системные настройки LXQt diff --git a/src/translations/lxqt-config_ru_RU.ts b/src/translations/lxqt-config_ru_RU.ts deleted file mode 100644 index 8a40e0b..0000000 --- a/src/translations/lxqt-config_ru_RU.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Центр настроек - - - diff --git a/src/translations/lxqt-config_th_TH.ts b/src/translations/lxqt-config_th_TH.ts deleted file mode 100644 index 9ea9b8e..0000000 --- a/src/translations/lxqt-config_th_TH.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - ศูนย์การปรับแต่ง - - - diff --git a/src/translations/lxqt-config_uk.ts b/src/translations/lxqt-config_uk.ts deleted file mode 100644 index 7675d69..0000000 --- a/src/translations/lxqt-config_uk.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - Центр налаштувань - - - diff --git a/src/translations/lxqt-config_zh_CN.ts b/src/translations/lxqt-config_zh_CN.ts deleted file mode 100644 index dcbb52b..0000000 --- a/src/translations/lxqt-config_zh_CN.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - 配置中心 - - - diff --git a/src/translations/lxqt-config_zh_TW.ts b/src/translations/lxqt-config_zh_TW.ts deleted file mode 100644 index 6e1dc15..0000000 --- a/src/translations/lxqt-config_zh_TW.ts +++ /dev/null @@ -1,12 +0,0 @@ - - - - - MainWindow - - - Configuration Center - 設定中心 - - -