pax_global_header00006660000000000000000000000064147504713300014516gustar00rootroot0000000000000052 comment=26b539af69cf997c6878d41ba75ad7060b20e56e qt6ct-0.10/000077500000000000000000000000001475047133000124775ustar00rootroot00000000000000qt6ct-0.10/.tx/000077500000000000000000000000001475047133000132105ustar00rootroot00000000000000qt6ct-0.10/.tx/config000066400000000000000000000006231475047133000144010ustar00rootroot00000000000000[main] host = https://www.transifex.com [o:qt-configuration-tool:p:qt6ct:r:qt6ct] file_filter = src/qt6ct/translations/qt6ct_.ts source_lang = en source_file = src/qt6ct/translations/qt6ct_en.ts type = QT [o:qt-configuration-tool:p:qt6ct:r:qt6ct-desktop] file_filter = src/qt6ct/desktop-translations/qt6ct_.desktop.in source_lang = en source_file = src/qt6ct/qt6ct.desktop type = DESKTOP qt6ct-0.10/AUTHORS000066400000000000000000000026511475047133000135530ustar00rootroot00000000000000Developers: Ilya Kotov , , Translators: Arabic - abouzakaria kov Brazilian Portuguese - VaGNaroK Mist Bulgarian - Kiril Kirilov Catalan - Toni Estévez Chinese (Simplified) - Cary Tian Chinese (Taiwan) - Jeff Huang Czech - fri Danish - scootergrisen Finnish - Nikolay Korotkiy French - David GEIGER , Adrien DAUGABEL , papoteur , Wallon German - LeSnake Greek - Dimitrios Glentadakis Hebrew - Genghis Khan, Elkana Birdugo Dutch (Netherlands) - Heimen Stoffels German - Ettore Atalan, Mario Blättermann Italian - Luigi Baldoni Japanese - UTUMI Hirosi Polish - Tomasz Przybył (FadeMind), Evo, Marek Adamski Russian - Ilya Kotov Serbian - markosm Slovak - Ján Ďanovský Spanish - jcn363, Toni Estévez Turkish - Yaşar Çiv, Serdar Sağlam Ukrainian - Denys Nykula Style sheets and color schemes: airy.conf, darker.conf, dusk.conf, sand.conf, simple.conf, waves.conf, *-simple.qss - q5sys (Lumina Desktop Environment) fusion-fixes.qss - burak Patches and improvements: Keyboard scheme option - Nikolay Korotkiy Wayland fixes - Chris Rendle-Short Compatibility with custom stylesheets - John Lindgren CMake support impovements - Jonas Kvinge KDE theming suppourt - Ilya Fedin qt6ct-0.10/CMakeLists.txt000066400000000000000000000104531475047133000152420ustar00rootroot00000000000000cmake_minimum_required(VERSION 3.16.0) project(qt6ct LANGUAGES CXX) include(GNUInstallDirs) configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY) add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_VISIBILITY_PRESET hidden) set(CMAKE_C_VISIBILITY_PRESET hidden) set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) set(CMAKE_BUILD_RPATH_USE_ORIGIN ON) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Gui OPTIONAL_COMPONENTS Widgets QuickControls2 LinguistTools) find_package(KF6Config) find_package(KF6ColorScheme) find_package(KF6IconThemes) get_target_property(QT_QTPATHS_EXECUTABLE Qt6::qtpaths IMPORTED_LOCATION) if(Qt6LinguistTools_FOUND) get_target_property(QT_LRELEASE_EXECUTABLE Qt6::lrelease IMPORTED_LOCATION) if(NOT QT_QTPATHS_EXECUTABLE AND QT_LRELEASE_EXECUTABLE) get_filename_component(QT_LRELEASE_PATH ${QT_LRELEASE_EXECUTABLE} DIRECTORY) set(QT_QTPATHS_EXECUTABLE ${QT_LRELEASE_PATH}/qtpaths) endif() endif() if(QT_QTPATHS_EXECUTABLE AND EXISTS ${QT_QTPATHS_EXECUTABLE}) message(STATUS "Found qtpaths executable: ${QT_QTPATHS_EXECUTABLE}") else() message(FATAL_ERROR "Could NOT find qtpaths executable") endif() if(Qt6LinguistTools_FOUND) if(QT_LRELEASE_EXECUTABLE AND EXISTS ${QT_LRELEASE_EXECUTABLE}) message(STATUS "Found lrelease executable: ${QT_LRELEASE_EXECUTABLE}") else() message(FATAL_ERROR "Could NOT find lrelease executable") endif() endif() if(NOT PLUGINDIR) #execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} -query QT_INSTALL_PLUGINS OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE) execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} --plugin-dir OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE) endif() if(PLUGINDIR) message(STATUS "Plugin path: ${PLUGINDIR}") else() message(FATAL_ERROR "Could not get plugin path") endif() if(Qt6LinguistTools_FOUND) message(STATUS "Generating translations ...") execute_process(COMMAND find ${CMAKE_CURRENT_SOURCE_DIR}/src -name *.ts COMMAND xargs ${QT_LRELEASE_EXECUTABLE} -silent) endif() include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/qt6ct-common) add_link_options(-Wl,--no-undefined) add_subdirectory(src/qt6ct-common) add_subdirectory(src/qt6ct-qtplugin) if(Qt6Widgets_FOUND) add_subdirectory(src/qt6ct-style) add_subdirectory(src/qt6ct) endif() install(DIRECTORY qss DESTINATION ${CMAKE_INSTALL_DATADIR}/qt6ct) install(DIRECTORY colors DESTINATION ${CMAKE_INSTALL_DATADIR}/qt6ct) if(UNIX) add_custom_target(distclean @echo cleaning for source distribution) add_custom_command( COMMENT "distribution clean" COMMAND make ARGS -C ${CMAKE_CURRENT_BINARY_DIR} clean COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "CMakeCache.txt" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "CMakeFiles" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "Makefile" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name \"*.cmake\" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_SOURCE_DIR} -name "*.qm" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "*.pc" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "*.depends" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "*.cxx_parameters" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "moc_*.cpp" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "qrc_*.cxx" | xargs rm -rf COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name "*_automoc.cpp" | xargs rm -rf COMMAND rm ARGS -rf ${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt COMMAND find ARGS ${CMAKE_CURRENT_BINARY_DIR} -name *_automoc.dir | xargs rm -rf COMMAND rm ARGS -rf ${CMAKE_CURRENT_BINARY_DIR}/doc/html TARGET distclean ) endif(UNIX) qt6ct-0.10/COPYING000066400000000000000000000025511475047133000135350ustar00rootroot00000000000000Copyright (c) 2020-2024, Ilya Kotov Copyright (c) 2025, Ilya Fedin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. qt6ct-0.10/ChangeLog000066400000000000000000000053011475047133000142500ustar00rootroot00000000000000Changelog of the Qt6 Configuration Tool ----------- Version 0.1 * first test release Version 0.2 * fixed Qt 6.0 Beta2 support * updated Danish translation (scootergrisen) Version 0.3 * added cmake support (experimental) * fixed color schemes * fixed palette updating * updated Finish translation (Nikolay Korotkiy) * updated German translation (LeSnake) Version 0.4 * fixed cmake support * fixed build with Qt 6.1 using cmake * prepend custom stylesheets to the application stylesheet (John Lindgren) Version 0.5 * added troubleshooting settings * fixed issue with custom palette * updated Dutch translation (Heimen Stoffels) * updated Spanish translation (Toni Estévez and salazarbarrera) * updated Russian translation * updated Greek translation (Dimitrios Glentadakis) Version 0.6 * added Qt 6.4 support * added Qt version checking * added xdgdesktopportal dialogs support (Marco Genasci) * improved warning about incorrect environment variable * only prepend user stylesheet if it has changed (Carlo Teubner) * removed Qt Concurrent dependency * fixed issue with missing Ukrainian transation * updated Bulgarian translation (Kiril Kirilov) * updated Catalan translation (Toni Estévez) * updated Czech translation (fri) * updated Dutch translation (Heimen Stoffels) * updated Polish translation (Marek Adamski) * updated Russian translation * updated Spanish translation (Toni Estévez) * updated Greek translation (Dimitrios Glentadakis) Version 0.7 * fixed crash when loading default font * changed font configuration format * improved icon loader * updated Czech translation (fri) Version 0.8 * added keywords entry to desktop file (Mateusz Łukasik) * fixed compatibility with applications that use own stylesheet (John Lindgren) * fixed font applying issue * updated Japanese translation (UTUMI Hirosi) Version 0.9 * added Qt 6.6 compatibility * added compatibility with QT_STYLE_OVERRIDE=qt5ct-style (RushingAlien) * improved cmake build: - make translations optional (Jonas Kvinge) - enabled reproducible build by default - other fixes and improvements (Jonas Kvinge) * fixed crash on QML applications * fixed parallel build using qmake * fixed localization support * updated Dutch translation (Heimen Stoffels) * updated Polish translation (Marek Adamski) * updated Russian translation * updated French translation (Wallon) Version 0.10 * Remove .desktop suffix when calling setDesktopFileName * Allow to override Qt plugin directory with cmake * Support cmake build without QtWidgets * Support runtime settings update without QtWidgets * Don't save style name for regular font * Don't rely on label font for saving font settings * Fix initial fonts * Use QWindowSystemInterface::handleThemeChange * Add KDE theming support qt6ct-0.10/README000066400000000000000000000047011475047133000133610ustar00rootroot00000000000000qt6ct - Qt6 Configuration Tool This program allows users to configure Qt6 settings (theme, font, icons, etc.) under DE/WM without Qt integration. Official home page: https://github.com/ilya-fedin/qt6ct Requirements: - GNU Linux or FreeBSD - qtbase >= 6.0.0 - qtdeclarative >= 6.0.0 - qtsvg >= 6.0.0 (Runtime dependency for the SVG icon support) - qttools >= 6.0.0 (For build only) - kconfig >= 6.0.0 - kcolorscheme >= 6.0.0 - kiconthemes >= 6.0.0 - qqc2-desktop-style >= 6.0.0 (Runtime dependency for QML theming support) Installation: - Arch package https://archlinux.org/packages/?q=qt6ct - Source Code (qmake) qmake PREFIX= make sudo make install - Source Code (cmake) cmake -DCMAKE_INSTALL_PREFIX= make sudo make install Add line 'export QT_QPA_PLATFORMTHEME=qt6ct' to ~/.profile and re-login. Alternatively, create the file /etc/X11/Xsession.d/100-qt6ct with the following line: export QT_QPA_PLATFORMTHEME=qt6ct (or qt5ct for compatibility with Qt5 Configuration Tool) Now restart X11 server to take the changes effect. Extra build options (for advanced users only): qmake DISABLE_WIDGETS=1 - compiles platform plugin without QtWidgets (useful for QML applications only) qmake PLUGINDIR= - changes the default installation path of the plugins (libqt6ct.so and libqt6ct-style.so) Wayland: If you are running Qt application under Wayland, you should export the following variables: export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORMTHEME=qt6ct Debug Messages: By default, debug messages from platform plugin are disabled. To enable them, you should export the following environment variable: export QT_LOGGING_RULES="qt6ct.debug=true" Another way is to change qtlogging.ini file. See Qt documentation for details: https://doc.qt.io/qt-6/qloggingcategory.html (paragraph "Configuring Categories") Files and Directories: qt6ct - Qt6 configuration tool libqt6ct.so - qt6ct platform plugin libqt6ct-style.so - qt6ct proxy style plugin libqt6ct-common.so - qt6ct shared library ~/.config/qt6ct/qt6ct.conf - configuration file ~/.config/qt6ct/qss, ~/.local/share/qt6ct/qss, /usr/share/qt6ct/qss, /usr/local/share/qt6ct/qss - style sheets ~/.config/qt6ct/colors,~/.local/share/qt6ct/colors, /usr/share/qt6ct/colors, /usr/local/share/qt6ct/colors - color schemes /etc/xdg/qt6ct/qt6ct.conf - default configuration file Translation: Use Transifex service: https://www.transifex.com/projects/p/qt6ct/ qt6ct-0.10/cmake_uninstall.cmake.in000066400000000000000000000013421475047133000172570ustar00rootroot00000000000000IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) STRING(REGEX REPLACE "\n" ";" files "${files}") FOREACH(file ${files}) MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") EXEC_PROGRAM( rm ARGS "-rf \"$ENV{DESTDIR}${file}\"" OUTPUT_VARIABLE rm_out RETURN_VALUE rm_retval ) IF(NOT "${rm_retval}" STREQUAL 0) MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") ENDIF(NOT "${rm_retval}" STREQUAL 0) ENDFOREACH(file) qt6ct-0.10/colors/000077500000000000000000000000001475047133000140005ustar00rootroot00000000000000qt6ct-0.10/colors/airy.conf000066400000000000000000000013561475047133000156200ustar00rootroot00000000000000[ColorScheme] active_colors=#ff000000, #ffdcdcdc, #ffdcdcdc, #ff5e5c5b, #ff646464, #ffe1e1e1, #ff000000, #ff0a0a0a, #ff0a0a0a, #ffc8c8c8, #ffffffff, #ffe7e4e0, #ff0986d3, #ff0a0a0a, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff646464, #ff050505, #80000000 disabled_colors=#ffffffff, #ff424245, #ffdcdcdc, #ff5e5c5b, #ff646464, #ffe1e1e1, #ff808080, #ffffffff, #ff808080, #ff969696, #ffc8c8c8, #ffe7e4e0, #ff0986d3, #ff808080, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff646464, #ffffffff, #80000000 inactive_colors=#ff323232, #ffb4b4b4, #ffdcdcdc, #ff5e5c5b, #ff646464, #ffe1e1e1, #ff323232, #ff323232, #ff323232, #ff969696, #ffc8c8c8, #ffe7e4e0, #ff0986d3, #ff323232, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff646464, #ff323232, #80000000 qt6ct-0.10/colors/darker.conf000066400000000000000000000013561475047133000161240ustar00rootroot00000000000000[ColorScheme] active_colors=#ffffffff, #ff424245, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ffffffff, #ffffffff, #ffffffff, #ff3d3d3d, #ff222020, #ffe7e4e0, #ff12608a, #fff9f9f9, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff disabled_colors=#ff808080, #ff424245, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ff808080, #ffffffff, #ff808080, #ff3d3d3d, #ff222020, #ffe7e4e0, #ff12608a, #ff808080, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff inactive_colors=#ffffffff, #ff424245, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ffffffff, #ffffffff, #ffffffff, #ff3d3d3d, #ff222020, #ffe7e4e0, #ff12608a, #fff9f9f9, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff qt6ct-0.10/colors/dusk.conf000066400000000000000000000013561475047133000156220ustar00rootroot00000000000000[ColorScheme] active_colors=#ff000000, #ff7f7f7f, #ffffffff, #ffcbc7c4, #ff7f7f7f, #ffb8b5b2, #ff000000, #ffffffff, #ff000000, #ff7f7f7f, #ff7f7f7f, #ff707070, #ff308cc6, #ffffffff, #ff0000ff, #ffff00ff, #ff7f7f7f, #ff000000, #ff7f7f7f, #ff000000, #80000000 disabled_colors=#ffbebebe, #ff7f7f7f, #ffffffff, #ffcbc7c4, #ff7f7f7f, #ffb8b5b2, #ffbebebe, #ffffffff, #ffbebebe, #ff7f7f7f, #ff7f7f7f, #ffb1aeab, #ff7f7f7f, #ffffffff, #ff0000ff, #ffff00ff, #ff7f7f7f, #ff000000, #ff7f7f7f, #ff000000, #80000000 inactive_colors=#ff000000, #ff7f7f7f, #ffffffff, #ffcbc7c4, #ff7f7f7f, #ffb8b5b2, #ff000000, #ffffffff, #ff000000, #ff7f7f7f, #ff7f7f7f, #ff707070, #ff308cc6, #ffffffff, #ff0000ff, #ffff00ff, #ff7f7f7f, #ff000000, #ff7f7f7f, #ff000000, #80000000 qt6ct-0.10/colors/ia_ora.conf000066400000000000000000000013561475047133000161060ustar00rootroot00000000000000[ColorScheme] active_colors=#ff000000, #ffeff3f7, #ffffffff, #ffe9e7e3, #ffc7cbce, #ffa0a0a4, #ff000000, #ffffffff, #ff000000, #ffeff3f7, #ffeff3f7, #ffb8bbbe, #ff4965ae, #ffffffff, #ff0000ff, #ffff00ff, #ffeff3f7, #ff000000, #ffffffdc, #ff000000, #80000000 disabled_colors=#ff808080, #ffeff3f7, #ffffffff, #ffe9e7e3, #ffc7cbce, #ffa0a0a4, #ff808080, #ffffffff, #ff808080, #ffeff3f7, #ffeff3f7, #ffb8bbbe, #ff4965ae, #ff808080, #ff0000ff, #ffff00ff, #ffeff3f7, #ff000000, #ffffffdc, #ff000000, #80000000 inactive_colors=#ff000000, #ffeff3f7, #ffffffff, #ffe9e7e3, #ffc7cbce, #ffa0a0a4, #ff000000, #ffffffff, #ff000000, #ffeff3f7, #ffeff3f7, #ffb8bbbe, #ff4965ae, #ffffffff, #ff0000ff, #ffff00ff, #ffeff3f7, #ff000000, #ffffffdc, #ff000000, #80000000 qt6ct-0.10/colors/sand.conf000066400000000000000000000013561475047133000156010ustar00rootroot00000000000000[ColorScheme] active_colors=#ff000000, #ffffffdc, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ff000000, #ff000000, #ff000000, #ffffffdc, #ffffffdc, #ffe7e4e0, #ff5f5b5d, #fff9f9f9, #ff0986d3, #ffa70b06, #ffffffdc, #ff000000, #ff3f3f36, #ff000000, #80000000 disabled_colors=#ff4a4947, #ffffffdc, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ff4a4947, #ff4a4947, #ff4a4947, #ffffffdc, #ffffffdc, #ffe7e4e0, #ff5f5b5d, #fff9f9f9, #ff0986d3, #ffa70b06, #ffffffdc, #ff000000, #ff3f3f36, #ff000000, #80000000 inactive_colors=#ff000000, #ffffffdc, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ff000000, #ff000000, #ff000000, #ffffffdc, #ffffffdc, #ffe7e4e0, #ff5f5b5d, #fff9f9f9, #ff0986d3, #ffa70b06, #ffffffdc, #ff000000, #ff3f3f36, #ff000000, #80000000 qt6ct-0.10/colors/simple.conf000066400000000000000000000013561475047133000161450ustar00rootroot00000000000000[ColorScheme] active_colors=#ff000000, #ffefebe7, #ffffffff, #ffcbc7c4, #ff9f9d9a, #ffb8b5b2, #ff000000, #ffffffff, #ff000000, #ffffffff, #ffefebe7, #ffb1aeab, #ff308cc6, #ffffffff, #ff0000ff, #ffff0000, #fff7f5f3, #ff000000, #ffffffdc, #ff000000, #80000000 disabled_colors=#ffbebebe, #ffefebe7, #ffffffff, #ffcbc7c4, #ff9f9d9a, #ffb8b5b2, #ffbebebe, #ffffffff, #ffbebebe, #ffefebe7, #ffefebe7, #ffb1aeab, #ff9f9d9a, #ffffffff, #ff0000ff, #ffff0000, #fff7f5f3, #ff000000, #ffffffdc, #ff000000, #80000000 inactive_colors=#ff000000, #ffefebe7, #ffffffff, #ffcbc7c4, #ff9f9d9a, #ffb8b5b2, #ff000000, #ffffffff, #ff000000, #ffffffff, #ffefebe7, #ffb1aeab, #ff308cc6, #ffffffff, #ff0000ff, #ffff0000, #fff7f5f3, #ff000000, #ffffffdc, #ff000000, #80000000 qt6ct-0.10/colors/waves.conf000066400000000000000000000013561475047133000160010ustar00rootroot00000000000000[ColorScheme] active_colors=#ffb0b0b0, #ff010b2c, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ffb0b0b0, #ffb0b0b0, #ffb0b0b0, #ff010b2c, #ff010b2c, #ffb0b0b0, #ff302f2e, #ffb0b0b0, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff0a0a0a, #ffffffff, #80b0b0b0 disabled_colors=#ff808080, #ff010b2c, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ff808080, #ff808080, #ff808080, #ff00071d, #ff00071d, #ffb0b0b0, #ff00071d, #ff808080, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff0a0a0a, #ffffffff, #80b0b0b0 inactive_colors=#ffb0b0b0, #ff010b2c, #ff979797, #ff5e5c5b, #ff302f2e, #ff4a4947, #ffb0b0b0, #ffb0b0b0, #ffb0b0b0, #ff010b2c, #ff010b2c, #ffb0b0b0, #ff302f2e, #ffb0b0b0, #ff0986d3, #ffa70b06, #ff5c5b5a, #ffffffff, #ff0a0a0a, #ffffffff, #80b0b0b0 qt6ct-0.10/qss/000077500000000000000000000000001475047133000133055ustar00rootroot00000000000000qt6ct-0.10/qss/fusion-fixes.qss000066400000000000000000000005341475047133000164560ustar00rootroot00000000000000QMenuBar, QMenu, QToolBar, QStatusBar, QFrame, QScrollBar { border: none; } QTabBar::tab:selected { color: palette(bright-text); } QScrollBar { background: palette(dark); } QScrollBar::handle { background: palette(highlight); border-radius: 4px; } QScrollBar::add-line, QScrollBar::sub-line { background: palette(window); } qt6ct-0.10/qss/scrollbar-simple.qss000066400000000000000000000013151475047133000173070ustar00rootroot00000000000000/* SCROLLBARS (NOTE: Changing 1 subcontrol means you have to change all of them)*/ QScrollBar{ background: palette(alternate-base); } QScrollBar:horizontal{ margin: 0px 0px 0px 0px; } QScrollBar:vertical{ margin: 0px 0px 0px 0px; } QScrollBar::handle{ background: palette(base); border: 1px solid transparent; border-radius: 1px; } QScrollBar::handle:hover, QScrollBar::add-line:hover, QScrollBar::sub-line:hover{ background: palette(highlight); } QScrollBar::add-line{ subcontrol-origin: none; } QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical{ height: 0px; } QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal{ width: 0px; } QScrollBar::sub-line{ subcontrol-origin: none; } qt6ct-0.10/qss/sliders-simple.qss000066400000000000000000000032221475047133000167700ustar00rootroot00000000000000/* SLIDERS */ QSlider::groove:horizontal { border: 1px solid palette(mid); background: palette(alternate-window); height: 10px; border-radius: 3px; } QSlider::groove:vertical { border: 1px solid palette(mid); background: palette(alternate-window); width: 10px; border-radius: 3px; } QSlider::sub-page:horizontal { background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 transparent, stop: 1 palette(highlight) ); border: 1px solid transparent; height: 10px; border-radius: 3px; } QSlider::add-page:vertical { background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 transparent, stop: 1 palette(highlight) ); border: 1px solid transparent; width: 10px; border-radius: 3px; } QSlider::add-page:horizontal{ background: palette(alternate-window); border: 1px solid transparent; height: 10px; border-radius: 3px; } QSlider::sub-page:vertical{ background: palette(alternate-window); border: 1px solid transparent; width: 10px; border-radius: 3px; } QSlider::handle:horizontal{ background: palette(mid); border: 1px solid palette(mid); width: 1ex; border-radius: 1px; } QSlider::handle:vertical{ background: palette(mid); border: 1px solid palette(mid); height: 1ex; border-radius: 1px; } QSlider::handle:horizontal:hover, QSlider::handle:vertical:hover{ border: 1px solid palette(highlight); background: palette(highlight); } QSlider::sub-page:horizontal:disabled { background: palette(highlight); border-color: palette(highlight); } QSlider::add-page:horizontal:disabled { background: palette(highlight); border-color: palette(highlight); } QSlider::handle:horizontal:disabled { background: palette(alternate-window); border: 1px solid palette(highlight); } qt6ct-0.10/qss/tooltip-simple.qss000066400000000000000000000003511475047133000170150ustar00rootroot00000000000000QToolTip{ background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 palette(window), stop: 1 palette(alternate-window)); border-radius: 3px; border: 1px solid palette(highlight); padding: 1px; color: palette(text); } qt6ct-0.10/qss/traynotification-simple.qss000066400000000000000000000001071475047133000207100ustar00rootroot00000000000000QBalloonTip{ background-color: palette(base); color: palette(text); } qt6ct-0.10/qt6ct.pri000066400000000000000000000017111475047133000142540ustar00rootroot00000000000000#Some conf to redirect intermediate stuff in separate dirs UI_DIR=./.build/ui/ MOC_DIR=./.build/moc/ OBJECTS_DIR=./.build/obj RCC_DIR=./.build/rcc QMAKE_DISTCLEAN += -r .build QMAKE_DISTCLEAN += translations/*.qm CONFIG += hide_symbols c++17 ordered DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 QT_DEPRECATED_WARNINGS_SINCE=0x060200 DEFINES += QT_NO_CAST_FROM_BYTEARRAY QT_STRICT_ITERATORS QT_NO_FOREACH QMAKE_DISTCLEAN += -r .build #*-g++ { # QMAKE_CXXFLAGS += -Werror=suggest-override # QMAKE_CXXFLAGS += -Wzero-as-null-pointer-constant #} INCLUDEPATH += ../qt6ct-common QMAKE_LIBDIR += ../qt6ct-common LIBS += -lqt6ct-common !isEqual (QT_MAJOR_VERSION, 6) { error("Use Qt 6.0.0 or higher.") } #Install paths unix { isEmpty(PREFIX): PREFIX = /usr isEmpty(PLUGINDIR): PLUGINDIR = $$[QT_INSTALL_PLUGINS] isEmpty(LIBDIR): LIBDIR=$$[QT_INSTALL_LIBS] BINDIR = $$PREFIX/bin DATADIR = $$PREFIX/share DEFINES += QT6CT_DATADIR=\\\"$$DATADIR\\\" } qt6ct-0.10/qt6ct.pro000066400000000000000000000021031475047133000142560ustar00rootroot00000000000000CONFIG += ordered TEMPLATE = subdirs SUBDIRS += src/qt6ct-common src/qt6ct-qtplugin src/qt6ct-style src/qt6ct unix:exists($$[QT_INSTALL_BINS]/lrelease){ LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease } unix:exists($$[QT_INSTALL_BINS]/lrelease-qt6){ LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease-qt6 } win32:exists($$[QT_INSTALL_BINS]/lrelease.exe){ LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease.exe } isEmpty(LRELEASE_EXECUTABLE){ error(Could not find lrelease executable) } else { message(Found lrelease executable: $$LRELEASE_EXECUTABLE) } message(generating translations) unix:system(find . -name *.ts | xargs $$LRELEASE_EXECUTABLE) win32:system(for /r %B in (*.ts) do $$LRELEASE_EXECUTABLE %B) include(qt6ct.pri) qss.files = qss/*.qss qss.path = $$DATADIR/qt6ct/qss colors.files = colors/*.conf colors.path = $$DATADIR/qt6ct/colors INSTALLS += qss colors message (PREFIX=$$PREFIX) message (BINDIR=$$BINDIR) message (LIBDIR=$$LIBDIR) message (DATADIR=$$DATADIR) message (PLUGINDIR=$$PLUGINDIR) equals (DISABLE_WIDGETS,1):message ("Qt Widgets are disabled!") qt6ct-0.10/src/000077500000000000000000000000001475047133000132665ustar00rootroot00000000000000qt6ct-0.10/src/qt6ct-common/000077500000000000000000000000001475047133000156155ustar00rootroot00000000000000qt6ct-0.10/src/qt6ct-common/CMakeLists.txt000066400000000000000000000023041475047133000203540ustar00rootroot00000000000000project(qt6ct-common) #extract version from qt6ct.h file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/qt6ct.h" QT6CT_VERSION_DATA REGEX "^#define[ \t]+QT6CT_VERSION_[A-Z]+[ \t]+[0-9]+.*$") if(QT6CT_VERSION_DATA) foreach(item IN ITEMS MAJOR MINOR) string(REGEX REPLACE ".*#define[ \t]+QT6CT_VERSION_${item}[ \t]+([0-9]+).*" "\\1" QT6CT_VERSION_${item} ${QT6CT_VERSION_DATA}) endforeach() set(QT6CT_VERSION "${QT6CT_VERSION_MAJOR}.${QT6CT_VERSION_MINOR}") set(QT6CT_SOVERSION "${QT6CT_VERSION_MAJOR}") message(STATUS "qt6ct version: ${QT6CT_VERSION}") else() message(FATAL_ERROR "invalid header") endif() add_definitions(-DQT6CT_LIBRARY) set(app_SRCS qt6ct.cpp ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../) add_library(qt6ct-common SHARED ${app_SRCS}) set_target_properties(qt6ct-common PROPERTIES VERSION ${QT6CT_VERSION}) target_link_libraries(qt6ct-common PRIVATE Qt6::Gui $ $) target_compile_definitions(qt6ct-common PRIVATE $<$:KF_CONFIGCORE_LIB> $<$:KF_COLORSCHEME_LIB>) install(TARGETS qt6ct-common DESTINATION ${CMAKE_INSTALL_LIBDIR}) qt6ct-0.10/src/qt6ct-common/qt6ct-common.pro000066400000000000000000000006161475047133000206710ustar00rootroot00000000000000include(../../qt6ct.pri) TEMPLATE = lib TARGET = qt6ct-common LIBS -= -lqt6ct-common VER_MAJ = $$system(cat qt6ct.h | grep 'define\\ QT6CT_VERSION_MAJOR' | cut -d '\\ ' -f3) VER_MIN = $$system(cat qt6ct.h | grep 'define\\ QT6CT_VERSION_MINOR' | cut -d '\\ ' -f3) # Input DEFINES += QT6CT_LIBRARY HEADERS += \ qt6ct.h SOURCES += \ qt6ct.cpp target.path = $$LIBDIR INSTALLS += target qt6ct-0.10/src/qt6ct-common/qt6ct.cpp000066400000000000000000000151771475047133000173750ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include #include #include #include #if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB #include #include #endif #include "qt6ct.h" #ifndef QT6CT_DATADIR #define QT6CT_DATADIR "/usr/share" #endif QSet Qt6CT::styleInstances; void Qt6CT::initConfig() { if(QFile::exists(configFile())) return; QString globalConfig = QStandardPaths::locate(QStandardPaths::GenericConfigLocation, "qt6ct/qt6ct.conf"); if(globalConfig.isEmpty()) return; QDir("/").mkpath(configPath()); QFile::copy(globalConfig, configFile()); } QString Qt6CT::configPath() { return QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QLatin1String("/qt6ct"); } QString Qt6CT::configFile() { return configPath() + QLatin1String("/qt6ct.conf"); } QStringList Qt6CT::iconPaths() { QStringList paths = { QDir::homePath() + QLatin1String("/.icons") }; for(const QString &p : QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)) { paths << (p + QLatin1String("/icons")); } paths.removeDuplicates(); //remove invalid QStringList::iterator it = paths.begin(); while(it != paths.end()) { if(QDir(*it).exists()) ++it ; else it = paths.erase(it); } return paths; } QString Qt6CT::userStyleSheetPath() { return configPath() + QLatin1String("/qss"); } QStringList Qt6CT::sharedStyleSheetPaths() { QStringList paths; for(const QString &p : QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)) { paths << (p + QLatin1String("/qt6ct/qss")); } paths << QLatin1String(QT6CT_DATADIR"/qt6ct/qss"); paths.removeDuplicates(); return paths; } QString Qt6CT::userColorSchemePath() { return configPath() + QLatin1String("/colors"); } QStringList Qt6CT::sharedColorSchemePaths() { QStringList paths; for(const QString &p : QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)) { paths << (p + QLatin1String("/qt6ct/colors")); #if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB paths << (p + QLatin1String("/color-schemes")); #endif } paths << QLatin1String(QT6CT_DATADIR"/qt6ct/colors"); paths.removeDuplicates(); return paths; } QString Qt6CT::resolvePath(const QString &path) { if(path.isEmpty()) return path; QString tmp = path; tmp.replace("~", QStandardPaths::writableLocation(QStandardPaths::HomeLocation)); if(!tmp.contains("$")) return tmp; //find environment variables static const QRegularExpression regexp("\\$([A-Z_]+)\\/"); QRegularExpressionMatchIterator it = regexp.globalMatch(tmp); while (it.hasNext()) { QRegularExpressionMatch match = it.next(); QString captured = match.captured(1); tmp.replace(QLatin1String("$") + captured, qgetenv(captured.toLatin1().constData()) ); } return tmp; } bool Qt6CT::isKColorScheme(const QString &filePath) { return filePath.toLower().endsWith(".colors"); } std::optional Qt6CT::loadColorScheme(const QString &filePath) { if(filePath.isEmpty()) return std::nullopt; #if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB if(isKColorScheme(filePath)) return KColorScheme::createApplicationPalette(KSharedConfig::openConfig(filePath)); #endif QSettings settings(filePath, QSettings::IniFormat); settings.beginGroup("ColorScheme"); QStringList activeColors = settings.value("active_colors").toStringList(); QStringList inactiveColors = settings.value("inactive_colors").toStringList(); QStringList disabledColors = settings.value("disabled_colors").toStringList(); settings.endGroup(); #if (QT_VERSION >= QT_VERSION_CHECK(6,6,0)) if(activeColors.count() == QPalette::Accent) activeColors << activeColors.at(QPalette::Highlight); if(inactiveColors.count() == QPalette::Accent) inactiveColors << inactiveColors.at(QPalette::Highlight); if(disabledColors.count() == QPalette::Accent) disabledColors << disabledColors.at(QPalette::Highlight); #endif if(activeColors.count() < QPalette::NColorRoles || inactiveColors.count() < QPalette::NColorRoles || disabledColors.count() < QPalette::NColorRoles) return std::nullopt; QPalette customPalette; for (int i = 0; i < QPalette::NColorRoles; i++) { QPalette::ColorRole role = QPalette::ColorRole(i); customPalette.setColor(QPalette::Active, role, QColor(activeColors.at(i))); customPalette.setColor(QPalette::Inactive, role, QColor(inactiveColors.at(i))); customPalette.setColor(QPalette::Disabled, role, QColor(disabledColors.at(i))); } return customPalette; } void Qt6CT::registerStyleInstance(Qt6CT::StyleInstance *instance) { styleInstances.insert(instance); } void Qt6CT::unregisterStyleInstance(Qt6CT::StyleInstance *instance) { styleInstances.remove(instance); } void Qt6CT::reloadStyleInstanceSettings() { for(auto instance : qAsConst(styleInstances)) instance->reloadSettings(); } qt6ct-0.10/src/qt6ct-common/qt6ct.h000066400000000000000000000054341475047133000170350ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef QT6CT_H #define QT6CT_H #define QT6CT_VERSION_MAJOR 0 #define QT6CT_VERSION_MINOR 10 #define QT6CT_TOSTRING(s) #s #define QT6CT_STRINGIFY(s) QT6CT_TOSTRING(s) #define QT6CT_VERSION_INT (QT6CT_VERSION_MAJOR<<8 | QT6CT_VERSION_MINOR) #define QT6CT_VERSION_STR QT6CT_STRINGIFY(QT6CT_VERSION_MAJOR.QT6CT_VERSION_MINOR) #include #include #include #include #ifdef QT6CT_LIBRARY #define QT6CT_EXPORT Q_DECL_EXPORT #else #define QT6CT_EXPORT Q_DECL_IMPORT #endif class QT6CT_EXPORT Qt6CT { public: class StyleInstance { public: virtual void reloadSettings() = 0; }; static void initConfig(); static QString configPath(); static QString configFile(); static QStringList iconPaths(); static QString userStyleSheetPath(); static QStringList sharedStyleSheetPaths(); static QString userColorSchemePath(); static QStringList sharedColorSchemePaths(); static QString resolvePath(const QString &path); static bool isKColorScheme(const QString &filePath); static std::optional loadColorScheme(const QString &filePath); static void registerStyleInstance(StyleInstance *instance); static void unregisterStyleInstance(StyleInstance *instance); static void reloadStyleInstanceSettings(); private: static QSet styleInstances; }; #endif // QT6CT_H qt6ct-0.10/src/qt6ct-qtplugin/000077500000000000000000000000001475047133000161705ustar00rootroot00000000000000qt6ct-0.10/src/qt6ct-qtplugin/CMakeLists.txt000066400000000000000000000011641475047133000207320ustar00rootroot00000000000000project(qt6ct-qtplugin) set(app_SRCS main.cpp qt6ctplatformtheme.cpp ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../) add_library(qt6ct-qtplugin MODULE ${app_SRCS}) set_target_properties(qt6ct-qtplugin PROPERTIES OUTPUT_NAME qt6ct) target_link_libraries(qt6ct-qtplugin PRIVATE $ Qt6::GuiPrivate $ $ qt6ct-common) target_compile_definitions(qt6ct-qtplugin PRIVATE $<$:KF_ICONTHEMES_LIB>) install(TARGETS qt6ct-qtplugin DESTINATION ${PLUGINDIR}/platformthemes) qt6ct-0.10/src/qt6ct-qtplugin/main.cpp000066400000000000000000000044711475047133000176260ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include "qt6ctplatformtheme.h" QT_BEGIN_NAMESPACE class Qt6CTPlatformThemePlugin: public QPlatformThemePlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1" FILE "qt6ct.json") public: QPlatformTheme *create(const QString &key, const QStringList ¶ms) override; }; QPlatformTheme *Qt6CTPlatformThemePlugin::create(const QString &key, const QStringList ¶ms) { Q_UNUSED(params); QVersionNumber v = QLibraryInfo::version(); if(v.majorVersion() != QT_VERSION_MAJOR || v.minorVersion() != QT_VERSION_MINOR) { qCCritical(lqt6ct) << "qt6ct is compiled against incompatible Qt version (" QT_VERSION_STR ")."; return nullptr; } if(key.toLower() == QLatin1String("qt6ct") || key.toLower() == QLatin1String("qt5ct")) return new Qt6CTPlatformTheme(); return nullptr; } QT_END_NAMESPACE #include "main.moc" qt6ct-0.10/src/qt6ct-qtplugin/qt6ct-qtplugin.pro000066400000000000000000000005501475047133000216140ustar00rootroot00000000000000include(../../qt6ct.pri) TEMPLATE = lib TARGET = qt6ct CONFIG += plugin QT += gui-private SOURCES += \ main.cpp \ qt6ctplatformtheme.cpp !equals(DISABLE_WIDGETS,1) { QT += widgets widgets-private } OTHER_FILES += qt6ct.json INCLUDEPATH += ../ HEADERS += \ qt6ctplatformtheme.h target.path = $$PLUGINDIR/platformthemes INSTALLS += target qt6ct-0.10/src/qt6ct-qtplugin/qt6ct.json000066400000000000000000000000451475047133000201230ustar00rootroot00000000000000{ "Keys": [ "qt6ct", "qt5ct" ] } qt6ct-0.10/src/qt6ct-qtplugin/qt6ctplatformtheme.cpp000066400000000000000000000340261475047133000225320ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include #include #include #include #include #include #ifdef QT_WIDGETS_LIB #include #include #include #include #if QT_CONFIG(graphicsview) #include #endif #include #endif #include #include #ifdef QT_QUICKCONTROLS2_LIB #include #endif #include "qt6ct.h" #include "qt6ctplatformtheme.h" #include #include #include #ifdef KF_ICONTHEMES_LIB #include #include #endif Q_LOGGING_CATEGORY(lqt6ct, "qt6ct", QtWarningMsg) //QT_QPA_PLATFORMTHEME=qt6ct Qt6CTPlatformTheme::Qt6CTPlatformTheme() : m_generalFont(*QGenericUnixTheme::font(QPlatformTheme::SystemFont)), m_fixedFont(*QGenericUnixTheme::font(QPlatformTheme::FixedFont)) { Qt6CT::initConfig(); if(QGuiApplication::desktopSettingsAware()) { readSettings(); QMetaObject::invokeMethod(this, "applySettings", Qt::QueuedConnection); QMetaObject::invokeMethod(this, "createFSWatcher", Qt::QueuedConnection); //must be applied before Q_COREAPP_STARTUP_FUNCTION execution if(Qt6CT::isKColorScheme(m_schemePath)) qApp->setProperty("KDE_COLOR_SCHEME_PATH", m_schemePath); #if defined QT_WIDGETS_LIB && defined QT_QUICKCONTROLS2_LIB if(hasWidgets()) //don't override the value explicitly set by the user if(QQuickStyle::name().isEmpty() || QQuickStyle::name() == QLatin1String("Fusion")) QQuickStyle::setStyle(QLatin1String("org.kde.desktop")); #endif } qCDebug(lqt6ct) << "using qt6ct plugin"; #ifdef QT_WIDGETS_LIB if(!QStyleFactory::keys().contains("qt6ct-style")) qCCritical(lqt6ct) << "unable to find qt6ct proxy style"; #endif QCoreApplication::instance()->installEventFilter(this); } Qt6CTPlatformTheme::~Qt6CTPlatformTheme() {} bool Qt6CTPlatformTheme::usePlatformNativeDialog(DialogType type) const { return m_theme ? m_theme->usePlatformNativeDialog(type) : QPlatformTheme::usePlatformNativeDialog(type); } QPlatformDialogHelper *Qt6CTPlatformTheme::createPlatformDialogHelper(DialogType type) const { return m_theme ? m_theme->createPlatformDialogHelper(type) : QPlatformTheme::createPlatformDialogHelper(type); } const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette type) const { qDebug() << Q_FUNC_INFO << type; return m_palette ? &*m_palette : QGenericUnixTheme::palette(type); } const QFont *Qt6CTPlatformTheme::font(QPlatformTheme::Font type) const { if(type == QPlatformTheme::FixedFont) return &m_fixedFont; return &m_generalFont; } QVariant Qt6CTPlatformTheme::themeHint(QPlatformTheme::ThemeHint hint) const { if(m_isIgnored) return QGenericUnixTheme::themeHint(hint); switch (hint) { case QPlatformTheme::CursorFlashTime: return m_cursorFlashTime; case MouseDoubleClickInterval: return m_doubleClickInterval; case QPlatformTheme::ToolButtonStyle: return m_toolButtonStyle; case QPlatformTheme::SystemIconThemeName: return m_iconTheme; case QPlatformTheme::StyleNames: qDebug() << Q_FUNC_INFO; return QStringList() << "qt6ct-style"; case QPlatformTheme::IconThemeSearchPaths: return Qt6CT::iconPaths(); case QPlatformTheme::DialogButtonBoxLayout: return m_buttonBoxLayout; case QPlatformTheme::KeyboardScheme: return m_keyboardScheme; case QPlatformTheme::UiEffects: return m_uiEffects; case QPlatformTheme::WheelScrollLines: return m_wheelScrollLines; case QPlatformTheme::ShowShortcutsInContextMenus: return m_showShortcutsInContextMenus; default: return QGenericUnixTheme::themeHint(hint); } } QIcon Qt6CTPlatformTheme::fileIcon(const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions) const { if((iconOptions & DontUseCustomDirectoryIcons) && fileInfo.isDir()) return QIcon::fromTheme(QLatin1String("inode-directory")); QMimeDatabase db; QMimeType type = db.mimeTypeForFile(fileInfo); return QIcon::fromTheme(type.iconName()); } #ifdef KF_ICONTHEMES_LIB QIconEngine *Qt6CTPlatformTheme::createIconEngine(const QString &iconName) const { return new KIconEngine(iconName, KIconLoader::global()); } #endif void Qt6CTPlatformTheme::applySettings() { if(!QGuiApplication::desktopSettingsAware() || m_isIgnored) { m_update = true; return; } if(Qt6CT::isKColorScheme(m_schemePath)) qApp->setProperty("KDE_COLOR_SCHEME_PATH", m_schemePath); else if(m_update) qApp->setProperty("KDE_COLOR_SCHEME_PATH", QVariant()); #ifdef QT_WIDGETS_LIB if(hasWidgets()) { if(m_update) { if(FontHash *hash = qt_app_fonts_hash(); hash && hash->size()) hash->clear(); Qt6CT::reloadStyleInstanceSettings(); } if(m_userStyleSheet != m_prevStyleSheet) { // prepend our stylesheet to that of the application // (first removing any previous stylesheet we have set) QString appStyleSheet = qApp->styleSheet(); int prevIndex = appStyleSheet.indexOf(m_prevStyleSheet); if (prevIndex >= 0) { appStyleSheet.remove(prevIndex, m_prevStyleSheet.size()); qApp->setStyleSheet(m_userStyleSheet + appStyleSheet); } else { qCDebug(lqt6ct) << "custom style sheet is disabled"; } m_prevStyleSheet = m_userStyleSheet; } } #endif if(m_update) { QWindowSystemInterface::handleThemeChange(); QCoreApplication::postEvent(qGuiApp, new QEvent(QEvent::ApplicationFontChange)); } #ifdef QT_WIDGETS_LIB if(hasWidgets() && m_update) { #if QT_CONFIG(graphicsview) for(auto scene : std::as_const(QApplicationPrivate::instance()->scene_list)) QCoreApplication::postEvent(scene, new QEvent(QEvent::ApplicationFontChange)); #endif for(QWidget *w : QApplication::allWidgets()) QCoreApplication::postEvent(w, new QEvent(QEvent::ThemeChange)); } #endif m_update = true; } void Qt6CTPlatformTheme::createFSWatcher() { QFileSystemWatcher *watcher = new QFileSystemWatcher(this); watcher->addPath(Qt6CT::configPath()); QTimer *timer = new QTimer(this); timer->setSingleShot(true); timer->setInterval(3000); connect(watcher, SIGNAL(directoryChanged(QString)), timer, SLOT(start())); connect(timer, SIGNAL(timeout()), SLOT(updateSettings())); } void Qt6CTPlatformTheme::updateSettings() { qCDebug(lqt6ct) << "updating settings.."; readSettings(); applySettings(); } void Qt6CTPlatformTheme::readSettings() { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); settings.beginGroup("Appearance"); m_style = settings.value("style", "Fusion").toString(); m_schemePath = !m_isIgnored && settings.value("custom_palette", false).toBool() ? Qt6CT::resolvePath(settings.value("color_scheme_path").toString()) //replace environment variables : QString(); m_palette = Qt6CT::loadColorScheme(m_schemePath); m_iconTheme = settings.value("icon_theme").toString(); //load dialogs if(!m_update) { //do not mix gtk2 style and gtk3 dialogs QStringList keys = QPlatformThemeFactory::keys(); QString dialogs = settings.value("standard_dialogs", "default").toString(); if(m_style.endsWith("gtk2") && dialogs == QLatin1String("gtk3")) dialogs = QLatin1String("gtk2"); if(keys.contains(dialogs)) m_theme.reset(QPlatformThemeFactory::create(dialogs)); } settings.endGroup(); settings.beginGroup("Fonts"); m_generalFont = *QGenericUnixTheme::font(QPlatformTheme::SystemFont); m_generalFont.fromString(settings.value("general").toString()); m_fixedFont = *QGenericUnixTheme::font(QPlatformTheme::FixedFont); m_fixedFont.fromString(settings.value("fixed").toString()); settings.endGroup(); settings.beginGroup("Interface"); m_doubleClickInterval = QGenericUnixTheme::themeHint(QPlatformTheme::MouseDoubleClickInterval).toInt(); m_doubleClickInterval = settings.value("double_click_interval", m_doubleClickInterval).toInt(); m_cursorFlashTime = QGenericUnixTheme::themeHint(QPlatformTheme::CursorFlashTime).toInt(); m_cursorFlashTime = settings.value("cursor_flash_time", m_cursorFlashTime).toInt(); m_showShortcutsInContextMenus = settings.value("show_shortcuts_in_context_menus", true).toBool(); m_buttonBoxLayout = QGenericUnixTheme::themeHint(QPlatformTheme::DialogButtonBoxLayout).toInt(); m_buttonBoxLayout = settings.value("buttonbox_layout", m_buttonBoxLayout).toInt(); m_keyboardScheme = QGenericUnixTheme::themeHint(QPlatformTheme::KeyboardScheme).toInt(); m_keyboardScheme = settings.value("keyboard_scheme", m_keyboardScheme).toInt(); QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, !settings.value("menus_have_icons", true).toBool()); m_toolButtonStyle = settings.value("toolbutton_style", Qt::ToolButtonFollowStyle).toInt(); m_wheelScrollLines = settings.value("wheel_scroll_lines", 3).toInt(); //load effects m_uiEffects = QGenericUnixTheme::themeHint(QPlatformTheme::UiEffects).toInt(); if(settings.childKeys().contains("gui_effects")) { QStringList effectList = settings.value("gui_effects").toStringList(); m_uiEffects = 0; if(effectList.contains("General")) m_uiEffects |= QPlatformTheme::GeneralUiEffect; if(effectList.contains("AnimateMenu")) m_uiEffects |= QPlatformTheme::AnimateMenuUiEffect; if(effectList.contains("FadeMenu")) m_uiEffects |= QPlatformTheme::FadeMenuUiEffect; if(effectList.contains("AnimateCombo")) m_uiEffects |= QPlatformTheme::AnimateComboUiEffect; if(effectList.contains("AnimateTooltip")) m_uiEffects |= QPlatformTheme::AnimateTooltipUiEffect; if(effectList.contains("FadeTooltip")) m_uiEffects |= QPlatformTheme::FadeTooltipUiEffect; if(effectList.contains("AnimateToolBox")) m_uiEffects |= QPlatformTheme::AnimateToolBoxUiEffect; } //load style sheets #ifdef QT_WIDGETS_LIB QStringList qssPaths = settings.value("stylesheets").toStringList(); m_userStyleSheet = loadStyleSheets(qssPaths); #endif settings.endGroup(); //load troubleshooting if(!m_update) { settings.beginGroup("Troubleshooting"); m_isIgnored = settings.value("ignored_applications").toStringList().contains(QCoreApplication::applicationFilePath()); int forceRasterWidgets = settings.value("force_raster_widgets", Qt::PartiallyChecked).toInt(); if(!m_isIgnored && forceRasterWidgets == Qt::Checked) QCoreApplication::setAttribute(Qt::AA_ForceRasterWidgets, true); else if(!m_isIgnored && forceRasterWidgets == Qt::Unchecked) QCoreApplication::setAttribute(Qt::AA_ForceRasterWidgets, false); settings.endGroup(); } } #ifdef QT_WIDGETS_LIB bool Qt6CTPlatformTheme::hasWidgets() { return qobject_cast (qApp) != nullptr; } #endif QString Qt6CTPlatformTheme::loadStyleSheets(const QStringList &paths) { QString content; for(const QString &path : qAsConst(paths)) { if(!QFile::exists(path)) continue; QFile file(path); file.open(QIODevice::ReadOnly); content.append(QString::fromUtf8(file.readAll())); if(!content.endsWith(QChar::LineFeed)) content.append(QChar::LineFeed); } static const QRegularExpression regExp("//.*\n"); content.replace(regExp, "\n"); return content; } //There's such a thing as KColorSchemeManager that lets the user to change the color scheme //application-wide and we should re-apply the color scheme if KCSM resets it to the default //which leads KColorScheme to get the color scheme from kdeglobals which won't help us. bool Qt6CTPlatformTheme::eventFilter(QObject *obj, QEvent *e) { if(obj == qApp && e->type() == QEvent::DynamicPropertyChange && static_cast(e)->propertyName() == "KDE_COLOR_SCHEME_PATH" && qApp->property("KDE_COLOR_SCHEME_PATH").toString().isEmpty() && Qt6CT::isKColorScheme(m_schemePath)) applySettings(); return QObject::eventFilter(obj, e); } qt6ct-0.10/src/qt6ct-qtplugin/qt6ctplatformtheme.h000066400000000000000000000076321475047133000222020ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef QT6CTPLATFORMTHEME_H #define QT6CTPLATFORMTHEME_H #include #include #include #include #include #include #include #include #include Q_DECLARE_LOGGING_CATEGORY(lqt6ct) class Qt6CTPlatformTheme : public QObject, public QGenericUnixTheme { Q_OBJECT public: Qt6CTPlatformTheme(); virtual ~Qt6CTPlatformTheme(); //virtual QPlatformMenuItem* createPlatformMenuItem() const; //virtual QPlatformMenu* createPlatformMenu() const; //virtual void showPlatformMenuBar() {} virtual bool usePlatformNativeDialog(DialogType type) const override; virtual QPlatformDialogHelper *createPlatformDialogHelper(DialogType type) const override; virtual const QPalette *palette(Palette type = SystemPalette) const override; virtual const QFont *font(Font type = SystemFont) const override; virtual QVariant themeHint(ThemeHint hint) const override; virtual QIcon fileIcon(const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions = {}) const override; //virtual QPixmap standardPixmap(StandardPixmap sp, const QSizeF &size) const; //virtual QPixmap fileIconPixmap(const QFileInfo &fileInfo, const QSizeF &size, // QPlatformTheme::IconOptions iconOptions = 0) const; #ifdef KF_ICONTHEMES_LIB virtual QIconEngine *createIconEngine(const QString &iconName) const override; #endif //virtual QList keyBindings(QKeySequence::StandardKey key) const; //virtual QString standardButtonText(int button) const; protected: bool eventFilter(QObject *obj, QEvent *e) override; private slots: void applySettings(); void createFSWatcher(); void updateSettings(); private: void readSettings(); #ifdef QT_WIDGETS_LIB bool hasWidgets(); #endif QString loadStyleSheets(const QStringList &paths); QString m_style, m_schemePath, m_iconTheme, m_userStyleSheet, m_prevStyleSheet; std::optional m_palette; QFont m_generalFont, m_fixedFont; int m_doubleClickInterval; int m_cursorFlashTime; int m_uiEffects; int m_buttonBoxLayout; int m_keyboardScheme; bool m_update = false; int m_toolButtonStyle = Qt::ToolButtonFollowStyle; int m_wheelScrollLines = 3; bool m_showShortcutsInContextMenus = false; bool m_isIgnored = false; std::unique_ptr m_theme; }; Q_DECLARE_LOGGING_CATEGORY(lqt6ct) #endif // QT6CTPLATFORMTHEME_H qt6ct-0.10/src/qt6ct-style/000077500000000000000000000000001475047133000154655ustar00rootroot00000000000000qt6ct-0.10/src/qt6ct-style/CMakeLists.txt000066400000000000000000000004551475047133000202310ustar00rootroot00000000000000project(qt6ct-style) set(app_SRCS plugin.cpp qt6ctproxystyle.cpp ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../) add_library(qt6ct-style MODULE ${app_SRCS}) target_link_libraries(qt6ct-style PRIVATE Qt6::Widgets qt6ct-common) install(TARGETS qt6ct-style DESTINATION ${PLUGINDIR}/styles) qt6ct-0.10/src/qt6ct-style/plugin.cpp000066400000000000000000000035141475047133000174720ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include "qt6ctproxystyle.h" class Qt6CTStylePlugin : public QStylePlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE "qt6ct.json") public: QStyle *create(const QString &key) override; }; QStyle *Qt6CTStylePlugin::create(const QString &key) { if(key == QLatin1String("qt6ct-style") || key == QLatin1String("qt5ct-style")) return new Qt6CTProxyStyle(); return nullptr; } #include "plugin.moc" qt6ct-0.10/src/qt6ct-style/qt6ct-style.pro000066400000000000000000000004541475047133000204110ustar00rootroot00000000000000include(../../qt6ct.pri) TEMPLATE = lib TARGET = qt6ct-style QT += widgets # Input CONFIG += plugin target.path = $$PLUGINDIR/styles INSTALLS += target INCLUDEPATH += ../ HEADERS += \ qt6ctproxystyle.h SOURCES += \ plugin.cpp \ qt6ctproxystyle.cpp OTHER_FILES += \ qt6ct.json qt6ct-0.10/src/qt6ct-style/qt6ct.json000066400000000000000000000000611475047133000174160ustar00rootroot00000000000000{ "Keys": [ "qt6ct-style", "qt5ct-style" ] } qt6ct-0.10/src/qt6ct-style/qt6ctproxystyle.cpp000066400000000000000000000063601475047133000214220ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include "qt6ctproxystyle.h" Qt6CTProxyStyle::Qt6CTProxyStyle() { Qt6CT::registerStyleInstance(this); Qt6CTProxyStyle::reloadSettings(); } void Qt6CTProxyStyle::reloadSettings() { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); m_dialogButtonsHaveIcons = settings.value("Interface/dialog_buttons_have_icons", Qt::PartiallyChecked).toInt(); m_activateItemOnSingleClick = settings.value("Interface/activate_item_on_single_click", Qt::PartiallyChecked).toInt(); m_underlineShortcut = settings.value("Interface/underline_shortcut", Qt::PartiallyChecked).toInt(); QString style = settings.value("Appearance/style", "fusion").toString().toLower(); if(style == "qt6ct-style" || !QStyleFactory::keys().contains(style, Qt::CaseInsensitive)) style = "fusion"; if(style != m_style) { setBaseStyle(QStyleFactory::create(style)); m_style = style; } } Qt6CTProxyStyle::~Qt6CTProxyStyle() { Qt6CT::unregisterStyleInstance(this); } int Qt6CTProxyStyle::styleHint(QStyle::StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const { if(hint == QStyle::SH_DialogButtonBox_ButtonsHaveIcons) { if(m_dialogButtonsHaveIcons == Qt::Unchecked) return 0; if(m_dialogButtonsHaveIcons == Qt::Checked) return 1; } else if(hint == QStyle::SH_ItemView_ActivateItemOnSingleClick) { if(m_activateItemOnSingleClick == Qt::Unchecked) return 0; if(m_activateItemOnSingleClick == Qt::Checked) return 1; } else if(hint == QStyle::SH_UnderlineShortcut) { if(m_underlineShortcut == Qt::Unchecked) return 0; if(m_underlineShortcut == Qt::Checked) return 1; } return QProxyStyle::styleHint(hint, option, widget, returnData); } qt6ct-0.10/src/qt6ct-style/qt6ctproxystyle.h000066400000000000000000000036631475047133000210720ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef QT6CTPROXYSTYLE_H #define QT6CTPROXYSTYLE_H #include #include "qt6ct.h" class Qt6CTProxyStyle : public QProxyStyle, public Qt6CT::StyleInstance { Q_OBJECT public: explicit Qt6CTProxyStyle(); void reloadSettings() override; virtual ~Qt6CTProxyStyle(); int styleHint(StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const override; private: QString m_style; int m_dialogButtonsHaveIcons; int m_activateItemOnSingleClick; int m_underlineShortcut; }; #endif // QT6CTPROXYSTYLE_H qt6ct-0.10/src/qt6ct/000077500000000000000000000000001475047133000143275ustar00rootroot00000000000000qt6ct-0.10/src/qt6ct/CMakeLists.txt000066400000000000000000000017701475047133000170740ustar00rootroot00000000000000project(app) set(app_SRCS appearancepage.cpp fontconfigdialog.cpp fontspage.cpp iconthemepage.cpp interfacepage.cpp main.cpp mainwindow.cpp paletteeditdialog.cpp qsseditordialog.cpp qsspage.cpp tabpage.cpp troubleshootingpage.cpp appearancepage.ui fontconfigdialog.ui fontspage.ui iconthemepage.ui interfacepage.ui mainwindow.ui paletteeditdialog.ui previewform.ui qsseditordialog.ui qsspage.ui troubleshootingpage.ui ) if(Qt6LinguistTools_FOUND) list(APPEND app_SRCS translations/translations.qrc) endif() add_executable(qt6ct ${app_SRCS}) target_link_libraries(qt6ct PRIVATE Qt6::Widgets Qt6::GuiPrivate $ qt6ct-common) target_compile_definitions(qt6ct PRIVATE USE_WIDGETS $<$:KF_CONFIGCORE_LIB> $<$:KF_COLORSCHEME_LIB>) install(TARGETS qt6ct DESTINATION ${CMAKE_INSTALL_BINDIR}) install(FILES qt6ct.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) qt6ct-0.10/src/qt6ct/appearancepage.cpp000066400000000000000000000373621475047133000200020ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include #include #include #include #include #ifdef KF_CONFIGCORE_LIB #include #endif #include #include "qt6ct.h" #include "appearancepage.h" #include "paletteeditdialog.h" #include "ui_appearancepage.h" #include "ui_previewform.h" AppearancePage::AppearancePage(QWidget *parent) : TabPage(parent), m_ui(new Ui::AppearancePage) { m_ui->setupUi(this); QStringList keys = QStyleFactory::keys(); keys.removeAll("qt6ct-style"); //hide qt6ct proxy style keys.removeAll("qt5ct-style"); //hide qt5ct proxy style keys.removeAll("qt5gtk2"); //hide qt5gtk2 alias keys.removeAll("gtk2"); //hide gtk2 alias m_ui->styleComboBox->addItems(keys); connect(m_ui->paletteComboBox, SIGNAL(activated(int)), SLOT(updatePalette())); connect(m_ui->customPaletteButton, SIGNAL(clicked()), SLOT(updatePalette())); connect(m_ui->defaultPaletteButton, SIGNAL(clicked()), SLOT(updatePalette())); m_previewWidget = new QWidget(this); m_previewUi = new Ui::PreviewForm(); m_previewUi->setupUi(m_previewWidget); QMdiSubWindow *w = m_ui->mdiArea->addSubWindow(m_previewWidget, Qt::SubWindow | Qt::CustomizeWindowHint | Qt::WindowMinMaxButtonsHint | Qt::WindowTitleHint | Qt::WindowDoesNotAcceptFocus); w->setFocusPolicy(Qt::NoFocus); w->move(10, 10); QMenu *menu = new QMenu(this); menu->addAction(QIcon::fromTheme("document-new"), tr("Create"), this, SLOT(createColorScheme())); m_changeColorSchemeAction = menu->addAction(QIcon::fromTheme("accessories-text-editor"), tr("Edit"), this, SLOT(changeColorScheme())); m_copyColorSchemeAction = menu->addAction(QIcon::fromTheme("edit-copy"), tr("Create a Copy"), this, SLOT(copyColorScheme())); m_renameColorSchemeAction = menu->addAction(tr("Rename"), this, SLOT(renameColorScheme())); menu->addSeparator(); m_removeColorSchemeAction = menu->addAction(QIcon::fromTheme("edit-delete"), tr("Remove"), this, SLOT(removeColorScheme())); m_ui->colorSchemeButton->setMenu(menu); m_changeColorSchemeAction->setIcon(QIcon::fromTheme("accessories-text-editor")); m_removeColorSchemeAction->setIcon(QIcon::fromTheme("list-remove")); connect(menu, SIGNAL(aboutToShow()), SLOT(updateActions())); keys = QPlatformThemeFactory::keys(); m_ui->dialogComboBox->addItem(tr("Default"), "default"); if(keys.contains("gtk2") || keys.contains("qt6gtk2")) m_ui->dialogComboBox->addItem("GTK2", "gtk2"); else if(keys.contains("gtk3") || keys.contains("qt6gtk3")) m_ui->dialogComboBox->addItem("GTK3", "gtk3"); if(keys.contains("kde")) m_ui->dialogComboBox->addItem("KDE", "kde"); if (keys.contains("xdgdesktopportal")) m_ui->dialogComboBox->addItem("XDG Desktop Portal", "xdgdesktopportal"); readSettings(); } AppearancePage::~AppearancePage() { delete m_selectedStyle; delete m_ui; delete m_previewUi; } void AppearancePage::writeSettings(QSettings *settings) { settings->beginGroup("Appearance"); settings->setValue("style", m_ui->styleComboBox->currentText()); settings->setValue("custom_palette", m_ui->customPaletteButton->isChecked()); settings->setValue("color_scheme_path", m_ui->colorSchemeComboBox->currentData().toString()); settings->setValue("standard_dialogs", m_ui->dialogComboBox->currentData().toString()); settings->endGroup(); } #ifdef KF_CONFIGCORE_LIB void AppearancePage::writeSettings(KSharedConfigPtr config) { KConfigGroup group(config, "KDE"); group.writeEntry("widgetStyle", "qt6ct-style"); group.sync(); } #endif void AppearancePage::on_styleComboBox_textActivated(const QString &text) { QStyle *style = QStyleFactory::create(text); if(!style) return; setStyle(m_previewWidget, style); delete m_selectedStyle; m_selectedStyle = style; updatePalette(); } void AppearancePage::on_colorSchemeComboBox_activated(int) { m_customPalette = Qt6CT::loadColorScheme(m_ui->colorSchemeComboBox->currentData().toString()).value_or(palette()); updatePalette(); } void AppearancePage::createColorScheme() { QString name = QInputDialog::getText(this, tr("Enter Color Scheme Name"), tr("File name:")); if(name.isEmpty()) return; if(!name.endsWith(".conf", Qt::CaseInsensitive)) name.append(".conf"); if(m_ui->colorSchemeComboBox->findText(name.section('.',0,0)) != -1) { QMessageBox::warning(this, tr("Error"), tr("The color scheme \"%1\" already exists") .arg(name.section('.',0,0))); return; } QString schemePath = Qt6CT::userColorSchemePath() + QLatin1String("/") + name; createColorScheme(schemePath, palette()); m_ui->colorSchemeComboBox->addItem(name.section('.',0,0), schemePath); } void AppearancePage::changeColorScheme() { if(m_ui->colorSchemeComboBox->currentIndex() < 0) return; if(!QFileInfo(m_ui->colorSchemeComboBox->currentData().toString()).isWritable()) { QMessageBox::information(this, tr("Warning"), tr("The color scheme \"%1\" is read only") .arg(m_ui->colorSchemeComboBox->currentText())); return; } PaletteEditDialog d(m_customPalette, m_selectedStyle, this); connect(&d, SIGNAL(paletteChanged(QPalette)), SLOT(setPreviewPalette(QPalette))); if(d.exec() == QDialog::Accepted) { m_customPalette = d.selectedPalette(); createColorScheme(m_ui->colorSchemeComboBox->currentData().toString(), m_customPalette); } updatePalette(); } void AppearancePage::removeColorScheme() { int index = m_ui->colorSchemeComboBox->currentIndex(); if(index < 0 || m_ui->colorSchemeComboBox->count() <= 1) return; if(!QFileInfo(m_ui->colorSchemeComboBox->currentData().toString()).isWritable()) { QMessageBox::information(this, tr("Warning"), tr("The color scheme \"%1\" is read only") .arg(m_ui->colorSchemeComboBox->currentText())); return; } int button = QMessageBox::question(this, tr("Confirm Remove"), tr("Are you sure you want to remove color scheme \"%1\"?") .arg(m_ui->colorSchemeComboBox->currentText()), QMessageBox::Yes | QMessageBox::No); if(button != QMessageBox::Yes) return; if(QFile::remove(m_ui->colorSchemeComboBox->currentData().toString())) { m_ui->colorSchemeComboBox->removeItem(index); on_colorSchemeComboBox_activated(0); } } void AppearancePage::copyColorScheme() { if(m_ui->colorSchemeComboBox->currentIndex() < 0) return; QString name = QInputDialog::getText(this, tr("Enter Color Scheme Name"), tr("File name:"), QLineEdit::Normal, tr("%1 (copy)").arg(m_ui->colorSchemeComboBox->currentText())); if(name.isEmpty() || name == m_ui->colorSchemeComboBox->currentText()) return; if(!name.endsWith(".conf", Qt::CaseInsensitive)) name.append(".conf"); if(m_ui->colorSchemeComboBox->findText(name.section('.',0,0)) != -1) { QMessageBox::warning(this, tr("Error"), tr("The color scheme \"%1\" already exists") .arg(name.section('.',0,0))); return; } QString newPath = Qt6CT::userColorSchemePath() + QLatin1String("/") + name; if(!QFile::copy(m_ui->colorSchemeComboBox->currentData().toString(), newPath)) { QMessageBox::warning(this, tr("Error"), tr("Unable to copy file")); return; } m_ui->colorSchemeComboBox->addItem(name.section('.',0,0), newPath); } void AppearancePage::renameColorScheme() { int index = m_ui->colorSchemeComboBox->currentIndex(); if(index < 0) return; if(!QFileInfo(m_ui->colorSchemeComboBox->currentData().toString()).isWritable()) { QMessageBox::information(this, tr("Warning"), tr("The color scheme \"%1\" is read only") .arg(m_ui->colorSchemeComboBox->currentText())); return; } QString name = QInputDialog::getText(this, tr("Enter Color Scheme Name"), tr("File name:"), QLineEdit::Normal, m_ui->colorSchemeComboBox->currentText()); if(name.isEmpty() || name == m_ui->colorSchemeComboBox->currentText()) return; if(!name.endsWith(".conf", Qt::CaseInsensitive)) name.append(".conf"); if(m_ui->colorSchemeComboBox->findText(name.section('.',0,0)) != -1) { QMessageBox::warning(this, tr("Error"), tr("The color scheme \"%1\" already exists") .arg(name.section('.',0,0))); return; } QString newPath = Qt6CT::userColorSchemePath() + QLatin1String("/") + name; QFile::rename(m_ui->colorSchemeComboBox->currentData().toString(), newPath); m_ui->colorSchemeComboBox->setItemText(index, name.section('.',0,0)); m_ui->colorSchemeComboBox->setItemData(index, newPath); } void AppearancePage::updatePalette() { if(!m_selectedStyle) return; setPreviewPalette(m_ui->customPaletteButton->isChecked() ? m_customPalette : m_selectedStyle->standardPalette()); } void AppearancePage::setPreviewPalette(const QPalette &p) { QPalette previewPalette = palette(); QPalette::ColorGroup colorGroup = QPalette::Disabled; if(m_ui->paletteComboBox->currentIndex() == 0) { colorGroup = QPalette::Active; } else if(m_ui->paletteComboBox->currentIndex() == 1) { colorGroup = QPalette::Inactive; } for (int i = 0; i < QPalette::NColorRoles; i++) { QPalette::ColorRole role = QPalette::ColorRole(i); previewPalette.setColor(QPalette::Active, role, p.color(colorGroup, role)); previewPalette.setColor(QPalette::Inactive, role, p.color(colorGroup, role)); } setPalette(m_ui->mdiArea, previewPalette); } void AppearancePage::updateActions() { m_copyColorSchemeAction->setVisible(!Qt6CT::isKColorScheme(m_ui->colorSchemeComboBox->currentData().toString())); if(m_ui->colorSchemeComboBox->count() == 0 || !QFileInfo(m_ui->colorSchemeComboBox->currentData().toString()).isWritable()) { m_changeColorSchemeAction->setVisible(false); m_renameColorSchemeAction->setVisible(false); m_removeColorSchemeAction->setVisible(false); } else { m_changeColorSchemeAction->setVisible(true); m_renameColorSchemeAction->setVisible(true); m_removeColorSchemeAction->setVisible(m_ui->colorSchemeComboBox->count() > 1); } } void AppearancePage::readSettings() { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); settings.beginGroup("Appearance"); QString style = settings.value("style", "Fusion").toString(); m_ui->styleComboBox->setCurrentText(style); m_ui->customPaletteButton->setChecked(settings.value("custom_palette", false).toBool()); QString colorSchemePath = Qt6CT::resolvePath(settings.value("color_scheme_path").toString()); //replace environment variables QDir("/").mkpath(Qt6CT::userColorSchemePath()); findColorSchemes(Qt6CT::userColorSchemePath()); findColorSchemes(Qt6CT::sharedColorSchemePaths()); if(m_ui->colorSchemeComboBox->count() == 0) { m_customPalette = palette(); //load fallback palette } else { int index = m_ui->colorSchemeComboBox->findData(colorSchemePath); if(index >= 0) m_ui->colorSchemeComboBox->setCurrentIndex(index); m_customPalette = Qt6CT::loadColorScheme(m_ui->colorSchemeComboBox->currentData().toString()).value_or(palette()); } on_styleComboBox_textActivated(m_ui->styleComboBox->currentText()); int index = m_ui->dialogComboBox->findData(settings.value("standard_dialogs").toString()); m_ui->dialogComboBox->setCurrentIndex(qMax(index, 0)); settings.endGroup(); } void AppearancePage::setStyle(QWidget *w, QStyle *s) { for(QObject *o : w->children()) { if(o->isWidgetType()) { setStyle(qobject_cast(o), s); } } w->setStyle(s); } void AppearancePage::setPalette(QWidget *w, QPalette p) { for(QObject *o : w->children()) { if(o->isWidgetType()) { setPalette(qobject_cast(o), p); } } w->setPalette(p); } void AppearancePage::findColorSchemes(const QString &path) { QDir dir(path); dir.setFilter(QDir::Files); QStringList nameFilters; nameFilters << "*.conf"; #if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB nameFilters << "*.colors"; #endif dir.setNameFilters(nameFilters); for(const QFileInfo &info : dir.entryInfoList()) { QString name = info.baseName(); QString path = info.filePath(); #if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB if(Qt6CT::isKColorScheme(path)) { KSharedConfigPtr config = KSharedConfig::openConfig(path, KConfig::SimpleConfig); KConfigGroup group(config, "General"); name = group.readEntry("Name", name) + " (KColorScheme)"; } #endif m_ui->colorSchemeComboBox->addItem(name, path); } } void AppearancePage::findColorSchemes(const QStringList &paths) { for(const QString &p : paths) findColorSchemes(p); } void AppearancePage::createColorScheme(const QString &name, const QPalette &palette) { QSettings settings(name, QSettings::IniFormat); settings.beginGroup("ColorScheme"); QStringList activeColors, inactiveColors, disabledColors; for (int i = 0; i < QPalette::NColorRoles; i++) { QPalette::ColorRole role = QPalette::ColorRole(i); activeColors << palette.color(QPalette::Active, role).name(QColor::HexArgb); inactiveColors << palette.color(QPalette::Inactive, role).name(QColor::HexArgb); disabledColors << palette.color(QPalette::Disabled, role).name(QColor::HexArgb); } settings.setValue("active_colors",activeColors); settings.setValue("inactive_colors",inactiveColors); settings.setValue("disabled_colors",disabledColors); settings.endGroup(); } qt6ct-0.10/src/qt6ct/appearancepage.h000066400000000000000000000054731475047133000174450ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef APPEARANCEPAGE_H #define APPEARANCEPAGE_H #include "tabpage.h" namespace Ui { class AppearancePage; class PreviewForm; } class QStyle; class QAction; class AppearancePage : public TabPage { Q_OBJECT public: explicit AppearancePage(QWidget *parent = nullptr); ~AppearancePage(); void writeSettings(QSettings *settings) override; #ifdef KF_CONFIGCORE_LIB void writeSettings(KSharedConfigPtr config) override; #endif private slots: void on_styleComboBox_textActivated(const QString &text); void on_colorSchemeComboBox_activated(int); void createColorScheme(); void changeColorScheme(); void removeColorScheme(); void copyColorScheme(); void renameColorScheme(); void updatePalette(); void setPreviewPalette(const QPalette &p); void updateActions(); private: void readSettings(); void setStyle(QWidget *w, QStyle *s); void setPalette(QWidget *w, QPalette p); void findColorSchemes(const QString &path); void findColorSchemes(const QStringList &paths); void createColorScheme(const QString &name, const QPalette &palette); Ui::AppearancePage *m_ui; QStyle *m_selectedStyle = nullptr; QPalette m_customPalette; QWidget *m_previewWidget; QAction *m_changeColorSchemeAction, *m_copyColorSchemeAction, *m_renameColorSchemeAction, *m_removeColorSchemeAction; Ui::PreviewForm *m_previewUi; }; #endif // APPEARANCEPAGE_H qt6ct-0.10/src/qt6ct/appearancepage.ui000066400000000000000000000167631475047133000176370ustar00rootroot00000000000000 AppearancePage 0 0 596 470 Form Style: Qt::Horizontal 40 20 Qt::Horizontal QSizePolicy::Fixed 40 20 Preview Qt::TabFocus Active palette Inactive palette Disabled palette Qt::Horizontal 82 20 QMdiArea::ActivationHistoryOrder false Palette 6 Default true Custom Qt::Horizontal 230 20 false Color scheme: false 150 0 Qt::TabFocus false ... QToolButton::InstantPopup Qt::NoArrow Qt::Horizontal 40 20 Standard dialogs: styleComboBox dialogComboBox defaultPaletteButton customPaletteButton colorSchemeComboBox colorSchemeButton paletteComboBox customPaletteButton toggled(bool) colorScheeLabel setEnabled(bool) 160 79 77 104 customPaletteButton toggled(bool) colorSchemeComboBox setEnabled(bool) 144 75 146 100 customPaletteButton toggled(bool) colorSchemeButton setEnabled(bool) 177 78 288 116 qt6ct-0.10/src/qt6ct/desktop-translations/000077500000000000000000000000001475047133000205175ustar00rootroot00000000000000qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_ar.desktop.in000066400000000000000000000004001475047133000242340ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_bg.desktop.in000066400000000000000000000007221475047133000242310ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; # Translations Icon[bg]=предпочитания-десктоп-тема Name[bg]=Настройки на Qt6 Comment[bg]=Инструмент за настройка на Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_ca.desktop.in000066400000000000000000000006311475047133000242230ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; # Translations Icon[ca]=preferences-desktop-theme Name[ca]=Configuració de Qt6 Comment[ca]=Eina de configuració de Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_cs.desktop.in000066400000000000000000000006201475047133000242430ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; # Translations Icon[cs]=nastavení-plocha-vzhled Name[cs]=Nastavení Qt6 Comment[cs]=Nástroj na nastavení Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_da.desktop.in000066400000000000000000000005461475047133000242310ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[da]=preferences-desktop-theme Name[da]=Qt6-indstillinger Comment[da]=Qt6-konfigurationsværktøj qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_de.desktop.in000066400000000000000000000005451475047133000242340ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[de]=preferences-desktop-theme Name[de]=Qt6-Einstellungen Comment[de]=Qt6-Konfigurationswerkzeug qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_el.desktop.in000066400000000000000000000006021475047133000242360ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[el]=preferences-desktop-theme Name[el]=Ρυθμίσεις Qt6 Comment[el]=Εργαλείο διαμόρφωσης της Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_es.desktop.in000066400000000000000000000005541475047133000242530ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[es]=preferences-desktop-theme Name[es]=Ajustes de Qt6 Comment[es]=Herramienta de configuración de Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_es_ES.desktop.in000066400000000000000000000005651475047133000246440ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[es_ES]=preferences-desktop-theme Name[es_ES]=Ajustes de Qt6 Comment[es_ES]=Herramienta de configuración de Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_fi.desktop.in000066400000000000000000000004271475047133000242410ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Name[fi]=Qt6 asetukset qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_fr.desktop.in000066400000000000000000000006271475047133000242540ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; # Translations Icon[fr]=préférences thème du bureau Name[fr]=Qt6 Paramètres Comment[fr]=Qt6 Outil de configuration qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_he.desktop.in000066400000000000000000000004001475047133000242260ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_hu.desktop.in000066400000000000000000000004001475047133000242460ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_it_IT.desktop.in000066400000000000000000000005601475047133000246510ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[it_IT]=preferenze-tema-desktop Name[it_IT]=Impostazioni Qt6 Comment[it_IT]=Strumento di configurazione Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_ja.desktop.in000066400000000000000000000006231475047133000242330ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; # Translations Icon[ja]=設定-デスクトップ-テーマ Name[ja]=Qt6 の設定 Comment[ja]=Qt6 設定ツール qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_nl_NL.desktop.in000066400000000000000000000006221475047133000246420ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; # Translations Icon[nl_NL]=preferences-desktop-theme Name[nl_NL]=Qt6-instellingen Comment[nl_NL]=Qt6-instellingen qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_pl.desktop.in000066400000000000000000000006221475047133000242530ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; # Translations Icon[pl]=preferences-desktop-theme Name[pl]=Ustawienia Qt6 Comment[pl]=Narzędzie konfiguracji Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_pt_BR.desktop.in000066400000000000000000000004001475047133000246400ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_ru.desktop.in000066400000000000000000000006571475047133000242760ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; # Translations Icon[ru]=preferences-desktop-theme Name[ru]=Настройки Qt6 Comment[ru]=Программа для настройки Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_sk.desktop.in000066400000000000000000000004001475047133000242470ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_sr.desktop.in000066400000000000000000000004001475047133000242560ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_tr.desktop.in000066400000000000000000000005401475047133000242640ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[tr]=masaüstü-tema-tercihleri Name[tr]=Qt6 Ayarları Comment[tr]=Q6 Yapılandırma Aracı qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_uk.desktop.in000066400000000000000000000005671475047133000242670ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[uk]=preferences-desktop-theme Name[uk]=Параметри Qt6 Comment[uk]=Засіб налаштування Qt6 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_zh_CN.desktop.in000066400000000000000000000005311475047133000246400ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[zh_CN]=桌面主题首选项 Name[zh_CN]=Qt6 设置 Comment[zh_CN]=Qt6 配置工具 qt6ct-0.10/src/qt6ct/desktop-translations/qt6ct_zh_TW.desktop.in000066400000000000000000000005351475047133000246760ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; # Translations Icon[zh_TW]=preferences-desktop-theme Name[zh_TW]=Qt6 設定 Comment[zh_TW]=Qt6 設定工具 qt6ct-0.10/src/qt6ct/fontconfigdialog.cpp000066400000000000000000000124701475047133000203530ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include "fontconfigdialog.h" #include "ui_fontconfigdialog.h" FontConfigDialog::FontConfigDialog(QWidget *parent) : QDialog(parent), m_ui(new Ui::FontConfigDialog) { m_ui->setupUi(this); m_ui->hintingStyleComboBox->addItem(tr("None"), "hintnone"); m_ui->hintingStyleComboBox->addItem(tr("Slight"), "hintslight"); m_ui->hintingStyleComboBox->addItem(tr("Medium"), "hintmedium"); m_ui->hintingStyleComboBox->addItem(tr("Full"), "hintfull"); m_ui->rgbaComboBox->addItem(tr("None"), "none"); m_ui->rgbaComboBox->addItem("rgb", "rgb"); m_ui->rgbaComboBox->addItem("bgr", "bgr"); m_ui->rgbaComboBox->addItem("vrgb", "vrgb"); m_ui->rgbaComboBox->addItem("vbgr", "vbgr"); m_ui->lcdFilterComboBox->addItem("lcdnone"); m_ui->lcdFilterComboBox->addItem("lcddefault"); m_ui->lcdFilterComboBox->addItem("lcdlight"); m_ui->lcdFilterComboBox->addItem("lcdlegacy"); } FontConfigDialog::~FontConfigDialog() { delete m_ui; } void FontConfigDialog::accept() { QDir::home().mkpath(".config/fontconfig/"); QString path = QDir::homePath() + "/.config/fontconfig/fonts.conf"; qDebug("FontConfigDialog: fontconfig path: %s", qPrintable(path)); if(QFile::exists(path)) { if(QMessageBox::question(this, tr("Font Configuration"), tr("%1 already exists. Do you want to replace it?").arg(path), QMessageBox::Yes | QMessageBox::No) == QMessageBox::No) { QDialog::reject(); return; } QFile::remove(path + ".back"); QFile::copy(path, path + ".back"); } QFile file(path); if(!file.open(QIODevice::WriteOnly)) { qWarning("FontConfigDialog: unable to open file: %s", qPrintable(file.errorString())); return; } QXmlStreamWriter stream(&file); stream.setAutoFormatting(true); stream.writeStartDocument(); stream.writeDTD(""); stream.writeStartElement("fontconfig"); stream.writeStartElement("match"); stream.writeAttribute("target", "font"); writeOption(&stream, "antialias", m_ui->antialisingCheckBox->isChecked()); writeOption(&stream, "hinting", m_ui->hintingCheckBox->isChecked()); writeOption(&stream, "hintstyle", m_ui->hintingStyleComboBox->currentData().toString()); writeOption(&stream, "rgba", m_ui->rgbaComboBox->currentData().toString()); writeOption(&stream, "autohint", m_ui->autohinterCheckBox->isChecked()); writeOption(&stream, "lcdfilter", m_ui->lcdFilterComboBox->currentText()); writeOption(&stream, "dpi", m_ui->dpiSpinBox->value()); stream.writeEndElement(); if(m_ui->disableBoldAutohintCheckBox->isChecked()) { stream.writeStartElement("match"); stream.writeAttribute("target", "font"); stream.writeStartElement("test"); stream.writeAttribute("name", "weight"); stream.writeAttribute("compare", "more"); stream.writeTextElement("const", "medium"); stream.writeEndElement(); writeOption(&stream, "autohint", m_ui->autohinterCheckBox->isChecked()); stream.writeEndElement(); } stream.writeEndElement(); stream.writeEndDocument(); QDialog::accept(); } void FontConfigDialog::writeOption(QXmlStreamWriter *stream, const QString &name, const QVariant &value) { stream->writeStartElement("edit"); stream->writeAttribute("name", name); stream->writeAttribute("mode", "assign"); if(value.typeId() == QMetaType::QString) stream->writeTextElement("const", value.toString()); else if(value.typeId() == QMetaType::Int) stream->writeTextElement("double", QString::number(value.toInt())); else if(value.typeId() == QMetaType::Bool) stream->writeTextElement("bool", value.toBool() ? QStringLiteral("true") : QStringLiteral("false")); stream->writeEndElement(); } qt6ct-0.10/src/qt6ct/fontconfigdialog.h000066400000000000000000000035321475047133000200170ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef FONTCONFIGDIALOG_H #define FONTCONFIGDIALOG_H #include namespace Ui { class FontConfigDialog; } class QXmlStreamWriter; class FontConfigDialog : public QDialog { Q_OBJECT public: explicit FontConfigDialog(QWidget *parent = nullptr); ~FontConfigDialog(); public slots: void accept() override; void writeOption(QXmlStreamWriter *stream, const QString &name, const QVariant &value); private: Ui::FontConfigDialog *m_ui; }; #endif // FONTCONFIGDIALOG_H qt6ct-0.10/src/qt6ct/fontconfigdialog.ui000066400000000000000000000106521475047133000202060ustar00rootroot00000000000000 FontConfigDialog 0 0 349 295 Font Configuration 6 6 6 Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok Font resolution: Subpixel geometry: Antialiasing Hinting style: 0 0 dpi 80 180 102 antialisingCheckBox hintingCheckBox hintingStyleComboBox rgbaComboBox autohinterCheckBox disableBoldAutohintCheckBox lcdFilterComboBox dpiSpinBox buttonBox buttonBox accepted() FontConfigDialog accept() 254 288 157 274 buttonBox rejected() FontConfigDialog reject() 316 260 286 274 qt6ct-0.10/src/qt6ct/fontspage.cpp000066400000000000000000000110211475047133000170140ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include #include #include #include "qt6ct.h" #include "fontspage.h" #include "fontconfigdialog.h" #include "ui_fontspage.h" FontsPage::FontsPage(QWidget *parent) : TabPage(parent), m_ui(new Ui::FontsPage) { m_ui->setupUi(this); connect(m_ui->changeGeneralFontButton, &QToolButton::clicked, this, [=] { onFontChangeRequested(m_ui->generalFontLabel); } ); connect(m_ui->changeFixedWidthFontButton, &QToolButton::clicked, this, [=] { onFontChangeRequested(m_ui->fixedFontLabel); } ); readSettings(); //icons m_ui->createFontsConfButton->setIcon(QIcon::fromTheme("document-new")); m_ui->removeFontsConfButton->setIcon(QIcon::fromTheme("edit-delete")); } FontsPage::~FontsPage() { delete m_ui; } void FontsPage::writeSettings(QSettings *settings) { settings->beginGroup("Fonts"); settings->setValue("general", m_ui->generalFontLabel->property("value")); settings->setValue("fixed", m_ui->fixedFontLabel->property("value")); settings->endGroup(); } void FontsPage::onFontChangeRequested(QWidget *widget) { bool ok = false; QFont font = QFontDialog::getFont (&ok, widget->font(), this); if(!ok) return; if(font.weight() == QFont::Normal && (font.styleName() == QLatin1String("Regular") || font.styleName() == QLatin1String("Normal") || font.styleName() == QLatin1String("Book") || font.styleName() == QLatin1String("Roman"))) font.setStyleName(QString()); widget->setProperty("value", font.toString()); widget->setFont(font); qobject_cast(widget)->setText(font.family () + " " + QString::number(font.pointSize ())); } void FontsPage::readSettings() { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); settings.beginGroup("Fonts"); loadFont(&settings, m_ui->generalFontLabel, "general"); loadFont(&settings, m_ui->fixedFontLabel, "fixed"); settings.endGroup(); } void FontsPage::loadFont(QSettings *settings, QLabel *label, const QString &key) { QFont font = settings->value(key, key == "fixed" ? QFontDatabase::systemFont(QFontDatabase::FixedFont) : QFontDatabase::systemFont(QFontDatabase::GeneralFont)).value(); label->setText(font.family() + " " + QString::number(font.pointSize())); label->setFont(font); label->setProperty("value", font.toString()); } void FontsPage::on_createFontsConfButton_clicked() { FontConfigDialog d(this); d.exec(); } void FontsPage::on_removeFontsConfButton_clicked() { QString path = QDir::homePath() + "/.config/fontconfig/fonts.conf"; if(QFile::exists(path)) { if(QMessageBox::question(this, tr("Remove Font Configuration"), tr("Are you sure you want to delete %1?").arg(path), QMessageBox::Yes | QMessageBox::No) == QMessageBox::No) { return; } QFile::remove(path + ".back"); QFile::copy(path, path + ".back"); QFile::remove(path); } } qt6ct-0.10/src/qt6ct/fontspage.h000066400000000000000000000037321475047133000164730ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef FONTSPAGE_H #define FONTSPAGE_H #include "tabpage.h" namespace Ui { class FontsPage; } class QLabel; class QSettings; class FontsPage : public TabPage { Q_OBJECT public: explicit FontsPage(QWidget *parent = nullptr); ~FontsPage(); void writeSettings(QSettings *settings) override; private slots: void onFontChangeRequested(QWidget *widget); void on_createFontsConfButton_clicked(); void on_removeFontsConfButton_clicked(); private: void readSettings(); void loadFont(QSettings *settings, QLabel *label, const QString &key); Ui::FontsPage *m_ui; }; #endif // FONTSPAGE_H qt6ct-0.10/src/qt6ct/fontspage.ui000066400000000000000000000100131475047133000166470ustar00rootroot00000000000000 FontsPage 0 0 517 320 Form Qt::Horizontal 342 20 0 0 QFrame::StyledPanel QFrame::Sunken ... 0 0 General: ... 0 0 QFrame::StyledPanel QFrame::Sunken ... ... Fixed width: Qt::Vertical QSizePolicy::Expanding 0 280 Create fonts.conf Remove fonts.conf changeGeneralFontButton changeFixedWidthFontButton createFontsConfButton removeFontsConfButton qt6ct-0.10/src/qt6ct/iconthemepage.cpp000066400000000000000000000212251475047133000176450ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include #include #include #include #ifdef KF_CONFIGCORE_LIB #include #endif #include "qt6ct.h" #include "iconthemepage.h" #include "ui_iconthemepage.h" IconThemePage::IconThemePage(QWidget *parent) : TabPage(parent), m_ui(new Ui::IconThemePage) { m_ui->setupUi(this); m_progressBar = new QProgressBar(m_ui->treeWidget); m_progressBar->resize(200, m_progressBar->height()); m_progressBar->setRange(0, 100); m_thread = QThread::create(&IconThemePage::loadThemes, this); m_thread->setParent(this); connect(m_thread, SIGNAL(finished()), SLOT(onFinished())); m_thread->start(); } IconThemePage::~IconThemePage() { if(m_thread->isRunning()) { m_stopped = true; m_thread->wait(); } delete m_ui; } void IconThemePage::writeSettings(QSettings *settings) { QTreeWidgetItem *item = m_ui->treeWidget->currentItem(); if(item) settings->setValue("Appearance/icon_theme", item->data(3, Qt::UserRole)); } #ifdef KF_CONFIGCORE_LIB void IconThemePage::writeSettings(KSharedConfigPtr config) { QTreeWidgetItem *item = m_ui->treeWidget->currentItem(); if(!item) return; KConfigGroup group(config, "Icons"); group.writeEntry("Theme", item->data(3, Qt::UserRole)); group.sync(); } #endif void IconThemePage::onFinished() { m_ui->treeWidget->addTopLevelItems(m_items); m_ui->treeWidget->resizeColumnToContents(0); m_ui->treeWidget->resizeColumnToContents(1); m_ui->treeWidget->resizeColumnToContents(2); m_ui->treeWidget->resizeColumnToContents(3); m_progressBar->hide(); m_items.clear(); readSettings(); } void IconThemePage::resizeEvent(QResizeEvent *event) { Q_UNUSED(event); m_progressBar->move(m_ui->treeWidget->width() - m_progressBar->width(), m_ui->treeWidget->height() - m_progressBar->height()); } void IconThemePage::readSettings() { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); QString name = settings.value("Appearance/icon_theme").toString(); if(name.isEmpty()) return; for(int i = 0; i < m_ui->treeWidget->topLevelItemCount(); ++i) { QTreeWidgetItem *item = m_ui->treeWidget->topLevelItem(i); if(item->data(3, Qt::UserRole).toString() == name) { m_ui->treeWidget->setCurrentItem(item); break; } } } void IconThemePage::loadThemes() { m_ui->treeWidget->clear(); m_items.clear(); m_stopped = false; QFileInfoList themeFileList; for(const QString &path : Qt6CT::iconPaths()) { QDir dir(path); dir.setFilter(QDir::Dirs | QDir::NoDotDot | QDir::NoDot); for(const QFileInfo &info : dir.entryInfoList()) { QDir themeDir(info.absoluteFilePath()); themeFileList << themeDir.entryInfoList(QStringList() << "index.theme", QDir::Files); } if(m_stopped) return; } int i = 0; for(const QFileInfo &info : themeFileList) { QTreeWidgetItem *item = loadTheme(info.canonicalFilePath()); if(item) m_items << item; if(m_stopped) { qDeleteAll(m_items); m_items.clear(); return; } QMetaObject::invokeMethod(m_progressBar, "setValue", Qt::QueuedConnection, Q_ARG(int, ++i * 100 / themeFileList.count())); } } QTreeWidgetItem *IconThemePage::loadTheme(const QString &path) { QSettings config(path, QSettings::IniFormat); config.beginGroup("Icon Theme"); QStringList dirs = config.value("Directories").toStringList(); if(dirs.isEmpty() || config.value("Hidden", false).toBool()) return nullptr; QString lang = QLocale::system().name(); QString name = config.value(QString("Name[%1]").arg(lang)).toString(); QString comment = config.value(QString("Comment[%1]").arg(lang)).toString(); if(lang.contains("_")) lang = lang.split("_").first(); if(name.isEmpty()) name = config.value(QString("Name[%1]").arg(lang)).toString(); if(comment.isEmpty()) comment = config.value(QString("Comment[%1]").arg(lang)).toString(); if(name.isEmpty()) name = config.value("Name").toString(); if(comment.isEmpty()) comment = config.value("Comment").toString(); config.endGroup(); QIcon icon1 = findIcon(path, 24, "document-save"); QIcon icon2 = findIcon(path, 24, "document-print"); QIcon icon3 = findIcon(path, 24, "media-playback-stop"); QTreeWidgetItem *item = new QTreeWidgetItem(); item->setIcon(0, icon1); item->setIcon(1, icon2); item->setIcon(2, icon3); item->setText(3, name); item->setData(3, Qt::UserRole, QFileInfo(path).path().section("/", -1)); item->setToolTip(3, comment); item->setSizeHint(0, QSize(24,24)); return item; } QIcon IconThemePage::findIcon(const QString &themePath, int size, const QString &name) { QStringList visited; return findIconHelper(themePath, size, name, &visited); } QIcon IconThemePage::findIconHelper(const QString &themePath, int size, const QString &name, QStringList *visited) { QSettings config(themePath, QSettings::IniFormat); config.beginGroup("Icon Theme"); QStringList dirs = config.value("Directories").toStringList(); QStringList parents = config.value("Inherits").toStringList(); visited->append(config.value("Name").toString()); bool haveInherits = !parents.isEmpty(); config.endGroup(); QString iconPath; int iconSize = 0; for(const QString &dir : dirs) { config.beginGroup(dir); QDir iconDir = QFileInfo(themePath).path() + "/" + dir; QString p; if(iconDir.exists(name + ".png")) p = iconDir.absoluteFilePath(name + ".png"); else if(iconDir.exists(name + ".svg")) p = iconDir.absoluteFilePath(name + ".svg"); else { iconDir.setFilter(QDir::Files); iconDir.setNameFilters(QStringList () << name + "-*.*"); if(!iconDir.entryInfoList().isEmpty()) p = iconDir.entryInfoList().constFirst().absoluteFilePath(); } if(p.isEmpty()) continue; if(!iconSize || abs(size - iconSize) > abs(size - config.value("Size").toInt())) { iconSize = config.value("Size").toInt(); iconPath = p; if(iconSize == size) { config.endGroup(); break; } } config.endGroup(); } if(!iconPath.isEmpty()) return QIcon(iconPath); if (!haveInherits) return QIcon(); parents.append("hicolor"); //add fallback themes parents.append("gnome"); parents.removeDuplicates(); for(const QString &parent : parents) { QString parentThemePath = QDir(QFileInfo(themePath).path() + "/../" + parent).canonicalPath() + "/index.theme"; if(!QFile::exists(parentThemePath) || visited->contains(parent)) //protect against recursion continue; QIcon icon = findIconHelper(parentThemePath, size, name, visited); if(!icon.isNull()) return icon; } return QIcon(); } qt6ct-0.10/src/qt6ct/iconthemepage.h000066400000000000000000000047321475047133000173160ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef ICONTHEMEPAGE_H #define ICONTHEMEPAGE_H #include #include #include "tabpage.h" namespace Ui { class IconThemePage; } class QTreeWidgetItem; class QProgressBar; class QThread; class IconThemePage : public TabPage { Q_OBJECT public: explicit IconThemePage(QWidget *parent = nullptr); ~IconThemePage(); void writeSettings(QSettings *settings) override; #ifdef KF_CONFIGCORE_LIB void writeSettings(KSharedConfigPtr config) override; #endif private slots: void onFinished(); private: void resizeEvent(QResizeEvent *event) override; void readSettings(); void loadThemes(); QTreeWidgetItem *loadTheme(const QString &path); QIcon findIcon(const QString &themePath, int size, const QString &name); QIcon findIconHelper(const QString &themePath, int size, const QString &name, QStringList *visited); Ui::IconThemePage *m_ui; QProgressBar *m_progressBar; QThread *m_thread; QList m_items; std::atomic_bool m_stopped = ATOMIC_VAR_INIT(false); }; #endif // ICONTHEMEPAGE_H qt6ct-0.10/src/qt6ct/iconthemepage.ui000066400000000000000000000022201475047133000174720ustar00rootroot00000000000000 IconThemePage 0 0 400 300 Form 4 false 1 2 3 4 qt6ct-0.10/src/qt6ct/interfacepage.cpp000066400000000000000000000166041475047133000176370ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include "qt6ct.h" #include "interfacepage.h" #include "ui_interfacepage.h" InterfacePage::InterfacePage(QWidget *parent) : TabPage(parent), m_ui(new Ui::InterfacePage) { m_ui->setupUi(this); m_ui->buttonLayoutComboBox->addItem("Windows", QDialogButtonBox::WinLayout); m_ui->buttonLayoutComboBox->addItem("Mac OS X", QDialogButtonBox::MacLayout); m_ui->buttonLayoutComboBox->addItem("KDE", QDialogButtonBox::KdeLayout); m_ui->buttonLayoutComboBox->addItem("GNOME", QDialogButtonBox::GnomeLayout); m_ui->keyboardSchemeComboBox->addItem("Windows", QPlatformTheme::WindowsKeyboardScheme); m_ui->keyboardSchemeComboBox->addItem("Mac OS X", QPlatformTheme::MacKeyboardScheme); m_ui->keyboardSchemeComboBox->addItem("X11", QPlatformTheme::X11KeyboardScheme); m_ui->keyboardSchemeComboBox->addItem("KDE", QPlatformTheme::KdeKeyboardScheme); m_ui->keyboardSchemeComboBox->addItem("GNOME", QPlatformTheme::GnomeKeyboardScheme); m_ui->keyboardSchemeComboBox->addItem("CDE", QPlatformTheme::CdeKeyboardScheme); m_ui->toolButtonStyleComboBox->addItem(tr("Only display the icon"), Qt::ToolButtonIconOnly); m_ui->toolButtonStyleComboBox->addItem(tr("Only display the text"), Qt::ToolButtonTextOnly); m_ui->toolButtonStyleComboBox->addItem(tr("The text appears beside the icon"), Qt::ToolButtonTextBesideIcon); m_ui->toolButtonStyleComboBox->addItem(tr("The text appears under the icon"), Qt::ToolButtonTextUnderIcon); m_ui->toolButtonStyleComboBox->addItem(tr("Follow the application style"), Qt::ToolButtonFollowStyle); readSettings(); } InterfacePage::~InterfacePage() { delete m_ui; } void InterfacePage::writeSettings(QSettings *settings) { settings->beginGroup("Interface"); settings->setValue("double_click_interval", m_ui->doubleClickIntervalSpinBox->value()); settings->setValue("cursor_flash_time", m_ui->cursorFlashTimeSpinBox->value()); settings->setValue("buttonbox_layout", m_ui->buttonLayoutComboBox->currentData()); settings->setValue("keyboard_scheme", m_ui->keyboardSchemeComboBox->currentData()); settings->setValue("menus_have_icons", m_ui->menuIconsCheckBox->isChecked()); settings->setValue("show_shortcuts_in_context_menus", m_ui->showShortcutsInMenusCheckBox->isChecked()); settings->setValue("underline_shortcut", m_ui->shortcutUnderlineCheckBox->checkState()); settings->setValue("activate_item_on_single_click", m_ui->singleClickCheckBox->checkState()); settings->setValue("dialog_buttons_have_icons", m_ui->dialogIconsCheckBox->checkState()); settings->setValue("toolbutton_style", m_ui->toolButtonStyleComboBox->currentData()); settings->setValue("wheel_scroll_lines", m_ui->wheelScrollLinesSpinBox->value()); QStringList effects; if(m_ui->guiEffectsCheckBox->isChecked()) effects << "General"; if(m_ui->menuEffectComboBox->currentIndex() == 1) effects << "AnimateMenu"; else if(m_ui->menuEffectComboBox->currentIndex() == 2) effects << "FadeMenu"; if(m_ui->comboBoxEffectComboBox->currentIndex() == 1) effects << "AnimateCombo"; if(m_ui->toolTipEffectComboBox->currentIndex() == 1) effects << "AnimateTooltip"; else if(m_ui->toolTipEffectComboBox->currentIndex() == 2) effects << "FadeTooltip"; if(m_ui->toolBoxEffectComboBox->currentIndex() == 1) effects << "AnimateToolBox"; settings->setValue("gui_effects", effects); settings->endGroup(); } void InterfacePage::readSettings() { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); settings.beginGroup("Interface"); m_ui->doubleClickIntervalSpinBox->setValue(qApp->doubleClickInterval()); m_ui->cursorFlashTimeSpinBox->setValue(qApp->cursorFlashTime()); m_ui->guiEffectsCheckBox->setChecked(qApp->isEffectEnabled(Qt::UI_General)); int layout = settings.value("buttonbox_layout", style()->styleHint(QStyle::SH_DialogButtonLayout)).toInt(); int index = m_ui->buttonLayoutComboBox->findData(layout); if(index >= 0) m_ui->buttonLayoutComboBox->setCurrentIndex(index); int scheme = settings.value("keyboard_scheme", QPlatformTheme::X11KeyboardScheme).toInt(); index = m_ui->keyboardSchemeComboBox->findData(scheme); if(index >= 0) m_ui->keyboardSchemeComboBox->setCurrentIndex(index); if(qApp->isEffectEnabled(Qt::UI_AnimateMenu)) m_ui->menuEffectComboBox->setCurrentIndex(1); else if(qApp->isEffectEnabled(Qt::UI_FadeMenu)) m_ui->menuEffectComboBox->setCurrentIndex(2); if(qApp->isEffectEnabled(Qt::UI_AnimateCombo)) m_ui->comboBoxEffectComboBox->setCurrentIndex(1); if(qApp->isEffectEnabled(Qt::UI_AnimateTooltip)) m_ui->toolTipEffectComboBox->setCurrentIndex(1); else if(qApp->isEffectEnabled(Qt::UI_FadeTooltip)) m_ui->toolTipEffectComboBox->setCurrentIndex(2); if(qApp->isEffectEnabled(Qt::UI_AnimateToolBox)) m_ui->toolBoxEffectComboBox->setCurrentIndex(1); m_ui->singleClickCheckBox->setCheckState(Qt::CheckState(settings.value("activate_item_on_single_click", Qt::PartiallyChecked).toInt())); m_ui->dialogIconsCheckBox->setCheckState(Qt::CheckState(settings.value("dialog_buttons_have_icons", Qt::PartiallyChecked).toInt())); m_ui->shortcutUnderlineCheckBox->setCheckState(Qt::CheckState(settings.value("underline_shortcut", Qt::PartiallyChecked).toInt())); m_ui->menuIconsCheckBox->setChecked(!qApp->testAttribute(Qt::AA_DontShowIconsInMenus)); m_ui->showShortcutsInMenusCheckBox->setChecked(settings.value("show_shortcuts_in_context_menus", true).toBool()); m_ui->showShortcutsInMenusCheckBox->setVisible(false); int toolbarStyle = settings.value("toolbutton_style", Qt::ToolButtonFollowStyle).toInt(); index = m_ui->toolButtonStyleComboBox->findData(toolbarStyle); if(index >= 0) m_ui->toolButtonStyleComboBox->setCurrentIndex(index); m_ui->wheelScrollLinesSpinBox->setValue(settings.value("wheel_scroll_lines", 3).toInt()); settings.endGroup(); } qt6ct-0.10/src/qt6ct/interfacepage.h000066400000000000000000000033651475047133000173040ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef INTERFACEPAGE_H #define INTERFACEPAGE_H #include "tabpage.h" namespace Ui { class InterfacePage; } class InterfacePage : public TabPage { Q_OBJECT public: explicit InterfacePage(QWidget *parent = nullptr); ~InterfacePage(); void writeSettings(QSettings *settings) override; private: void readSettings(); Ui::InterfacePage *m_ui; }; #endif // INTERFACEPAGE_H qt6ct-0.10/src/qt6ct/interfacepage.ui000066400000000000000000000234241475047133000174700ustar00rootroot00000000000000 InterfacePage 0 0 500 546 Form Qt::Vertical 20 259 Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms 2000 ms 4000 false Disable Animate false Disable Animate Fade false Disable Animate Menu effect: false Disable Animate Fade Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons true Activate item on single-click true Toolbar button style: Mouse wheel scroll lines: 1 20 Show shortcut underlines true Show shortcuts in context menus Qt::Horizontal 238 20 doubleClickIntervalSpinBox cursorFlashTimeSpinBox singleClickCheckBox guiEffectsCheckBox menuEffectComboBox comboBoxEffectComboBox toolTipEffectComboBox toolBoxEffectComboBox buttonLayoutComboBox dialogIconsCheckBox menuIconsCheckBox shortcutUnderlineCheckBox toolButtonStyleComboBox wheelScrollLinesSpinBox guiEffectsCheckBox toggled(bool) menuEffectComboBox setEnabled(bool) 126 86 201 114 guiEffectsCheckBox toggled(bool) comboBoxEffectComboBox setEnabled(bool) 75 84 160 153 guiEffectsCheckBox toggled(bool) toolTipEffectComboBox setEnabled(bool) 54 84 155 184 guiEffectsCheckBox toggled(bool) toolBoxEffectComboBox setEnabled(bool) 36 91 156 216 qt6ct-0.10/src/qt6ct/main.cpp000066400000000000000000000045351475047133000157660ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include #include #include "qt6ct.h" #include "mainwindow.h" int main(int argc, char **argv) { QApplication app(argc, argv); QGuiApplication::setDesktopFileName(QStringLiteral("qt6ct")); QTranslator translator; if(translator.load(QLocale(), QStringLiteral("qt6ct"), QStringLiteral("_"), QStringLiteral(":/"))) QCoreApplication::installTranslator(&translator); QTranslator qt_translator; if(qt_translator.load(QLocale(), QStringLiteral("qtbase"), QStringLiteral("_"), QLibraryInfo::path(QLibraryInfo::TranslationsPath))) app.installTranslator(&qt_translator); Qt6CT::initConfig(); qDebug() << "Configuration path:" << Qt6CT::configPath(); qDebug() << "Shared QSS paths:" << Qt6CT::sharedStyleSheetPaths(); qDebug() << "Shared color scheme paths:" << Qt6CT::sharedColorSchemePaths(); MainWindow w; w.show(); return app.exec(); } qt6ct-0.10/src/qt6ct/mainwindow.cpp000066400000000000000000000126331475047133000172140ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include #include #include #include "qt6ct.h" #include "mainwindow.h" #include "appearancepage.h" #include "fontspage.h" #include "iconthemepage.h" #include "interfacepage.h" #include "qsspage.h" #include "troubleshootingpage.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QWidget(parent), m_ui(new Ui::MainWindow) { m_ui->setupUi(this); m_ui->tabWidget->addTab(new AppearancePage(this), tr("Appearance")); m_ui->tabWidget->addTab(new FontsPage(this), tr("Fonts")); m_ui->tabWidget->addTab(new IconThemePage(this), tr("Icon Theme")); m_ui->tabWidget->addTab(new InterfacePage(this), tr("Interface")); #ifdef USE_WIDGETS m_ui->tabWidget->addTab(new QSSPage(this), tr("Style Sheets")); #endif m_ui->tabWidget->addTab(new TroubleshootingPage(this), tr("Troubleshooting")); QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); restoreGeometry(settings.value("SettingsWindow/geometry").toByteArray()); setWindowIcon(QIcon::fromTheme("preferences-desktop-theme")); m_ui->versionLabel->setText(tr("Version: %1").arg(QT6CT_VERSION_STR)); m_ui->warningIconLabel->setPixmap(qApp->style()->standardIcon(QStyle::SP_MessageBoxWarning).pixmap(16, 16)); checkConfiguration(); m_ui->warningFrame->setVisible(!m_errors.isEmpty()); } MainWindow::~MainWindow() { delete m_ui; } void MainWindow::showEvent(QShowEvent *) { m_ui->tabWidget->setFocus(); } void MainWindow::closeEvent(QCloseEvent *) { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); settings.setValue("SettingsWindow/geometry", saveGeometry()); } void MainWindow::on_buttonBox_clicked(QAbstractButton *button) { int id = m_ui->buttonBox->standardButton(button); if(id == QDialogButtonBox::Ok || id == QDialogButtonBox::Apply) { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); #ifdef KF_CONFIGCORE_LIB KSharedConfigPtr config = KSharedConfig::openConfig("kdeglobals"); #endif for(int i = 0; i < m_ui->tabWidget->count(); ++i) { TabPage *p = qobject_cast(m_ui->tabWidget->widget(i)); if(p) { p->writeSettings(&settings); #ifdef KF_CONFIGCORE_LIB p->writeSettings(config); #endif } } } if(id == QDialogButtonBox::Ok || id == QDialogButtonBox::Cancel) { close(); qApp->quit(); } } void MainWindow::on_infoButton_clicked() { QMessageBox::warning(this, tr("Warning"), m_errors.join("

")); } void MainWindow::checkConfiguration() { QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); if(env.contains("QT_STYLE_OVERRIDE")) { m_errors << tr("Please remove the QT_STYLE_OVERRIDE environment variable (current value: %1).") .arg(env.value("QT_STYLE_OVERRIDE")); } if(!env.contains("QT_QPA_PLATFORMTHEME")) { m_errors << tr("The QT_QPA_PLATFORMTHEME environment variable is not set (required values: qt6ct or qt5ct)."); } else if(env.value("QT_QPA_PLATFORMTHEME") != QStringLiteral("qt6ct") && env.value("QT_QPA_PLATFORMTHEME") != QStringLiteral("qt5ct")) { m_errors << tr("The QT_QPA_PLATFORMTHEME environment variable is not set correctly " "(current value: %1, required values: qt6ct or qt5ct).") .arg(env.value("QT_QPA_PLATFORMTHEME")); } if(!QStyleFactory::keys().contains("qt6ct-style")) { m_errors << tr("Unable to find libqt6ct-style.so"); } QVersionNumber v = QLibraryInfo::version(); if(v.majorVersion() != QT_VERSION_MAJOR || v.minorVersion() != QT_VERSION_MINOR) { m_errors << tr("The %1 plugin is compiled against incompatible Qt version (%2).").arg("libqt6ct.so", QT_VERSION_STR); } } qt6ct-0.10/src/qt6ct/mainwindow.h000066400000000000000000000036651475047133000166660ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include class QAbstractButton; namespace Ui { class MainWindow; } class MainWindow : public QWidget { Q_OBJECT public: explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); private slots: void on_buttonBox_clicked(QAbstractButton *button); void on_infoButton_clicked(); private: void showEvent(QShowEvent *) override; void closeEvent(QCloseEvent *) override; void checkConfiguration(); Ui::MainWindow *m_ui; QStringList m_errors; }; #endif // MAINWINDOW_H qt6ct-0.10/src/qt6ct/mainwindow.ui000066400000000000000000000060071475047133000170450ustar00rootroot00000000000000 MainWindow 0 0 735 549 Qt6 Configuration Tool 6 6 6 6 QFrame::StyledPanel QFrame::Raised ... 0 0 The application is not configured correctly. Information Hide Qt::StrongFocus ... QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok hideButton clicked() warningFrame hide() 691 32 723 47 qt6ct-0.10/src/qt6ct/paletteeditdialog.cpp000066400000000000000000000140151475047133000205200ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include "qt6ct.h" #include "paletteeditdialog.h" #include "ui_paletteeditdialog.h" PaletteEditDialog::PaletteEditDialog(const QPalette &palette, QStyle *currentStyle, QWidget *parent) : QDialog(parent), m_ui(new Ui::PaletteEditDialog) { m_currentStyle = currentStyle; m_ui->setupUi(this); m_ui->tableWidget->setColumnCount(3); m_ui->tableWidget->setRowCount(QPalette::NColorRoles); m_ui->tableWidget->verticalHeader()->setDefaultSectionSize(fontMetrics().lineSpacing() + 10); m_ui->tableWidget->verticalHeader()->setSectionResizeMode(QHeaderView::Fixed); m_ui->tableWidget->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch); QStringList labels = { tr("Active"), tr("Inactive"), tr("Disabled") }; m_ui->tableWidget->setHorizontalHeaderLabels(labels); setPalette(palette); QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); restoreGeometry(settings.value("PaletteEditor/geometry").toByteArray()); } PaletteEditDialog::~PaletteEditDialog() { delete m_ui; } QPalette PaletteEditDialog::selectedPalette() const { QPalette palette; for(int i = 0; i < QPalette::NColorRoles; i++) { palette.setBrush(QPalette::Active, QPalette::ColorRole(i), m_ui->tableWidget->item(i,0)->background()); palette.setBrush(QPalette::Inactive, QPalette::ColorRole(i), m_ui->tableWidget->item(i,1)->background()); palette.setBrush(QPalette::Disabled, QPalette::ColorRole(i), m_ui->tableWidget->item(i,2)->background()); } return palette; } void PaletteEditDialog::setPalette(const QPalette &palette) { for(int i = 0; i < QPalette::NColorRoles; i++) { if(!m_ui->tableWidget->item(i,0)) m_ui->tableWidget->setItem(i, 0, new QTableWidgetItem()); if(!m_ui->tableWidget->item(i,1)) m_ui->tableWidget->setItem(i, 1, new QTableWidgetItem()); if(!m_ui->tableWidget->item(i,2)) m_ui->tableWidget->setItem(i, 2, new QTableWidgetItem()); m_ui->tableWidget->item(i,0)->setBackground(palette.color(QPalette::Active, QPalette::ColorRole(i))); m_ui->tableWidget->item(i,1)->setBackground(palette.color(QPalette::Inactive, QPalette::ColorRole(i))); m_ui->tableWidget->item(i,2)->setBackground(palette.color(QPalette::Disabled, QPalette::ColorRole(i))); } QStringList labels = { tr("Window text"), tr("Button background"), tr("Bright"), tr("Less bright"), tr("Dark"), tr("Less dark"), tr("Normal text"), tr("Bright text"), tr("Button text"), tr("Normal background"), tr("Window"), tr("Shadow"), tr("Highlight"), tr("Highlighted text") , tr("Link") , tr("Visited link"), tr("Alternate background"), tr("Default"), tr("Tooltip background") , tr("Tooltip text"), tr("Placeholder text") }; #if (QT_VERSION >= QT_VERSION_CHECK(6,6,0)) labels << tr("Accent"); #endif m_ui->tableWidget->setVerticalHeaderLabels(labels); } void PaletteEditDialog::hideEvent(QHideEvent *) { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); settings.setValue("PaletteEditor/geometry", saveGeometry()); } void PaletteEditDialog::on_tableWidget_itemClicked(QTableWidgetItem *item) { QColor color = QColorDialog::getColor(item->background().color(), this, tr("Select Color"), QColorDialog::ShowAlphaChannel); if(color.isValid()) { item->setBackground(color); emit paletteChanged(selectedPalette()); } } void PaletteEditDialog::on_resetPaletteButton_clicked() { setPalette(m_currentStyle->standardPalette()); emit paletteChanged(selectedPalette()); } void PaletteEditDialog::on_buildInactiveButton_clicked() { QPalette palette = selectedPalette(); for(int i = 0; i < QPalette::NColorRoles; i++) { palette.setColor(QPalette::Inactive, QPalette::ColorRole(i), palette.color(QPalette::Active, QPalette::ColorRole(i))); } setPalette(palette); emit paletteChanged(selectedPalette()); } void PaletteEditDialog::on_buildDisabledButton_clicked() { QPalette palette = selectedPalette(); for(int i = 0; i < QPalette::NColorRoles; i++) { palette.setColor(QPalette::Disabled, QPalette::ColorRole(i), palette.color(QPalette::Active, QPalette::ColorRole(i))); } palette.setColor(QPalette::Disabled, QPalette::ButtonText, Qt::darkGray); palette.setColor(QPalette::Disabled, QPalette::WindowText, Qt::darkGray); palette.setColor(QPalette::Disabled, QPalette::Text, Qt::darkGray); palette.setColor(QPalette::Disabled, QPalette::HighlightedText, Qt::darkGray); setPalette(palette); emit paletteChanged(selectedPalette()); } qt6ct-0.10/src/qt6ct/paletteeditdialog.h000066400000000000000000000043131475047133000201650ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef PALETTEEDITDIALOG_H #define PALETTEEDITDIALOG_H #include #include class QTableWidgetItem; class QStyle; namespace Ui { class PaletteEditDialog; } class PaletteEditDialog : public QDialog { Q_OBJECT public: explicit PaletteEditDialog(const QPalette &palette, QStyle *currentStyle, QWidget *parent = nullptr); ~PaletteEditDialog(); QPalette selectedPalette() const; signals: void paletteChanged(const QPalette &p); private slots: void on_tableWidget_itemClicked(QTableWidgetItem *item); void on_resetPaletteButton_clicked(); void on_buildInactiveButton_clicked(); void on_buildDisabledButton_clicked(); private: void setPalette(const QPalette &palette); void hideEvent(QHideEvent *) override; Ui::PaletteEditDialog *m_ui; QStyle *m_currentStyle; }; #endif // PALETTEEDITDIALOG_H qt6ct-0.10/src/qt6ct/paletteeditdialog.ui000066400000000000000000000062371475047133000203620ustar00rootroot00000000000000 PaletteEditDialog 0 0 631 529 Palette Editor 6 6 6 Build inactive palette Build disabled palette Qt::Horizontal 117 20 Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok QAbstractItemView::NoEditTriggers QAbstractItemView::NoSelection 0 Reset palette tableWidget buildInactiveButton buildDisabledButton resetPaletteButton buttonBox buttonBox accepted() PaletteEditDialog accept() 248 254 157 274 buttonBox rejected() PaletteEditDialog reject() 316 260 286 274 qt6ct-0.10/src/qt6ct/previewform.ui000066400000000000000000000051621475047133000172370ustar00rootroot00000000000000 PreviewForm 0 0 281 130 Preview Window Qt::NoFocus 0 Tab 1 Qt::NoFocus PushButton 24 Qt::NoFocus Qt::NoFocus Tab 2 Qt::NoFocus RadioButton Qt::NoFocus CheckBox qt6ct-0.10/src/qt6ct/qsseditordialog.cpp000066400000000000000000000056411475047133000202360ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include "qt6ct.h" #include "qsseditordialog.h" #include "ui_qsseditordialog.h" QSSEditorDialog::QSSEditorDialog(const QString &filePath, QWidget *parent) : QDialog(parent), m_ui(new Ui::QSSEditorDialog) { m_ui->setupUi(this); m_filePath = filePath; QFile file(filePath); file.open(QIODevice::ReadOnly); m_ui->textEdit->setPlainText(QString::fromUtf8(file.readAll())); setWindowTitle(tr("%1 - Style Sheet Editor").arg(file.fileName())); QFileInfo info(filePath); if(!info.isWritable()) { m_ui->buttonBox->setStandardButtons(QDialogButtonBox::Close); m_ui->textEdit->setReadOnly(true); } QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); restoreGeometry(settings.value("QSSEditor/geometry").toByteArray()); } QSSEditorDialog::~QSSEditorDialog() { delete m_ui; } void QSSEditorDialog::save() { QFile file(m_filePath); file.open(QIODevice::WriteOnly); file.write(m_ui->textEdit->toPlainText().toUtf8()); } void QSSEditorDialog::hideEvent(QHideEvent *) { QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); settings.setValue("QSSEditor/geometry", saveGeometry()); } void QSSEditorDialog::on_buttonBox_clicked(QAbstractButton *button) { QDialogButtonBox::StandardButton id = m_ui->buttonBox->standardButton(button); if(id == QDialogButtonBox::Ok) { save(); accept(); } else if(id == QDialogButtonBox::Save) { save(); } else { reject(); } } qt6ct-0.10/src/qt6ct/qsseditordialog.h000066400000000000000000000036221475047133000177000ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef QSSEDITORDIALOG_H #define QSSEDITORDIALOG_H #include #include namespace Ui { class QSSEditorDialog; } class QAbstractButton; class QSSEditorDialog : public QDialog { Q_OBJECT public: explicit QSSEditorDialog(const QString &filePath, QWidget *parent = nullptr); ~QSSEditorDialog(); private slots: void on_buttonBox_clicked(QAbstractButton *button); private: void save(); void hideEvent(QHideEvent *) override; Ui::QSSEditorDialog *m_ui; QString m_filePath; }; #endif // QSSEDITORDIALOG_H qt6ct-0.10/src/qt6ct/qsseditordialog.ui000066400000000000000000000022171475047133000200650ustar00rootroot00000000000000 QSSEditorDialog 0 0 643 499 Style Sheet Editor 6 6 6 false Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Save qt6ct-0.10/src/qt6ct/qsspage.cpp000066400000000000000000000220231475047133000164750ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include #include #include #include #include "qt6ct.h" #include "qsseditordialog.h" #include "qsspage.h" #include "ui_qsspage.h" #define QSS_FULL_PATH_ROLE (Qt::ItemDataRole(Qt::UserRole)) #define QSS_WRITABLE_ROLE (Qt::ItemDataRole(Qt::UserRole + 1)) QSSPage::QSSPage(QWidget *parent) : TabPage(parent), m_ui(new Ui::QSSPage) { m_ui->setupUi(this); QDir("/").mkpath(Qt6CT::userStyleSheetPath()); m_menu = new QMenu(this); m_menu->addAction(QIcon::fromTheme("accessories-text-editor"), tr("Edit"), this, SLOT(on_editButton_clicked())); m_menu->addAction(QIcon::fromTheme("edit-copy"), tr("Create a Copy"), this, SLOT(copyStyleSheet())); m_menu->addAction(tr("Rename"), this, SLOT(on_renameButton_clicked())); m_menu->addSeparator(); m_menu->addAction(QIcon::fromTheme("edit-delete"), tr("Remove"), this, SLOT(on_removeButton_clicked())); readSettings(); //icons m_ui->createButton->setIcon(QIcon::fromTheme("document-new")); m_ui->editButton->setIcon(QIcon::fromTheme("accessories-text-editor")); m_ui->removeButton->setIcon(QIcon::fromTheme("edit-delete")); } QSSPage::~QSSPage() { delete m_ui; } void QSSPage::writeSettings(QSettings *settings) { QStringList styleSheets; for(int i = 0; i < m_ui->qssListWidget->count(); ++i) { QListWidgetItem *item = m_ui->qssListWidget->item(i); if(item->checkState() == Qt::Checked) styleSheets << item->data(QSS_FULL_PATH_ROLE).toString(); } settings->setValue("Interface/stylesheets", styleSheets); } void QSSPage::on_qssListWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *) { m_ui->editButton->setText(tr("Edit")); if(current) { m_ui->editButton->setEnabled(true); if(!current->data(QSS_WRITABLE_ROLE).toBool()) m_ui->editButton->setText(tr("View")); m_ui->removeButton->setEnabled(current->data(QSS_WRITABLE_ROLE).toBool()); m_ui->renameButton->setEnabled(current->data(QSS_WRITABLE_ROLE).toBool()); } else { m_ui->editButton->setEnabled(false); m_ui->removeButton->setEnabled(false); m_ui->renameButton->setEnabled(false); } } void QSSPage::on_createButton_clicked() { QString name = QInputDialog::getText(this, tr("Enter Style Sheet Name"), tr("File name:")); if(name.isEmpty()) return; if(!name.endsWith(".qss", Qt::CaseInsensitive)) name.append(".qss"); QString filePath = Qt6CT::userStyleSheetPath() + QLatin1String("/") + name; if(QFile::exists(filePath)) { QMessageBox::warning(this, tr("Error"), tr("The file \"%1\" already exists").arg(filePath)); return; } //creating empty file QFile file(filePath); file.open(QIODevice::WriteOnly); file.close(); //creating item QFileInfo info(filePath); QListWidgetItem *item = new QListWidgetItem(info.fileName(), m_ui->qssListWidget); item->setToolTip(info.filePath()); item->setData(QSS_FULL_PATH_ROLE, info.filePath()); item->setData(QSS_WRITABLE_ROLE, info.isWritable()); item->setCheckState(Qt::Unchecked); } void QSSPage::on_editButton_clicked() { QListWidgetItem *item = m_ui->qssListWidget->currentItem(); if(item) { QSSEditorDialog dialog(item->data(QSS_FULL_PATH_ROLE).toString(), this); dialog.exec(); } } void QSSPage::on_removeButton_clicked() { QListWidgetItem *item = m_ui->qssListWidget->currentItem(); if(!item) return; int button = QMessageBox::question(this, tr("Confirm Remove"), tr("Are you sure you want to remove style sheet \"%1\"?") .arg(item->text()), QMessageBox::Yes | QMessageBox::No); if(button == QMessageBox::Yes) { QFile::remove(item->data(QSS_FULL_PATH_ROLE).toString()); delete item; } } void QSSPage::readSettings() { //load stylesheets m_ui->qssListWidget->clear(); findStyleSheets(Qt6CT::userStyleSheetPath()); findStyleSheets(Qt6CT::sharedStyleSheetPaths()); QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); QStringList styleSheets = settings.value("Interface/stylesheets").toStringList(); for(int i = 0; i < m_ui->qssListWidget->count(); ++i) { QListWidgetItem *item = m_ui->qssListWidget->item(i); if(styleSheets.contains(item->data(QSS_FULL_PATH_ROLE).toString())) item->setCheckState(Qt::Checked); else item->setCheckState(Qt::Unchecked); } } void QSSPage::findStyleSheets(const QString &path) { QDir dir(path); dir.setFilter(QDir::Files); dir.setNameFilters(QStringList() << "*.qss"); for(const QFileInfo &info : dir.entryInfoList()) { QListWidgetItem *item = new QListWidgetItem(info.fileName(), m_ui->qssListWidget); item->setToolTip(info.filePath()); item->setData(QSS_FULL_PATH_ROLE, info.filePath()); item->setData(QSS_WRITABLE_ROLE, info.isWritable()); } } void QSSPage::findStyleSheets(const QStringList &paths) { for(const QString &p : paths) findStyleSheets(p); } void QSSPage::on_renameButton_clicked() { QListWidgetItem *item = m_ui->qssListWidget->currentItem(); if(!item) return; QString name = QInputDialog::getText(this, tr("Rename Style Sheet"), tr("Style sheet name:"), QLineEdit::Normal, item->text(), nullptr); if(name.isEmpty()) return; if(!name.endsWith(".qss", Qt::CaseInsensitive)) name.append(".qss"); if(!m_ui->qssListWidget->findItems(name, Qt::MatchExactly).isEmpty()) { QMessageBox::warning(this, tr("Error"), tr("The style sheet \"%1\" already exists").arg(name)); return; } QString newPath = Qt6CT::userStyleSheetPath() + QLatin1String("/") + name; if(!QFile::rename(item->data(QSS_FULL_PATH_ROLE).toString(), newPath)) { QMessageBox::warning(this, tr("Error"), tr("Unable to rename file")); return; } item->setText(name); item->setData(QSS_FULL_PATH_ROLE, newPath); item->setToolTip(newPath); } void QSSPage::on_qssListWidget_customContextMenuRequested(const QPoint &pos) { QListWidgetItem *item = m_ui->qssListWidget->currentItem(); if(item && item->data(QSS_WRITABLE_ROLE).toBool()) { m_menu->exec(m_ui->qssListWidget->viewport()->mapToGlobal(pos)); } } void QSSPage::copyStyleSheet() { QListWidgetItem *item = m_ui->qssListWidget->currentItem(); if(!item) return; QString name = QInputDialog::getText(this, tr("Enter Style Sheet Name"), tr("File name:"), QLineEdit::Normal, tr("%1 (copy).qss").arg(item->text().section('.',0,0))); if(name.isEmpty()) return; if(!name.endsWith(".qss", Qt::CaseInsensitive)) name.append(".qss"); if(!m_ui->qssListWidget->findItems(name, Qt::MatchExactly).isEmpty()) { QMessageBox::warning(this, tr("Error"), tr("The style sheet \"%1\" already exists").arg(name)); return; } QString newPath = Qt6CT::userStyleSheetPath() + QLatin1String("/") + name; if(!QFile::copy(item->data(QSS_FULL_PATH_ROLE).toString(), newPath)) { QMessageBox::warning(this, tr("Error"), tr("Unable to copy file")); return; } QListWidgetItem *newItem = new QListWidgetItem(m_ui->qssListWidget); newItem->setText(name); newItem->setData(QSS_FULL_PATH_ROLE, newPath); newItem->setData(QSS_WRITABLE_ROLE, true); newItem->setToolTip(newPath); newItem->setCheckState(Qt::Unchecked); } qt6ct-0.10/src/qt6ct/qsspage.h000066400000000000000000000042741475047133000161520ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef QSSPAGE_H #define QSSPAGE_H #include "tabpage.h" namespace Ui { class QSSPage; } class QListWidgetItem; class QMenu; class QSSPage : public TabPage { Q_OBJECT public: explicit QSSPage(QWidget *parent = nullptr); ~QSSPage(); void writeSettings(QSettings *settings) override; private slots: void on_qssListWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *); void on_createButton_clicked(); void on_editButton_clicked(); void on_removeButton_clicked(); void on_renameButton_clicked(); void on_qssListWidget_customContextMenuRequested(const QPoint &pos); void copyStyleSheet(); private: void readSettings(); void findStyleSheets(const QString &path); void findStyleSheets(const QStringList &paths); Ui::QSSPage *m_ui; QMenu *m_menu; }; #endif // QSSPAGE_H qt6ct-0.10/src/qt6ct/qsspage.ui000066400000000000000000000043701475047133000163350ustar00rootroot00000000000000 QSSPage 0 0 483 320 Style Sheet Editor true Create false Remove Qt::Horizontal 189 20 Qt::CustomContextMenu true false Edit false Rename qssListWidget createButton editButton renameButton removeButton qt6ct-0.10/src/qt6ct/qt6ct.desktop000066400000000000000000000035221475047133000167650ustar00rootroot00000000000000[Desktop Entry] X-Desktop-File-Install-Version=0.11 Name=Qt6 Settings Comment=Qt6 Configuration Tool Comment[ar]= أداة اعداد Qt6 Name[ar]=إعدادات Qt6 Comment[bg]=Инструмент за настройка на Qt6 Name[bg]=Настройки на Qt6 Comment[ca]=Eina de configuració de Qt6 Name[ca]=Configuració de Qt6 Comment[cs]=Nástroj na nastavení Qt6 Name[cs]=Nastavení Qt6 Comment[da]=Qt6-konfigurationsværktøj Name[da]=Qt6-indstillinger Comment[de]=Qt6-Konfigurationswerkzeug Name[de]=Qt6-Einstellungen Comment[el]=Εργαλείο διαμόρφωσης της Qt6 Name[el]=Ρυθμίσεις Qt6 Comment[es]=Herramienta de configuración de Qt6 Name[es]=Ajustes de Qt6 Comment[es_ES]=Herramienta de configuración de Qt6 Name[es_ES]=Ajustes Qt6 Name[fi]=Qt6 asetukset Comment[fr]=Un outil de configuration de Qt6 Name[fr]=Paramètres de Qt6 Comment[he]=כלי תצורה Qt6 Name[he]=הגדרות Qt6 Comment[ru]=Программа для настройки Qt6 Name[ru]=Настройки Qt6 Comment[it_IT]=Strumento di configurazione Qt6 Name[it_IT]=Impostazioni Qt6 Name[ja]=Qt6 の設定 Comment[ja]=Qt6 設定ツール Comment[nl_NL]=Qt6-instellingen Name[nl_NL]=Qt6-instellingen Comment[pl]=Narzędzie konfiguracji Qt6 Name[pl]=Ustawienia Qt6 Comment[sk]=Qt6 konfiguračný nástroj Name[sk]=Qt6 nastavenia Comment[sr]=Qt6 конфигурациони алат Name[sr]=Qt6 поставке Comment[tr]=Qt6 Yapılandırma Aracı Name[tr]=Qt6 Ayarları Name[uk]=Параметри Qt6 Comment[uk]=Засіб налаштування Qt6 Comment[zh_CN]=Qt6 配置工具 Name[zh_CN]=Qt6 设置 Comment[zh_TW]=Qt6 設定工具 Name[zh_TW]=Qt6 設定 Exec=qt6ct Icon=preferences-desktop-theme Terminal=false Type=Application Categories=Settings;DesktopSettings;Qt; Keywords=settings;desktop;qt;qtsettings;qt6; qt6ct-0.10/src/qt6ct/qt6ct.pro000066400000000000000000000021061475047133000161110ustar00rootroot00000000000000include(../../qt6ct.pri) TEMPLATE = app QT += widgets gui-private SOURCES += \ main.cpp \ mainwindow.cpp \ tabpage.cpp \ appearancepage.cpp \ fontspage.cpp \ paletteeditdialog.cpp \ iconthemepage.cpp \ interfacepage.cpp \ fontconfigdialog.cpp \ qsspage.cpp \ qsseditordialog.cpp \ troubleshootingpage.cpp FORMS += \ mainwindow.ui \ appearancepage.ui \ fontspage.ui \ paletteeditdialog.ui \ iconthemepage.ui \ interfacepage.ui \ fontconfigdialog.ui \ previewform.ui \ qsspage.ui \ qsseditordialog.ui \ troubleshootingpage.ui HEADERS += \ mainwindow.h \ tabpage.h \ appearancepage.h \ fontspage.h \ paletteeditdialog.h \ iconthemepage.h \ interfacepage.h \ fontconfigdialog.h \ qsspage.h \ qsseditordialog.h \ troubleshootingpage.h !equals (DISABLE_WIDGETS,1) { DEFINES += USE_WIDGETS } RESOURCES = translations/translations.qrc target.path = $$BINDIR desktop.files = qt6ct.desktop desktop.path = $$DATADIR/applications INSTALLS += target desktop qt6ct-0.10/src/qt6ct/tabpage.cpp000066400000000000000000000026651475047133000164470ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "tabpage.h" TabPage::TabPage(QWidget *parent) : QWidget(parent) { } qt6ct-0.10/src/qt6ct/tabpage.h000066400000000000000000000034751475047133000161140ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * Copyright (c) 2025, Ilya Fedin * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef TABPAGE_H #define TABPAGE_H #include #include #ifdef KF_CONFIGCORE_LIB #include #endif class TabPage : public QWidget { Q_OBJECT public: explicit TabPage(QWidget *parent = nullptr); virtual void writeSettings(QSettings *settings) = 0; #ifdef KF_CONFIGCORE_LIB virtual void writeSettings(KSharedConfigPtr config) {} #endif }; #endif // TABPAGE_H qt6ct-0.10/src/qt6ct/translations/000077500000000000000000000000001475047133000170505ustar00rootroot00000000000000qt6ct-0.10/src/qt6ct/translations/qt6ct_ar.ts000066400000000000000000001004601475047133000211440ustar00rootroot00000000000000 AppearancePage Style: أسلوب: Preview مشاهدة Active palette اللوحة النشطة Inactive palette اللوحة الغير نشطة Disabled palette اللوحة الغير مفعلة Palette لوحة الالوان Default افتراضي Custom تخصيص Color scheme: نظام الألوان: ... ... Standard dialogs: Create إنشاء Edit تحرير Create a Copy انشئ نسخة Rename اعد التسمية Remove حذف Enter Color Scheme Name ادخل إسما لنظام الالوان File name: اسم الملف Error خطأ The color scheme "%1" already exists نظام الالوان "%1" موجود أصلا Warning تحذير The color scheme "%1" is read only نظام الالوان "%1" للقراءة فقط Confirm Remove تأكيد الحذف Are you sure you want to remove color scheme "%1"? هل أنت متأكد أنك تريد إزالة نظام الألوان "%1"؟ %1 (copy) %1 (نسخة) Unable to copy file FontConfigDialog Font Configuration تكوين الخط Disable automatic hinting for bold fonts تعطيل تلقائي لتلمسحات الخطوط العريضة LCD filter: مرشح ال سي دي: Automatic hinting تلميح تلقائي Hinting تلميح Font resolution: ابعاد الخط: dpi dpi Subpixel geometry: هندسة البكسل الفرعي: Antialiasing تنعيم الحواف Hinting style: أسلوب التلميح None لا شيئ Slight طفيف Medium متوسط Full كامل <i>%1</i> already exists. Do you want to replace it? <i>%1</i> موجود بالفعل. هل تريد استبداله؟ FontsPage ... ... General: عام: Fixed width: عرض ثابت: Create fonts.conf انشاء fonts.conf Remove fonts.conf حذف fonts.conf Remove Font Configuration حذف اعدادات الخط Are you sure you want to delete <i>%1</i>? هل انت متأكد من حذف <i>%1</i>؟ InterfacePage Double click interval: فترة النقر المزدوج: Cursor flash time: زمن وميض المؤشر: ComboBox effect: تأثير صندوق التحرير: ToolTip effect: تأثير التلميح: ToolBox effect: تأثير مربع الأدوات: ms م ث Disable تعطيل Animate تحريك Fade تلاشي Menu effect: تأثير القائمة: Enable gui effects تمكين تأثيرات واجهة المستخدم الرسومية Dialog buttons layout: تخطيط أزرار الحوار : Keyboard scheme: Menus have icons ايقونات القوائم Dialog buttons have icons ايقونات ازرار الحوار Activate item on single-click تفعيل العنصر بنقرة واحدة Toolbar button style: نمط زر شريط الأدوات: Mouse wheel scroll lines: خطوط التمرير لعجلة الماوس : Show shortcut underlines Show shortcuts in context menus Only display the icon عرض الرمز فقط Only display the text عرض النص فقط The text appears beside the icon اظهر النص بجوار الرمز The text appears under the icon اظهر النص أسفل الرمز Follow the application style اتبع نمط التطبيق MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance المظهر Fonts الخطوط Icon Theme سمة الايقونات Interface الواجهة Style Sheets انماط الاوراق Troubleshooting Version: %1 النسخة: %1 Warning تحذير Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor محرر لوحة الالوان Reset palette اعادة تعيين لوحة الالوان Build inactive palette توليد لوحة الالوان الغير نشطة Build disabled palette توليد لوحة الالوان الغير مفعلة Active نشط Inactive غير نشط Disabled غير مفعل Dark داكن Window text نص النافذة Button background خلفية الزر Bright مشرق Less bright أقل سطوعا Less dark أقل دكانة Window النافذة Shadow الظل Bright text نص المشرق Button text مص الزر Normal text نص عادي Normal background خلفية عادية Highlight التحويم Highlighted text نص التحويم Visited link ربط تمت زيارته Default افتراضي Tooltip background خلفية التلميح Tooltip text نص التلميح Link الرابط Alternate background خلفية بديلة Placeholder text Accent Select Color حدد لونا PreviewForm Preview Window معاينة النافذة Tab 1 لسان 1 PushButton زر Tab 2 لسان 2 RadioButton زر الاختيار CheckBox زر التحديد QSSEditorDialog %1 - Style Sheet Editor %1 - محرر انماط الاوراق Style Sheet Editor محرر انماط الاوراق QSSPage Create أنشىء Edit حرر Rename اعد التسمية Remove حذف Create a Copy انشئ نسخة View File name: اسم الملف Enter Style Sheet Name ادخل اسما لنمط الورقة Error خطأ The file "%1" already exists هذا الملف "%1" موجود اصلا Confirm Remove تأكيد الحذف Are you sure you want to remove style sheet "%1"? هل أنت متأكد أنك تريد إزالة نمط الورقة "%1"؟ Rename Style Sheet خذف نمط الورقة Style sheet name: اسم نمط الورقة: The style sheet "%1" already exists نمط الورقة "%1" موجود أصلا Unable to rename file غير قادر على إعادة تسمية الملف %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove حذف Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_bg.ts000066400000000000000000001061301475047133000211320ustar00rootroot00000000000000 AppearancePage Style: Стил: Preview Преглед Active palette Активна палитра Inactive palette Неактивна палитра Disabled palette Изключена палитра Palette Палитра Default По подразбиране Custom Потребителски Color scheme: Цветова схема: ... ... Standard dialogs: Стандартни диалози: Create Създаване Edit Редактиране Create a Copy Създаване на копие Rename Преименуване Remove Премахване Enter Color Scheme Name Въведете име на цветовата схема File name: Име на файл: Error Грешка The color scheme "%1" already exists Цветовата схема "%1" вече съществува Warning Внимание The color scheme "%1" is read only Цветовата схема "%1" е само за четене Confirm Remove Потвърждаване на премахването Are you sure you want to remove color scheme "%1"? Сигурен ли сте, че искате да премахнете цветова схема "%1"? %1 (copy) %1 (копиране) Unable to copy file Не може да бъде копиран файла FontConfigDialog Font Configuration Конфигурация на шрифтовете Disable automatic hinting for bold fonts Изключване на автоматичното подсказване за удебелените шрифтове LCD filter: LCD филтър: Automatic hinting Автоматично подсказване Hinting Подсказване Font resolution: Резолюция на шрифт: dpi точки на инч Subpixel geometry: Подпикселна подредба: Antialiasing Заглаждане Hinting style: Стил на подсказване: None Без Slight Тънък Medium Среден Full Пълен <i>%1</i> already exists. Do you want to replace it? <i>%1</i> вече съществува. Искате ли да го замените? FontsPage ... ... General: Общи: Fixed width: Фиксирана ширина: Create fonts.conf Създаване на fonts.conf Remove fonts.conf Премахване на fonts.conf Remove Font Configuration Премахване на конфигурацията на шрифта Are you sure you want to delete <i>%1</i>? Наистина ли искате да изтриете <i>%1</i>? InterfacePage Double click interval: Интервал при двойно кликване: Cursor flash time: Време за мигане на курсора: ComboBox effect: ComboBox ефект: ToolTip effect: ToolTip ефект: ToolBox effect: ToolBox ефект: ms мс Disable Изключване Animate Анимиран Fade Избледняващ Menu effect: Ефект на меню: Enable gui effects Включване на графичните ефекти Dialog buttons layout: Подредба на диалоговите бутони: Keyboard scheme: Клавиатурна схема: Menus have icons Икони в менютата Dialog buttons have icons Икони в диалоговите бутони Activate item on single-click Активиране на елемент с еднократно кликване Toolbar button style: Стил на бутоните в лентата с инструменти: Mouse wheel scroll lines: Превъртане на позициите с колелцето на мишката: Show shortcut underlines Показване на подсказки за бъз достъп Show shortcuts in context menus Показване на преките пътища в контекстните менюта Only display the icon Покажи само икони Only display the text Покажи само текст The text appears beside the icon Текстът да се вижда до иконите The text appears under the icon Текстът да се вижда под иконите Follow the application style Следвай стила на програмата MainWindow Qt6 Configuration Tool Инструмент за настройка на Qt6 The application is not configured correctly. Приложението не е конфигурирано коректно. Information Информация Hide Скриване Appearance Външен вид Fonts Шрифтове Icon Theme Тема за икони Interface Интерфейс Style Sheets Стил на страниците Troubleshooting Отстранява на неизправности Version: %1 Версия: %1 Warning Внимание Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Моля, премахнете зададената променлива <b>QT_STYLE_OVERRIDE</b> на средата (текуща стойност:<b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). Променливата <b>QT_QPA_PLATFORMTHEME</b> на средата не е зададена (необходими стойности: <b>qt6ct</b> или <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Променливата <b>QT_QPA_PLATFORMTHEME</b> на средата не е коректно зададена (текуща стойност: <b>%1</b>, необходима стойност: <b>qt6ct</b> или <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> Не може да бъде намерен <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). Приставката <b>%1</b> е компилирана за несъвместима версия на Qt (%2). PaletteEditDialog Palette Editor Редактор на палитрата Reset palette Нулиране на палитрата Build inactive palette Изграждане на неактивна палитра Build disabled palette Изграждане на изключена палитра Active Активна Inactive Неактивна Disabled Изключена Dark Тъмен Window text Текст на прозорец Button background Фон на бутон Bright Светъл Less bright По- малко светъл Less dark По- малко тъмен Window Прозорец Shadow Сянка Bright text Светъл текст Button text Текст на бутон Normal text Нормален текст Normal background Нормален фон Highlight Подчертаване Highlighted text Подчертан текст Visited link Посетен адрес Default По подразбиране Tooltip background Фон на подсказка Tooltip text Текст на подсказка Link Връзка Alternate background Алтернативен фон Placeholder text Текст на контейнера Accent Select Color Избор на цвят PreviewForm Preview Window Преглед на прозореца Tab 1 Раздел 1 PushButton PushButton Tab 2 Раздел 2 RadioButton RadioButton CheckBox CheckBox QSSEditorDialog %1 - Style Sheet Editor %1 - Редактор на стила на страница Style Sheet Editor Редактор на стила на страница QSSPage Create Създаване Edit Редактиране Rename Преименуване Remove Премахване Create a Copy Създаване на копие View Преглед File name: Име на файл: Enter Style Sheet Name Въведете име на стила на страница Error Грешка The file "%1" already exists Файлът "%1" вече съществува Confirm Remove Потвърждение на премахването Are you sure you want to remove style sheet "%1"? Сигурен ли сте, че искате да премахнете стил на страница "%1"? Rename Style Sheet Преименуване на стил на страница Style sheet name: Име на стил на страница: The style sheet "%1" already exists Стилът на страница "%1" вече съществува Unable to rename file Файлът не може да бъде преименуван %1 (copy).qss %1 (копиране).qss Unable to copy file Не може да бъде копиран файла TroubleshootingPage Ignored applications: Игнорирани приложения: Add... Добавяне... Remove Премахване Do not apply any styles and color schemes for the listed applications. Да не се прилагат никакви стилове и цветови схеми за изброените приложения. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Направете така, че обектите от най-високо ниво да използват чисти растерни повърхности и да не поддържат чужди обекти, базирани на GL. Force raster surface Форсиране на растерна повърхност Select Application Избор на програма Executable files (*) Изпълними файлове (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_ca.ts000066400000000000000000001010741475047133000211270ustar00rootroot00000000000000 AppearancePage Style: Estil: Preview Vista prèvia Active palette Paleta activa Inactive palette Paleta inactiva Disabled palette Paleta desactivada Palette Paleta Default Predeterminada Custom Personalitzada Color scheme: Esquema de colors: ... ... Standard dialogs: Diàlegs estàndard: Create Crea Edit Edita Create a Copy Crea una còpia Rename Canvia el nom Remove Suprimeix Enter Color Scheme Name Introdueix el nom de l'esquema de colors File name: Nom del fitxer: Error Error The color scheme "%1" already exists Ja existeix l'esquema de colors «%1» Warning Avís The color scheme "%1" is read only L'esquema de colors «%1» és de només lectura Confirm Remove Confirma la supressió Are you sure you want to remove color scheme "%1"? Segur que voleu suprimir l'esquema de colors «%1»? %1 (copy) %1 (còpia) Unable to copy file No es pot copiar el fitxer FontConfigDialog Font Configuration Configuració del tipus de lletra Disable automatic hinting for bold fonts Desactiva l'optimització automàtica dels tipus de lletra en negreta LCD filter: Filtre LCD: Automatic hinting Optimizació automàtica Hinting Optimizació Font resolution: Resolució del tipus de lletra dpi ppp Subpixel geometry: Geometria dels subpíxels: Antialiasing Suavitzat Hinting style: Estil d'optimizació None Desactiva Slight Lleuger Medium Mitjà Full Complet <i>%1</i> already exists. Do you want to replace it? <i>%1</i> ja existeix. Voleu reemplaçar-lo? FontsPage ... ... General: General: Fixed width: Amplada fixa: Create fonts.conf Crea fonts.conf Remove fonts.conf Suprimeix fonts.conf Remove Font Configuration Suprimeix la configuració dels tipus de lletra Are you sure you want to delete <i>%1</i>? Segur que voleu suprimir <i>%1</i>? InterfacePage Double click interval: Interval de doble clic Cursor flash time: Temps de parpelleig del cursor: ComboBox effect: Efecte del quadre combinat ToolTip effect: Efecte de l'indicador de funció ToolBox effect: Efecte de la caixa d'eines ms ms Disable Desactiva Animate Animació Fade Esvaïment Menu effect: Efecte del menú Enable gui effects Activa els efectes de la interfície Dialog buttons layout: Disposició dels botons de diàleg: Keyboard scheme: Disposició del teclat Menus have icons Menús amb icones Dialog buttons have icons Botons de diàleg amb icones Activate item on single-click Activa els elements amb un sol clic Toolbar button style: Estil dels botons de la barra d'eines: Mouse wheel scroll lines: Línies de desplaçament de la roda del ratolí Show shortcut underlines Mostra el subratllat de les dreceres Show shortcuts in context menus Mostra les dreceres als menús contextuals Only display the icon Mostra només la icona Only display the text Mostra només el text The text appears beside the icon Mostra el text al costat de la icona The text appears under the icon Mostra el text a sota de la icona Follow the application style Segueix l'estil de l'aplicació MainWindow Qt6 Configuration Tool Eina de configuració de Qt6 The application is not configured correctly. No s'ha configurat correctament l'aplicació. Information Informació Hide Amaga Appearance Aparença Fonts Tipus de lletra Icon Theme Tema d'icones Interface Interfície Style Sheets Fulls d'estil Troubleshooting Solució de problemes Version: %1 Versió: %1 Warning Avís Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Suprimiu la variable d'entorn <b>QT_STYLE_OVERRIDE</b> (valor actual: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). No s'ha configurat la variable d'entorn <b>QT_QPA_PLATFORMTHEME</b> (valors obligatoris: <b>qt6ct</b> o <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). No s'ha configurat correctament la variable d'entorn <b>QT_QPA_PLATFORMTHEME</b> (valor actual: <b>%1</b>, valors obligatoris: <b>qt6ct</b> o <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> No es pot trobar <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). El complement <b>%1</b> s'ha compilat amb una versió de Qt incompatible (%2). PaletteEditDialog Palette Editor Editor de la paleta Reset palette Restableix la paleta Build inactive palette Crea la paleta inactiva Build disabled palette Crea la paleta desactivada Active Activa Inactive Inactiva Disabled Desactivada Dark Fosc Window text Text de la finestra Button background Fons del botó Bright Brillant Less bright Menys brillant Less dark Menys fosc Window Finestra Shadow Ombra Bright text Text brillant Button text Text del botó Normal text Text normal Normal background Fons normal Highlight Ressaltat Highlighted text Text ressaltat Visited link Enllaç visitat Default Per defecte Tooltip background Fons de l'indicador de funció Tooltip text Text de l'indicador de funció Link Enllaç Alternate background Fons alternatiu Placeholder text Text de farciment Accent Select Color Selecciona el color PreviewForm Preview Window Finestra de vista prèvia Tab 1 Pestanya 1 PushButton Botó Tab 2 Pestanya 2 RadioButton Botó d'opció CheckBox Casella de selecció QSSEditorDialog %1 - Style Sheet Editor %1 - Editor de fulls d'estil Style Sheet Editor Editor de fulls d'estil QSSPage Create Crea Edit Edita Rename Canvia el nom Remove Elimina Create a Copy Crea una còpia View Vista File name: Nom del fitxer: Enter Style Sheet Name Escriu el nom del full d'estil Error Error The file "%1" already exists Ja existeix el fitxer «%1» Confirm Remove Confirma la supressió Are you sure you want to remove style sheet "%1"? Segur que voleu suprimir el full d'estil «%1»? Rename Style Sheet Canvia el nom del full d'estil Style sheet name: Nom del full d'estil: The style sheet "%1" already exists Ja existeix el full d'estil «%1» Unable to rename file No es pot canviar el nom del fitxer %1 (copy).qss %1 (còpia).qss Unable to copy file No es pot copiar el fitxer TroubleshootingPage Ignored applications: Aplicacions ignorades: Add... Afegeix... Remove Suprimeix Do not apply any styles and color schemes for the listed applications. No apliquis estils ni esquemes de colors per a les aplicacions enumerades. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Fes que els components de nivell superior usin superfícies facin servir rasteritzades pures i no admetin components secundaris no nadius basats en GL. Force raster surface Força la superfície rasteritzada Select Application Selecciona l'aplicació Executable files (*) Ftixers executables (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_cs.ts000066400000000000000000001004771475047133000211570ustar00rootroot00000000000000 AppearancePage Style: Styl: Preview Náhled Active palette Činná paleta Inactive palette Nečinná paleta Disabled palette Zakázaná paleta Palette Paleta Default Výchozí Custom Vlastní Color scheme: Barevné schéma: ... ... Standard dialogs: Běžné dialogy: Create Vytvořit Edit Upravit Create a Copy Vytvořit kopii Rename Přejmenovat Remove Odstranit Enter Color Scheme Name Zadejte název barevného schématu File name: Název souboru: Error Chyba The color scheme "%1" already exists Již je barevné schéma "%1" Warning Varování The color scheme "%1" is read only Barevné schéma "%1" je pouze pro čtení Confirm Remove Potvrdit odstranění Are you sure you want to remove color scheme "%1"? Jste si jistý, že chcete odstranit barevné schéma "%1"? %1 (copy) %1 (kopie) Unable to copy file Nelze zkopírovat soubor FontConfigDialog Font Configuration Nastavení písma Disable automatic hinting for bold fonts Zakázat automatické podřezávání tučných písem LCD filter: Filtr LCD: Automatic hinting Automatické podřezávání Hinting Podřezávání Font resolution: Rozlišení písma: dpi DPI Subpixel geometry: Uspořádání subpixelů: Antialiasing Vyhlazování Hinting style: Styl podřezávání: None Žádný Slight Menší Medium Střední Full Plné <i>%1</i> already exists. Do you want to replace it? <i>%1</i> již existuje. Chcete jej nahradit? FontsPage ... ... General: Obecné: Fixed width: Pevná šířka: Create fonts.conf Vytvořit fonts.conf Remove fonts.conf Odstranit fonts.conf Remove Font Configuration Odstranit nastavení písma Are you sure you want to delete <i>%1</i>? Opravdu chcete smazat <i>%1</i>? InterfacePage Double click interval: Interval pro dvojité klepnutí: Cursor flash time: Doba blikání ukazovátka: ComboBox effect: Efekt rozbalovacího seznamu: ToolTip effect: Efekt bublinové nápovědy: ToolBox effect: Efekt nástrojové sady: ms ms Disable Zakázat Animate Animovat Fade Blednutí Menu effect: Efekt nabídky: Enable gui effects Povolit efekty rozhraní Dialog buttons layout: Rozvržení tlačítek dialogu: Keyboard scheme: Rozložení klávesnice: Menus have icons Nabídky mají ikony Dialog buttons have icons Dialogová tlačítka mají ikony Activate item on single-click Zapnout položku jedním klepnutím Toolbar button style: Styl tlačítka v nástrojovém pruhu: Mouse wheel scroll lines: Kolečko myši posunuje řádky: Show shortcut underlines Ukázat podtržení zkratek Show shortcuts in context menus Ukázat zkratky v souvisejících nabídkách Only display the icon Zobrazit pouze ikonu Only display the text Zobrazit pouze text The text appears beside the icon Text se objeví vedle ikony The text appears under the icon Text se objeví pod ikonou Follow the application style Následovat styl programu MainWindow Qt6 Configuration Tool Nástroj na nastavení Qt6 The application is not configured correctly. Program není nastaven správně. Information Informace Hide Skrýt Appearance Vzhled Fonts Písma Icon Theme Podoba ikon Interface Rozhraní Style Sheets Stylové listy Troubleshooting Řešení potíží Version: %1 Verze: %1 Warning Varování Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Odstraňte, prosím, proměnnou prostředí <b>QT_STYLE_OVERRIDE</b> (nynější hodnota: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). Proměnná prostředí <b>QT_QPA_PLATFORMTHEME</b> není nastavena (požadované hodnoty: <b>qt6ct</b> nebo <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Proměnná prostředí <b>QT_QPA_PLATFORMTHEME</b> environment není nastavena správně (nynější hodnota: <b>%1</b>, požadované hodnoty: <b>qt6ct</b> nebo <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> Nelze najít <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). Přídavný modul <b>%1</b> je zkompilován proti nekompatibilní verzi Qt (%2). PaletteEditDialog Palette Editor Editor palety Reset palette Nastavit paletu znovu Build inactive palette Vytvořit nečinnou paletu Build disabled palette Vytvořit zakázanou paletu Active Činná Inactive Nečinná Disabled Zakázaná Dark Tmavé Window text Text okna Button background Pozadí tlačítka Bright Světlé Less bright Méně světlé Less dark Tmavé Window Okno Shadow Stín Bright text Světlý text Button text Text tlačítka Normal text Běžný text Normal background Běžné pozadí Highlight Zvýrazněná oblast Highlighted text Zvýrazněný text Visited link Navštívený odkaz Default Výchozí Tooltip background Pozadí bublinové nápovědy Tooltip text Text bublinové nápovědy Link Odkaz Alternate background Náhradní pozadí Placeholder text Text zástupného znaku Accent Select Color Vybrat barvu PreviewForm Preview Window Náhledové okno Tab 1 Karta 1 PushButton Tlačítko Tab 2 Karta 2 RadioButton Přepínač CheckBox Zaškrtávací okénko QSSEditorDialog %1 - Style Sheet Editor %1 - Editor stylových listů Style Sheet Editor Editor stylového listu QSSPage Create Vytvořit Edit Upravit Rename Přejmenovat Remove Odstranit Create a Copy Vytvořit kopii View Pohled File name: Název souboru: Enter Style Sheet Name Zadejte název stylového listu Error Chyba The file "%1" already exists Již je soubor "%1" Confirm Remove Potvrdit odstranění Are you sure you want to remove style sheet "%1"? Jste si jistý, že chcete odstranit stylový list "%1"? Rename Style Sheet Přejmenovat stylový list Style sheet name: Název stylového listu: The style sheet "%1" already exists Již je stylový list "%1" Unable to rename file Nelze přejmenovat soubor %1 (copy).qss %1 (kopie).qss Unable to copy file Nelze zkopírovat soubor TroubleshootingPage Ignored applications: Přehlížené programy: Add... Přidat... Remove Odstranit Do not apply any styles and color schemes for the listed applications. Pro uvedené aplikace nepoužívat žádné styly a barevná schémata. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Doplňky nejvyšší úrovně používají čistě rastrové povrchy a nepodporují podřízené doplňky, které nejsou založeny na nativním GL. Force raster surface Vynutit rastrový povrch Select Application Vybrat program Executable files (*) Spustitelné soubory (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_da.ts000066400000000000000000000767341475047133000211460ustar00rootroot00000000000000 AppearancePage Style: Stil: Preview Forhåndsvisning Active palette Aktiv palet Inactive palette Inaktiv palet Disabled palette Deaktiveret palet Palette Palet Default Standard Custom Tilpasset Color scheme: Farveskema: ... ... Standard dialogs: Standarddialoger: Create Opret Edit Rediger Create a Copy Opret en kopi Rename Omdøb Remove Fjern Enter Color Scheme Name Indtast navn på farveskema File name: Filnavn: Error Fejl The color scheme "%1" already exists Farveskemaet "%1" findes allerede Warning Advarsel The color scheme "%1" is read only Farveskemaet "%1" er skrivebeskyttet Confirm Remove Bekræft fjernelse Are you sure you want to remove color scheme "%1"? Er du sikker på, at du vil fjerne farveskemaet "%1"? %1 (copy) %1 (kopi) Unable to copy file Kan ikke kopiere fil FontConfigDialog Font Configuration Konfiguration af skrifttype Disable automatic hinting for bold fonts Deaktivér automatisk hinting af fede skrifttyper LCD filter: LCD-filter: Automatic hinting Automatisk hinting Hinting Hinting Font resolution: Opløsning for skrift: dpi dpi Subpixel geometry: Geometri for underpixel: Antialiasing Antialiasing Hinting style: Stil for hinting: None Ingen Slight Let Medium Medium Full Fuld <i>%1</i> already exists. Do you want to replace it? <i>%1</i> findes allerede. Vil du erstatte den? FontsPage ... ... General: Generelt: Fixed width: Fast bredde: Create fonts.conf Opret fonts.conf Remove fonts.conf Fjern fonts.conf Remove Font Configuration Fjern konfiguration af skrifttype Are you sure you want to delete <i>%1</i>? Er du sikker på, at du vil slette <i>%1</i>? InterfacePage Double click interval: Interval for dobbeltklik: Cursor flash time: Blinketid for markør: ComboBox effect: Effekt til kombinationsboks: ToolTip effect: Effekt til værktøjstip: ToolBox effect: Effekt til værktøjsboks: ms ms Disable Deaktivér Animate Animer Fade Udton Menu effect: Effekt til menu: Enable gui effects Aktivér brugerfladeeffekter Dialog buttons layout: Layout til dialogknapper: Keyboard scheme: Tastaturskema: Menus have icons Menuer har ikoner Dialog buttons have icons Dialogknapper har ikoner Activate item on single-click Aktivér element ved ét klik Toolbar button style: Stil for værktøjslinjeknap: Mouse wheel scroll lines: Rullelinjer for musehjul: Show shortcut underlines Vis understregninger for genveje Show shortcuts in context menus Vis genveje i genvejsmenuer Only display the icon Vis kun ikonet Only display the text Vis kun teksten The text appears beside the icon Teksten vises ved siden af ikonet The text appears under the icon Teksten vises under ikonet Follow the application style Følg programstilen MainWindow Qt6 Configuration Tool Qt6-konfigurationsværktøj The application is not configured correctly. Programmet er ikke konfigureret korrekt. Information Information Hide Skjul Appearance Udseende Fonts Skrifttyper Icon Theme Ikontema Interface Grænseflade Style Sheets Typografiark Troubleshooting Version: %1 Version: %1 Warning Advarsel Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Fjern venligst miljøvariablen <b>QT_STYLE_OVERRIDE</b> (nuværende værdi: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> Kan ikke finde <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Redigering af palet Reset palette Nulstil palet Build inactive palette Byg inaktiv palet Build disabled palette Byg deaktiveret palet Active Aktiv Inactive Inaktiv Disabled Deaktiveret Dark Mørk Window text Vinduestekst Button background Baggrund for knap Bright Lyst Less bright Mørkere Less dark Lysere Window Vindue Shadow Skygge Bright text Lys tekst Button text Tekst for knap Normal text Normal tekst Normal background Normal baggrund Highlight Fremhævning Highlighted text Fremhævet tekst Visited link Besøgt link Default Standard Tooltip background Baggrund for værktøjstip Tooltip text Tekst for værktøjstip Link Link Alternate background Skift baggrund Placeholder text Pladsholdertekst Accent Select Color Vælg farve PreviewForm Preview Window Forhåndsvisningsvindue Tab 1 Faneblad 1 PushButton Trykknap Tab 2 Faneblad 2 RadioButton Radioknap CheckBox Afkrydsningsboks QSSEditorDialog %1 - Style Sheet Editor %1 - Redigering af typografiark Style Sheet Editor Redigering af typografiark QSSPage Create Opret Edit Rediger Rename Omdøb Remove Fjern Create a Copy Opret en kopi View Vis File name: Filnavn: Enter Style Sheet Name Indtast navn på typografiark Error Fejl The file "%1" already exists Filen "%1" findes allerede Confirm Remove Bekræft fjernelse Are you sure you want to remove style sheet "%1"? Er du sikker på, at du vil fjerne typografiarket "%1"? Rename Style Sheet Omdøb typografiark Style sheet name: Navn på typografiark: The style sheet "%1" already exists Typografiarket "%1" findes allerede Unable to rename file Kan ikke omdøbe fil %1 (copy).qss %1 (kopi).qss Unable to copy file Kan ikke kopiere fil TroubleshootingPage Ignored applications: Add... Remove Fjern Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_de.ts000066400000000000000000000774341475047133000211500ustar00rootroot00000000000000 AppearancePage Style: Stil: Preview Vorschau Active palette Aktive Palette Inactive palette Inaktive Palette Disabled palette Deaktivierte Palette Palette Palette Default Standard Custom Benutzerdefiniert Color scheme: Farbschema: ... ... Standard dialogs: Standarddialoge: Create Erstellen Edit Bearbeiten Create a Copy Erstellen Sie eine Kopie Rename Umbenennen Remove Entfernen Enter Color Scheme Name Farbschemaname eingeben File name: Dateiname: Error Fehler The color scheme "%1" already exists Das Farbschema »%1« ist bereits vorhanden Warning Warnung The color scheme "%1" is read only Das Farbschema »%1« ist schreibgeschützt Confirm Remove Entfernen bestätigen Are you sure you want to remove color scheme "%1"? Sind Sie sicher, dass Sie das Farbschema »%1« entfernen möchten? %1 (copy) %1 (kopieren) Unable to copy file Datei konnte nicht kopiert werden FontConfigDialog Font Configuration Schriftkonfiguration Disable automatic hinting for bold fonts Automatisches Hinting für Fettschriften deaktivieren LCD filter: LCD-Filter: Automatic hinting Automatisches Hinting Hinting Hinting Font resolution: Schriftauflösung: dpi dpi Subpixel geometry: Teilbildpunkt-Geometrie: Antialiasing Antialiasing (Glättung) Hinting style: Hinting-Stil: None Keiner Slight Gering Medium Mittel Full Vollständig <i>%1</i> already exists. Do you want to replace it? <i>%1</i> ist bereits vorhanden. Wollen Sie es ersetzen? FontsPage ... ... General: Allgemein: Fixed width: Feste Breite: Create fonts.conf fonts.conf erstellen Remove fonts.conf fonts.conf löschen Remove Font Configuration Schriftkonfiguration entfernen Are you sure you want to delete <i>%1</i>? Sind Sie sicher, dass Sie <i>%1</i> löschen wollen? InterfacePage Double click interval: Doppelklickintervall: Cursor flash time: Eingabezeiger-Blinkdauer: ComboBox effect: ComboBox-Effekt: ToolTip effect: Kurzinfo-Effekt: ToolBox effect: Werkzeugkasten-Effekt: ms ms Disable Deaktivieren Animate Animieren Fade Ausblenden Menu effect: Menü-Effekt: Enable gui effects Grafische Effekte aktivieren Dialog buttons layout: Anordnung der Dialogschaltflächen: Keyboard scheme: Tastaturschema: Menus have icons Menüs haben Symbole Dialog buttons have icons Dialogschaltflächen haben Symbole Activate item on single-click Eintrag mit einem Einfachklick aktivieren Toolbar button style: Werkzeugleiste-Schaltflächenstil: Mouse wheel scroll lines: Mausrad-Bildlaufzeilen: Show shortcut underlines Verknüpfungsunterstriche anzeigen Show shortcuts in context menus Tastenkürzel in Kontextmenüs anzeigen. Only display the icon Nur das Symbol anzeigen Only display the text Nur den Text anzeigen The text appears beside the icon Der Text erscheint neben dem Symbol The text appears under the icon Der Text erscheint unter dem Symbol Follow the application style Dem Anwendungsstil folgen MainWindow Qt6 Configuration Tool Qt6-Konfigurationswerkzeug The application is not configured correctly. Die Anwendung ist nicht korrekt konfiguriert. Information Information Hide Ausblenden Appearance Erscheinungsbild Fonts Schriftarten Icon Theme Symbolthema Interface Oberfläche Style Sheets Stilvorlagen Troubleshooting Version: %1 Version: %1 Warning Warnung Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Bitte entfernen Sie die Umgebungsvariable <b>QT_STYLE_OVERRIDE</b> (aktueller Wert: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> <b>libqt6ct-style.so</b>konnte nicht gefunden werden. The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Paletteneditor Reset palette Palette zurücksetzen Build inactive palette Inaktive Palette erstellen Build disabled palette Deaktivierte Palette erstellen Active Aktiv Inactive Inaktiv Disabled Deaktiviert Dark Dunkel Window text Fenstertext Button background Knopfhintergrund Bright Hell Less bright Weniger hell Less dark Weniger dunkel Window Fenster Shadow Schatten Bright text Heller Text Button text Schaltflächentext Normal text Normaler Text Normal background Normaler Hintergrund Highlight Hervorheben Highlighted text Hervorgehobener Text Visited link Besuchter Link Default Standard Tooltip background Kurzinfo-Hintergrund Tooltip text Kurzinfo-Text Link Link Alternate background Alternativer Hintergrund Placeholder text Platzhaltertext Accent Select Color Farbe auswählen PreviewForm Preview Window Vorschaufenster Tab 1 Reiter 1 PushButton Schaltfläche drücken Tab 2 Reiter 2 RadioButton Radioschaltfläche CheckBox Ankreuzfeld QSSEditorDialog %1 - Style Sheet Editor %1 - Stilvorlagen-Editor Style Sheet Editor Stilvorlagen-Editor QSSPage Create Erstellen Edit Bearbeiten Rename Umbenennen Remove Entfernen Create a Copy Erstellen Sie eine Kopie View Ansicht File name: Dateiname: Enter Style Sheet Name Stilvorlagenname eingeben Error Fehler The file "%1" already exists Die Datei "%1" ist bereits vorhanden Confirm Remove Entfernen bestätigen Are you sure you want to remove style sheet "%1"? Sind Sie sicher, dass Sie die Stilvorlage »%1« entfernen möchten? Rename Style Sheet Stilvorlage umbenennen Style sheet name: Stilvorlagenname: The style sheet "%1" already exists Die Stilvorlage »%1« ist bereits vorhanden Unable to rename file Datei konnte nicht umbenannt werden %1 (copy).qss %1 (Kopie).qss Unable to copy file Datei konnte nicht kopiert werden TroubleshootingPage Ignored applications: Add... Remove Entfernen Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_el.ts000066400000000000000000001070121475047133000211420ustar00rootroot00000000000000 AppearancePage Style: Τεχνοτροπία: Preview Προεπισκόπηση Active palette Ενεργή χρωματοπυξίδα Inactive palette Ανενεργή χρωματοπυξίδα Disabled palette Απενεργοποιημένη χρωματοπυξίδα Palette Χρωματοπυξίδα Default Εξ ορισμού Custom Προσαρμοσμένο Color scheme: Χρωματικό σχήμα: ... ... Standard dialogs: Τυπικοί διάλογοι: Create Δημιουργία Edit Επεξεργασία Create a Copy Δημιουργία αντιγράφου Rename Μετονομασία Remove Αφαίρεση Enter Color Scheme Name Εισαγάγετε το όνομα του χρωματικού σχήματος File name: Όνομα αρχείου: Error Σφάλμα The color scheme "%1" already exists Το χρωματικό σχήμα «%1» υπάρχει ήδη Warning Προειδοποίηση The color scheme "%1" is read only Το χρωματικό σχήμα «%1» είναι μόνο για ανάγνωση Confirm Remove Επικύρωση της αφαίρεσης Are you sure you want to remove color scheme "%1"? Είστε σίγουρος-η ότι θέλετε να αφαιρέσετε το χρωματικό σχήμα «%1»; %1 (copy) %1 (αντίγραφο) Unable to copy file Αδύνατη η αντιγραφή του αρχείου FontConfigDialog Font Configuration Διαμόρφωση γραμματοσειράς Disable automatic hinting for bold fonts Απενεργοποίηση αυτόματων υποδείξεων στις έντονες γραμματοσειρές LCD filter: Φίλτρο LCD: Automatic hinting Αυτόματες υποδείξεις Hinting Υποδείξεις Font resolution: Ανάλυση γραμματοσειράς: dpi dpi Subpixel geometry: Γεωμετρία υποεικονοστοιχείων: Antialiasing Εξομάλυνση Hinting style: Στυλ υπόδειξης: None Κανένα Slight Ελαφρύ Medium Μεσαίο Full Πλήρες <i>%1</i> already exists. Do you want to replace it? Το αρχείο <i>%1</i> υπάρχει ήδη. Θέλετε να το αντικαταστήσετε; FontsPage ... ... General: Γενικά: Fixed width: Σταθερού πλάτους: Create fonts.conf Δημιουργία του fonts.conf Remove fonts.conf Αφαίρεση του fonts.conf Remove Font Configuration Αφαίρεση διαμόρφωσης γραμματοσειράς Are you sure you want to delete <i>%1</i>? Επιθυμείτε σίγουρα την διαγραφή του <i>%1</i>; InterfacePage Double click interval: Χρονικό διάστημα διπλού κλικ: Cursor flash time: Χρόνος αναβοσβήματος δρομέα: ComboBox effect: Τέχνασμα εντυπωσιασμού σύνθετου πλαισίου: ToolTip effect: Τέχνασμα εντυπωσιασμού υπόδειξης: ToolBox effect: Τέχνασμα εντυπωσιασμού εργαλειοθήκης: ms ms Disable Απενεργοποίηση Animate Κίνηση Fade Σβήσιμο Menu effect: Τέχνασμα εντυπωσιασμού μενού: Enable gui effects Ενεργοποίηση τεχνασμάτων εντυπωσιασμού περιβάλλοντος Dialog buttons layout: Διάταξη κουμπιών διαλόγου: Keyboard scheme: Συνδυασμός πληκτρολογίου: Menus have icons Τα μενού διαθέτουν εικονίδια Dialog buttons have icons Τα κουμπιά των διαλόγων διαθέτουν εικονίδια Activate item on single-click Ενεργοποίηση του αντικειμένου με μονό κλικ Toolbar button style: Τεχνοτροπία των κουμπιών της γραμμής εργαλείων: Mouse wheel scroll lines: Γραμμές κύλισης τροχού ποντικιού: Show shortcut underlines Εμφάνιση των υπογραμμίσεων των συντομεύσεων Show shortcuts in context menus Εμφάνιση των συντομεύσεων στο σχετικό μενού Only display the icon Εμφάνιση μόνον του εικονιδίου Only display the text Εμφάνιση μόνον του κειμένου The text appears beside the icon Το κείμενο εμφανίζεται δίπλα από το εικονίδιο The text appears under the icon Το κείμενο εμφανίζεται κάτω από το εικονίδιο Follow the application style Ακολούθηση της τεχνοτροπίας της εφαρμογής MainWindow Qt6 Configuration Tool Εργαλείο διαμόρφωσης της Qt6 The application is not configured correctly. Η εφαρμογή δεν έχει διαμορφωθεί σωστά. Information Πληροφορίες Hide Απόκρυψη Appearance Εμφάνιση Fonts Γραμματοσειρές Icon Theme Θέματα εικονιδίων Interface Περιβάλλον Style Sheets Σελίδες αισθητικής επικάλυψης Troubleshooting Αντιμετώπιση προβλημάτων Version: %1 Έκδοση: %1 Warning Προειδοποίηση Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Παρακαλώ αφαιρέστε την μεταβλητή περιβάλλοντος <b>QT_STYLE_OVERRIDE</b> (τρέχουσα τιμή: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> Αδύνατη η εύρεση του <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Επεξεργαστής χρωματοπυξίδας Reset palette Επαναφορά χρωματοπυξίδας Build inactive palette Δημιουργία ανενεργής χρωματοπυξίδας Build disabled palette Δημιουργία απενεργοποιημένης χρωματοπυξίδας Active Ενεργό Inactive Ανενεργό Disabled Απενεργοποιημένο Dark Σκούρο Window text Κείμενο παραθύρου Button background Παρασκήνιο κουμπιού Bright Φωτεινό Less bright Σκοτεινότερο Less dark Εξασθενισμένο Window Παράθυρο Shadow Σκιά Bright text Φωτεινό κείμενο Button text Κείμενο κουμπιού Normal text Κανονικό κείμενο Normal background Κανονικό παρασκήνιο Highlight Τονισμός Highlighted text Τονισμένο κείμενο Visited link Επισκεφθείς δεσμός Default Εξ ορισμού Tooltip background Παρασκήνιο υπόδειξης Tooltip text Κείμενο υπόδειξης Link Δεσμός Alternate background Εναλλάξ παρασκήνιο Placeholder text Κείμενο δεσμευτικού θέσης Accent Select Color Επιλογή Χρώματος PreviewForm Preview Window Προεπισκόπηση παραθύρου Tab 1 Καρτέλα 1 PushButton Κουμπί πίεσης Tab 2 Καρτέλα 2 RadioButton Κουμπί επιλογής CheckBox Πλαίσιο ενεργοποίησης QSSEditorDialog %1 - Style Sheet Editor %1 - Επεξεργαστής φύλλου αισθητικής επικάλυψης Style Sheet Editor Επεξεργαστής φύλλου αισθητικής επικάλυψης QSSPage Create Δημιουργία Edit Επεξεργασία Rename Μετονομασία Remove Αφαίρεση Create a Copy Δημιουργία αντιγράφου View Προβολή File name: Όνομα αρχείου: Enter Style Sheet Name Εισάγετε το όνομα του φύλλου αισθητικής επικάλυψης Error Σφάλμα The file "%1" already exists Το αρχείο «%1» υπάρχει ήδη Confirm Remove Επικύρωση της αφαίρεσης Are you sure you want to remove style sheet "%1"? Είστε σίγουρος-η ότι θέλετε να αφαιρέσετε το φύλλο αισθητικής επικάλυψης «%1»; Rename Style Sheet Μετονομασία φύλλου αισθητικής επικάλυψης Style sheet name: Όνομα του φύλλου αισθητικής επικάλυψης: The style sheet "%1" already exists Το φύλλο αισθητικής επικάλυψης «%1» υπάρχει ήδη Unable to rename file Αδυναμία μετονομασία του αρχείου %1 (copy).qss %1 (copy).qss Unable to copy file Αδύνατη η αντιγραφή του αρχείου TroubleshootingPage Ignored applications: Αγνοημένες εφαρμογές: Add... Προσθήκη... Remove Αφαίρεση Do not apply any styles and color schemes for the listed applications. Να μην γίνεται εφαρμογή τεχνοτροπίας και χρωματικών συνδυασμών για τις εφαρμογές στο κατάστιχο. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Τα γραφικά συστατικά άνω επιπέδου να χρησιμοποιούν επιφάνειες raster, και να μην υποστηρίζουν γραφικά συστατικά απογόνους που δεν είναι βασισμένα σε εγγενή GL. Force raster surface Εξαναγκασμός της επιφάνειας raster Select Application Επιλογή εφαρμογής Executable files (*) Εκτελέσιμα αρχεία (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_en.ts000066400000000000000000000770611475047133000211560ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_es.ts000066400000000000000000001011671475047133000211560ustar00rootroot00000000000000 AppearancePage Style: Estilo: Preview Vista previa Active palette Paleta activa Inactive palette Paleta inactiva Disabled palette Paleta desactivada Palette Paleta Default Predeterminada Custom Personalizada Color scheme: Combinación de colores: ... ... Standard dialogs: Diálogos estándar: Create Crear Edit Editar Create a Copy Crear una copia Rename Renombrar Remove Eliminar Enter Color Scheme Name Escribir el nombre de la combinación de colores File name: Nombre del archivo: Error Error The color scheme "%1" already exists Ya existe la combinación de colores «%1» Warning Aviso The color scheme "%1" is read only La combinación de colores «%1» es de solo lectura Confirm Remove Confirmar la eliminación Are you sure you want to remove color scheme "%1"? ¿Seguro que quiere eliminar la combinación de colores «%1»? %1 (copy) %1 (copia) Unable to copy file No se puede copiar el archivo FontConfigDialog Font Configuration Configuración de los tipos de letra Disable automatic hinting for bold fonts Desactivar la optimización automática de los tipos de letra en negrita LCD filter: Filtro LCD: Automatic hinting Optimización automática Hinting Optimización Font resolution: Resolución de los tipos de letra dpi ppp Subpixel geometry: Geometría de los subpíxeles: Antialiasing Suavizado Hinting style: Estilo de optimización: None Desactivar Slight Ligero Medium Medio Full Completo <i>%1</i> already exists. Do you want to replace it? <i>%1</i> ya existe. ¿Quiere reemplazarlo? FontsPage ... ... General: General: Fixed width: Ancho fijo: Create fonts.conf Crear fonts.conf Remove fonts.conf Eliminar fonts.conf Remove Font Configuration Eliminar la configuración de los tipos de letra Are you sure you want to delete <i>%1</i>? ¿Seguro que quiere eliminar <i>%1</i>? InterfacePage Double click interval: Intervalo de doble clic: Cursor flash time: Tiempo de parpadeo del cursor: ComboBox effect: Efecto del cuadro combinado: ToolTip effect: Efecto de la información emergente: ToolBox effect: Efecto de la caja de herramientas: ms ms Disable Desactivar Animate Animar Fade Fundir Menu effect: Efecto del menú: Enable gui effects Activar los efectos de la interfaz Dialog buttons layout: Distribución de los botones de diálogo: Keyboard scheme: Distribución del teclado Menus have icons Menús con iconos Dialog buttons have icons Botones de diálogo con iconos Activate item on single-click Activar elementos con un solo clic Toolbar button style: Estilo de los botones de la barra de herramientas: Mouse wheel scroll lines: Líneas de desplazamiento de la rueda del ratón: Show shortcut underlines Mostrar el subrayado de los accesos rápidos Show shortcuts in context menus Mostrar los accesos directos en los menús contextuales Only display the icon Mostrar solo el icono Only display the text Mostrar solo el texto The text appears beside the icon Mostrar el texto a lado del icono The text appears under the icon Mostrar el texto debajo del icono Follow the application style Seguir el estilo de la aplicación MainWindow Qt6 Configuration Tool Herramienta de configuración de Qt6 The application is not configured correctly. No se ha configurado correctamente la aplicación. Information Información Hide Ocultar Appearance Apariencia Fonts Tipos de letra Icon Theme Tema de iconos Interface Interfaz Style Sheets Hojas de estilo Troubleshooting Solución de problemas Version: %1 Versión: %1 Warning Aviso Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Elimine la variable de entorno <b>QT_STYLE_OVERRIDE</b> (valor actual: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). No se ha configurado la variable de entorno <b>QT_QPA_PLATFORMTHEME</b> (valores obligatorios: <b>qt6ct</b> o <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). No se ha configurado correctamente la variable de entorno <b>QT_QPA_PLATFORMTHEME</b> (valor actual: <b>%1</b>, valores requeridos: <b>qt6ct</b> o <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> No se puede encontrar <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). El complemento <b>%1</b> se ha compilado con una versión de Qt incompatible (%2). PaletteEditDialog Palette Editor Editor de la paleta Reset palette Restablecer la paleta Build inactive palette Generar la paleta inactiva Build disabled palette Generar la paleta desactivada Active Activa Inactive Inactiva Disabled Desactivada Dark Oscuro Window text Texto de la ventana Button background Fondo del botón Bright Brillante Less bright Menos brillante Less dark Menos oscuro Window Ventana Shadow Sombra Bright text Texto brillante Button text Texto del botón Normal text Texto normal Normal background Fondo normal Highlight Resaltado Highlighted text Texto resaltado Visited link Enlace visitado Default Por defecto Tooltip background Fondo de la información emergente Tooltip text Texto de la información emergente Link Enlace Alternate background Fondo alternativo Placeholder text Texto de relleno Accent Select Color Seleccionar el color PreviewForm Preview Window Ventana de vista previa Tab 1 Pestaña 1 PushButton Botón Tab 2 Pestaña 2 RadioButton Botón de opción CheckBox Casilla de verificación QSSEditorDialog %1 - Style Sheet Editor %1 - Editor de hojas de estilo Style Sheet Editor Editor de hojas de estilo QSSPage Create Crear Edit Editar Rename Renombrar Remove Eliminar Create a Copy Crear una copia View Vista File name: Nombre del archivo: Enter Style Sheet Name Escribir el nombre de la hoja de estilo Error Error The file "%1" already exists Ya existe el archivo «%1» Confirm Remove Confirmar la eliminación Are you sure you want to remove style sheet "%1"? ¿Seguro que quiere eliminar la hoja de estilo «%1»? Rename Style Sheet Renombrar la hoja de estilo Style sheet name: Nombre de la hoja de estilo: The style sheet "%1" already exists Ya existe la hoja de estilo «%1» Unable to rename file No se puede cambiar el nombre del archivo %1 (copy).qss %1 (copia).qss Unable to copy file No se puede copiar el archivo TroubleshootingPage Ignored applications: Aplicaciones ignoradas: Add... Añadir... Remove Eliminar Do not apply any styles and color schemes for the listed applications. No aplicar estilos ni combinaciones de colores para las aplicaciones enumeradas. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Hacer que los componentes de nivel superior usen superficies rasterizadas puras y no admitan componentes secundarios no nativos basados en GL. Force raster surface Forzar la superficie rasterizada Select Application Seleccionar la aplicación Executable files (*) Archivos ejecutables (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_es_ES.ts000066400000000000000000001011721475047133000215410ustar00rootroot00000000000000 AppearancePage Style: Estilo: Preview Vista previa Active palette Paleta activa Inactive palette Paleta inactiva Disabled palette Paleta desactivada Palette Paleta Default Predeterminada Custom Personalizada Color scheme: Combinación de colores: ... ... Standard dialogs: Diálogos estándar: Create Crear Edit Editar Create a Copy Crear una copia Rename Renombrar Remove Eliminar Enter Color Scheme Name Escribir el nombre de la combinación de colores File name: Nombre del archivo: Error Error The color scheme "%1" already exists Ya existe la combinación de colores «%1» Warning Aviso The color scheme "%1" is read only La combinación de colores «%1» es de solo lectura Confirm Remove Confirmar la eliminación Are you sure you want to remove color scheme "%1"? ¿Seguro que quiere eliminar la combinación de colores «%1»? %1 (copy) %1 (copia) Unable to copy file No se puede copiar el archivo FontConfigDialog Font Configuration Configuración de los tipos de letra Disable automatic hinting for bold fonts Desactivar la optimización automática de los tipos de letra en negrita LCD filter: Filtro LCD: Automatic hinting Optimización automática Hinting Optimización Font resolution: Resolución de los tipos de letra dpi ppp Subpixel geometry: Geometría de los subpíxeles: Antialiasing Suavizado Hinting style: Estilo de optimización: None Desactivar Slight Ligero Medium Medio Full Completo <i>%1</i> already exists. Do you want to replace it? <i>%1</i> ya existe. ¿Quiere reemplazarlo? FontsPage ... ... General: General: Fixed width: Ancho fijo: Create fonts.conf Crear fonts.conf Remove fonts.conf Eliminar fonts.conf Remove Font Configuration Eliminar la configuración de los tipos de letra Are you sure you want to delete <i>%1</i>? ¿Seguro que quiere eliminar <i>%1</i>? InterfacePage Double click interval: Intervalo de doble clic: Cursor flash time: Tiempo de parpadeo del cursor: ComboBox effect: Efecto del cuadro combinado: ToolTip effect: Efecto de la información emergente: ToolBox effect: Efecto de la caja de herramientas: ms ms Disable Desactivar Animate Animar Fade Fundir Menu effect: Efecto del menú: Enable gui effects Activar los efectos de la interfaz Dialog buttons layout: Distribución de los botones de diálogo: Keyboard scheme: Distribución del teclado Menus have icons Menús con iconos Dialog buttons have icons Botones de diálogo con iconos Activate item on single-click Activar elementos con un solo clic Toolbar button style: Estilo de los botones de la barra de herramientas: Mouse wheel scroll lines: Líneas de desplazamiento de la rueda del ratón: Show shortcut underlines Mostrar el subrayado de los accesos rápidos Show shortcuts in context menus Mostrar los accesos directos en los menús contextuales Only display the icon Mostrar solo el icono Only display the text Mostrar solo el texto The text appears beside the icon Mostrar el texto a lado del icono The text appears under the icon Mostrar el texto debajo del icono Follow the application style Seguir el estilo de la aplicación MainWindow Qt6 Configuration Tool Herramienta de configuración de Qt6 The application is not configured correctly. No se ha configurado correctamente la aplicación. Information Información Hide Ocultar Appearance Apariencia Fonts Tipos de letra Icon Theme Tema de iconos Interface Interfaz Style Sheets Hojas de estilo Troubleshooting Solución de problemas Version: %1 Versión: %1 Warning Aviso Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Elimine la variable de entorno <b>QT_STYLE_OVERRIDE</b> (valor actual: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). No se ha configurado la variable de entorno <b>QT_QPA_PLATFORMTHEME</b> (valores obligatorios: <b>qt6ct</b> o <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). No se ha configurado correctamente la variable de entorno <b>QT_QPA_PLATFORMTHEME</b> (valor actual: <b>%1</b>, valores requeridos: <b>qt6ct</b> o <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> No se puede encontrar <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). El complemento <b>%1</b> se ha compilado con una versión de Qt incompatible (%2). PaletteEditDialog Palette Editor Editor de la paleta Reset palette Restablecer la paleta Build inactive palette Generar la paleta inactiva Build disabled palette Generar la paleta desactivada Active Activa Inactive Inactiva Disabled Desactivada Dark Oscuro Window text Texto de la ventana Button background Fondo del botón Bright Brillante Less bright Menos brillante Less dark Menos oscuro Window Ventana Shadow Sombra Bright text Texto brillante Button text Texto del botón Normal text Texto normal Normal background Fondo normal Highlight Resaltado Highlighted text Texto resaltado Visited link Enlace visitado Default Por defecto Tooltip background Fondo de la información emergente Tooltip text Texto de la información emergente Link Enlace Alternate background Fondo alternativo Placeholder text Texto de relleno Accent Select Color Seleccionar el color PreviewForm Preview Window Ventana de vista previa Tab 1 Pestaña 1 PushButton Botón Tab 2 Pestaña 2 RadioButton Botón de opción CheckBox Casilla de verificación QSSEditorDialog %1 - Style Sheet Editor %1 - Editor de hojas de estilo Style Sheet Editor Editor de hojas de estilo QSSPage Create Crear Edit Editar Rename Renombrar Remove Eliminar Create a Copy Crear una copia View Vista File name: Nombre del archivo: Enter Style Sheet Name Escribir el nombre de la hoja de estilo Error Error The file "%1" already exists Ya existe el archivo «%1» Confirm Remove Confirmar la eliminación Are you sure you want to remove style sheet "%1"? ¿Seguro que quiere eliminar la hoja de estilo «%1»? Rename Style Sheet Renombrar la hoja de estilo Style sheet name: Nombre de la hoja de estilo: The style sheet "%1" already exists Ya existe la hoja de estilo «%1» Unable to rename file No se puede cambiar el nombre del archivo %1 (copy).qss %1 (copia).qss Unable to copy file No se puede copiar el archivo TroubleshootingPage Ignored applications: Aplicaciones ignoradas: Add... Añadir... Remove Eliminar Do not apply any styles and color schemes for the listed applications. No aplicar estilos ni combinaciones de colores para las aplicaciones enumeradas. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Hacer que los componentes de nivel superior usen superficies rasterizadas puras y no admitan componentes secundarios no nativos basados en GL. Force raster surface Forzar la superficie rasterizada Select Application Seleccionar la aplicación Executable files (*) Archivos ejecutables (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_fi.ts000066400000000000000000000771401475047133000211500ustar00rootroot00000000000000 AppearancePage Style: Tyyli: Preview Esikatselu Active palette Käytössä oleva paletti Inactive palette Ei toiminnassa oleva paletti Disabled palette Poissa käytöstä oleva paletti Palette Paletti Default Oletus Custom Muokattu Color scheme: Väriskeema: ... ... Standard dialogs: Tavalliset valintaikkunat: Create Luo Edit Muokkaa Create a Copy Luo kopio Rename Nimeä uudelleen Remove Poista Enter Color Scheme Name Syötä väriskeeman nimi File name: Tiedostonimi: Error Virhe The color scheme "%1" already exists Väriskeema "%1" on jo olemassa Warning Varoitus The color scheme "%1" is read only Väriskeema "%1" on vain luettavissa Confirm Remove Vahvista poistaminen Are you sure you want to remove color scheme "%1"? Oletko varma, että haluat poistaa väriskeeman "%1"? %1 (copy) %1 (kopio) Unable to copy file Tiedostoa ei voi kopioida FontConfigDialog Font Configuration Kirjasinasetukset Disable automatic hinting for bold fonts Poista lihavoitujen kirjasimien automaattinen vihjaaminen käytöstä LCD filter: LCD-suodatin: Automatic hinting Automaattinen vihjaaminen Hinting Vihjaaminen Font resolution: Kirjasimen tarkkuus: dpi dpi Subpixel geometry: Alikuvapisteiden geometria: Antialiasing Reunojenpehmennys Hinting style: Vihjaamisen tyyli: None Ei mitään Slight Vähäinen Medium Keskitasoinen Full Täydellinen <i>%1</i> already exists. Do you want to replace it? <i>%1</i> on jo olemassa. Haluatko korvata sen? FontsPage ... ... General: Yleinen: Fixed width: Tasalevyinen: Create fonts.conf Luo fonts.conf Remove fonts.conf Poista fonts.conf Remove Font Configuration Poista kirjasinasetukset Are you sure you want to delete <i>%1</i>? Oletko varma, että haluat poistaa %1? InterfacePage Double click interval: Kaksoisnapsautuksen aikaväli: Cursor flash time: Kohdistimen vilkuntanopeus: ComboBox effect: Yhdistelmäruudun tehoste: ToolTip effect: Työkaluvihjeen tehoste: ToolBox effect: Työkalupakin tehoste: ms ms Disable Pois käytöstä Animate Animaatio Fade Häivytys Menu effect: Valikon tehoste: Enable gui effects Käytä tehosteita Dialog buttons layout: Valintaikkunan painikkeiden asettelu: Keyboard scheme: Menus have icons Valikoissa on kuvakkeita Dialog buttons have icons Activate item on single-click Toolbar button style: Työkalupalkin painikkeen tyyli: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Näytä vain kuvake Only display the text Näytä vain teksti The text appears beside the icon Teksti näkyy kuvakkeen vieressä The text appears under the icon Teksti näkyy kuvakkeen alla Follow the application style Noudata sovelluksen tyyliä MainWindow Qt6 Configuration Tool The application is not configured correctly. Sovelluksen asetuksia ei ole tehty oikein. Information Lisää tietoa Hide Piilota Appearance Ulkoasu Fonts Kirjasimet Icon Theme Kuvaketeema Interface Liittymä Style Sheets Tyyliarkit Troubleshooting Version: %1 Versio: %1 Warning Varoitus Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Ole hyvä ja poista <b>QT_STYLE_OVERRIDE</b>-ympäristömuuttuja (nykyinen arvo: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Palettimuokkain Reset palette Palauta paletti Build inactive palette Build disabled palette Active Käytössä oleva Inactive Ei toiminnassa oleva Disabled Poissa käytöstä Dark Tumma Window text Ikkunan teksti Button background Painikkeen tausta Bright Kirkas Less bright Vähemmän kirkas Less dark Vähemmän tumma Window Ikkuna Shadow Varjo Bright text Kirkas teksti Button text Painikkeen teksti Normal text Normaali teksti Normal background Normaali tausta Highlight Korostus Highlighted text Korostettu teksti Visited link Käyty linkki Default Oletus Tooltip background Työkaluvihjeen tausta Tooltip text Työkaluvihjeen teksti Link Linkki Alternate background Vaihtoehtoinen tausta Placeholder text Paikkamerkkiteksti Accent Select Color Valitse väri PreviewForm Preview Window Esikatseluikkuna Tab 1 Välilehti 1 PushButton Painike Tab 2 Välilehti 2 RadioButton Valintanappi CheckBox Valintaruutu QSSEditorDialog %1 - Style Sheet Editor %1 - tyyliarkkimuokkain Style Sheet Editor Tyyliarkkimuokkain QSSPage Create Luo Edit Muokkaa Rename Nimeä uudelleen Remove Poista Create a Copy Luo kopio View Näytä File name: Tiedostonimi: Enter Style Sheet Name Syötä tyyliarkin nimi Error Virhe The file "%1" already exists Tiedosto "%1" on jo olemassa Confirm Remove Vahvista poistaminen Are you sure you want to remove style sheet "%1"? Oletko varma, että haluat poistaa tyyliarkin "%1"? Rename Style Sheet Nimeä tyyliarkki uudelleen Style sheet name: Tyyliarkin nimi: The style sheet "%1" already exists Tyyliarkki "%1" on jo olemassa Unable to rename file Tiedostoa ei voi nimetä uudelleen %1 (copy).qss %1 (kopio).qss Unable to copy file Tiedostoa ei voi kopioida TroubleshootingPage Ignored applications: Add... Remove Poista Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_fr.ts000066400000000000000000001012241475047133000211500ustar00rootroot00000000000000 AppearancePage Style: Style : Preview Aperçu Active palette Palette Actif Inactive palette Palette Inactif Disabled palette Palette Désactivé Palette Palette Default Défaut Custom Personnalisé Color scheme: Jeu de couleurs : ... ... Standard dialogs: Boîtes de dialogue standard : Create Créer Edit Modifier Create a Copy Créer une copie Rename Renommer Remove Supprimer Enter Color Scheme Name Entrer le nom du jeu de couleurs File name: Nom du fichier : Error Erreur The color scheme "%1" already exists Le jeu de couleurs « %1 » existe déjà Warning Avertissement The color scheme "%1" is read only Le jeu de couleurs « %1 » est en lecture seule Confirm Remove Confirmer la suppression Are you sure you want to remove color scheme "%1"? Êtes-vous sûr de vouloir supprimer le jeu de couleurs « %1 » ? %1 (copy) %1 (copie) Unable to copy file Impossible de copier le fichier FontConfigDialog Font Configuration Configuration de la police Disable automatic hinting for bold fonts Désactiver l’optimisation de rendu pour les polices en gras LCD filter: Filtre LCD : Automatic hinting Optimisation de rendu automatique Hinting Optimisation de rendu Font resolution: Résolution de la police : dpi dpi Subpixel geometry: Géométrie des sous-pixels : Antialiasing Anticrénelage Hinting style: Style d’optimisation de rendu : None Aucun Slight Léger Medium Moyen Full Fort <i>%1</i> already exists. Do you want to replace it? <i>%1</i> existe déjà. Voulez-vous le remplacer ? FontsPage ... ... General: Général : Fixed width: Largeur fixe : Create fonts.conf Créer fonts.conf Remove fonts.conf Supprimer fonts.conf Remove Font Configuration Supprimer la configuration de la police Are you sure you want to delete <i>%1</i>? Êtes-vous sûr de vouloir supprimer <i>%1</i> ? InterfacePage Double click interval: Intervalle du double clic : Cursor flash time: Temps de clignotement du curseur : ComboBox effect: Effet liste déroulante : ToolTip effect: Effet infobulle : ToolBox effect: Effet barre d’outil : ms ms Disable Désactivé Animate Animé Fade Fondu Menu effect: Effet menu : Enable gui effects Activer les effets graphiques Dialog buttons layout: Disposition des boutons : Keyboard scheme: Schéma du clavier : Menus have icons Menus avec icônes Dialog buttons have icons Boutons avec icônes Activate item on single-click Activer avec un simple clic Toolbar button style: Style de bouton de la barre d’outils : Mouse wheel scroll lines: Lignes de défilement de la molette de la souris : Show shortcut underlines Afficher les raccourcis soulignés Show shortcuts in context menus Afficher les raccourcis dans les menus contextuels Only display the icon N’afficher que l’icône Only display the text Afficher uniquement le texte The text appears beside the icon Le texte apparaît à côté de l’icône The text appears under the icon Le texte apparaît sous l’icône Follow the application style Respecter le style de l’application MainWindow Qt6 Configuration Tool Qt6 Outil de configuration The application is not configured correctly. L’application n’est pas configurée correctement. Information Information Hide Masquer Appearance Apparence Fonts Polices Icon Theme Théme des icônes Interface Interface Style Sheets Style des feuilles Troubleshooting Résolution des problèmes Version: %1 Version : %1 Warning Avertissement Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Veuillez supprimer la variable d’environnement <b>QT_STYLE_OVERRIDE</b> (valeur actuelle : <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). La variable d’environnement <b>QT_QPA_PLATFORMTHEME</b> n’est pas définie (valeurs requises : <b>qt6ct</b> ou <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). La variable d’environnement <b>QT_QPA_PLATFORMTHEME</b> n’est pas définie correctement (valeur actuelle : <b>%1</b>, valeurs requises : <b>qt6ct</b> ou <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> Impossible de trouver <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). Le plugin <b>%1</b> est compilé avec une version Qt (%2) incompatible. PaletteEditDialog Palette Editor Éditeur de palette Reset palette Réinitialiser la palette Build inactive palette Construire la palette Inactif Build disabled palette Construire la palette Désactivé Active Actif Inactive Inactif Disabled Désactivé Dark Sombre Window text Texte de la fenêtre Button background Arrière plan du bouton Bright Luminosité Less bright Moins lumineux Less dark Moins sombre Window Fenêtre Shadow Ombre Bright text Texte lumineux Button text Texte du bouton Normal text Texte normal Normal background Arrière plan normal Highlight Surbrillance Highlighted text Texte en surbrillance Visited link Lien visité Default Défaut Tooltip background Arrière plan des infobulles Tooltip text Texte des infobulles Link Lien Alternate background Arrière plan alternatif Placeholder text Texte d’espace réservé Accent Select Color Sélectionner la couleur PreviewForm Preview Window Aperçu de la fenêtre Tab 1 Onglet 1 PushButton Bouton Tab 2 Onglet 2 RadioButton Bouton radio CheckBox Case à cocher QSSEditorDialog %1 - Style Sheet Editor %1 - Éditeur de feuille de style Style Sheet Editor Éditeur de feuille de style QSSPage Create Créer Edit Modifier Rename Renommer Remove Supprimer Create a Copy Créer une copie View Aperçu File name: Nom du fichier : Enter Style Sheet Name Entrer le nom de la feuille de style Error Erreur The file "%1" already exists Le fichier « %1 » existe déjà Confirm Remove Confirmer la suppression Are you sure you want to remove style sheet "%1"? Êtes-vous sûr de vouloir supprimer la feuille de style « %1 » ? Rename Style Sheet Renommer la feuille de style Style sheet name: Nom de la feuille de style : The style sheet "%1" already exists La feuille de style « %1 » existe déjà Unable to rename file Impossible de renommer le fichier %1 (copy).qss %1 (copier).qss Unable to copy file Impossible de copier le fichier TroubleshootingPage Ignored applications: Applications ignorées : Add... Ajouter... Remove Supprimer Do not apply any styles and color schemes for the listed applications. Ne pas appliquer de styles et de schémas de couleurs pour les applications listées. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Faire en sorte que les widgets de premier niveau utilisent des surfaces matricielles pures et ne pas prendre en charge les widgets enfants non natifs basés sur GL. Force raster surface Forcer la surface de la matrice Select Application Sélectionner l’application Executable files (*) Fichiers exécutables (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_gl_ES.ts000066400000000000000000000770611475047133000215450ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_he.ts000066400000000000000000000774361475047133000211560ustar00rootroot00000000000000 AppearancePage Style: סגנון: Preview תצוגה מקדימה Active palette לוח צבעים פעיל Inactive palette לוח צבעים לא פעיל Disabled palette לוח צבעים מנוטרל Palette לוח צבעים Default שגרתי Custom מותאם Color scheme: ערכת צבעים: ... ... Standard dialogs: Create צור Edit ערוך Create a Copy צור העתק Rename שנה שם Remove הסר Enter Color Scheme Name הזן שם של ערכת הצבעים File name: שם קובץ: Error שגיאה The color scheme "%1" already exists ערכת הצבעים "%1" כבר קיימת Warning אזהרה The color scheme "%1" is read only ערכת הצבעים "%1" הינה לקריאה בלבד Confirm Remove אימות הסרה Are you sure you want to remove color scheme "%1"? להסיר את ערכת הצבעים "%1"? %1 (copy) %1 (עותק) Unable to copy file FontConfigDialog Font Configuration תצורת גופן Disable automatic hinting for bold fonts LCD filter: Automatic hinting רמיזה אוטומטית Hinting רמיזה Font resolution: רזולוציית גופן: dpi dpi Subpixel geometry: Antialiasing החלקת קצוות Hinting style: סגנון רמיזה: None ללא Slight מועט Medium בינוני Full מלא <i>%1</i> already exists. Do you want to replace it? <i>%1</i> כבר קיים. האם ברצונך להחליפו? FontsPage ... ... General: כללי: Fixed width: רוחב מקובע: Create fonts.conf צור fonts.conf Remove fonts.conf הסר fonts.conf Remove Font Configuration הסר תצרת גופן Are you sure you want to delete <i>%1</i>? האם אתה בטוח כי ברצונך למחוק את <i>%1</i>? InterfacePage Double click interval: תדירות לחיצה כפולה: Cursor flash time: ComboBox effect: ToolTip effect: אפקט תיבה צצה: ToolBox effect: ms מילישניות Disable נטרל Animate הנפש Fade עמעם Menu effect: אפקט תפריט: Enable gui effects אפשר אפקטי ממשק Dialog buttons layout: פריסת לחצני דו־שיח Keyboard scheme: Menus have icons תפריטים בעלי סמלים Dialog buttons have icons לחצני דו שיח בעלי סמלים Activate item on single-click הפעל פריטים בלחיצה יחידה Toolbar button style: עיצוב לחצן סרגל כלים Mouse wheel scroll lines: גלגלת העכבר גוללת (שורות): Show shortcut underlines Show shortcuts in context menus Only display the icon הצג רק את הסמל Only display the text הצג רק את הטקסט The text appears beside the icon טקסט ליד הסמל The text appears under the icon טקסט מתחת לסמל Follow the application style לפי עיצוב היישום עצמו MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance הופעה Fonts גופנים Icon Theme ערכת סמלים Interface ממשק Style Sheets Troubleshooting Version: %1 גרסא: %1 Warning אזהרה Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor עורך לוח צבעים Reset palette אפס לוח צבעים Build inactive palette בנה לוח צבעים לא פעיל Build disabled palette בנה לוח צבעים מנוטרל Active פעיל Inactive לא פעיל Disabled מנוטרל Dark אפל Window text טקסט חלון Button background רקע לחצן Bright בהיר Less bright בהיר פחות Less dark אפל פחות Window חלון Shadow צל Bright text טקסט בהיר Button text טקסט לחצן Normal text טקסט רגיל Normal background רקע רגיל Highlight הבלט Highlighted text הבלט טקסט Visited link קישורים שנצפו Default שגרתי Tooltip background רקע תיבה צצה Tooltip text טקסט תיבה צצה Link קישור Alternate background רקע חליפי Placeholder text Accent Select Color בחר צבע PreviewForm Preview Window חלון תצוגה מקדימה Tab 1 כרטיסייה 1 PushButton לחצן דחיפה Tab 2 כרטיסייה 2 RadioButton לחצן רדיו CheckBox תיבת סימון QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create צור Edit ערוך Rename שנה שם Remove הסר Create a Copy צור העתק View File name: שם קובץ: Enter Style Sheet Name Error שגיאה The file "%1" already exists הקובץ "%1" כבר קיים Confirm Remove אימות הסרה Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file לא מסוגל לשנות שם קובץ %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove הסר Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_hu.ts000066400000000000000000000765701475047133000211740ustar00rootroot00000000000000 AppearancePage Style: Stílus: Preview Előnézet Active palette Aktív paletta Inactive palette Inaktív paletta Disabled palette Letiltott paletta Palette Paletta Default Alapértelmezett Custom Egyéni Color scheme: Színséma: ... ... Standard dialogs: Alapértelmezett párbeszédablakok: Create Létrehozás Edit Szerkesztés Create a Copy Másolat létrehozás Rename Átnevezés Remove Eltávolítás Enter Color Scheme Name Színséma neve File name: Fájlnév: Error Hiba The color scheme "%1" already exists "%1" színséma már létezik Warning Figyelmeztetés The color scheme "%1" is read only "%1" színséma csak olvasható Confirm Remove Törlés megerősítése Are you sure you want to remove color scheme "%1"? Biztos törölni szeretné ezt a színsémát "%1"? %1 (copy) %1 (másol) Unable to copy file Nem lehet másolni a fájlt FontConfigDialog Font Configuration Betűtípus beállítások Disable automatic hinting for bold fonts LCD filter: LCD szűrő: Automatic hinting Hinting Font resolution: dpi dpi Subpixel geometry: Al-pixel geometria: Antialiasing Hinting style: None Nem Slight Enyhe Medium Közepes Full Teljes <i>%1</i> already exists. Do you want to replace it? <i>%1</i> már létezik. Szeretné felülírni? FontsPage ... ... General: Általános: Fixed width: Rögzített szélesség: Create fonts.conf fonts.conf létrehozás Remove fonts.conf fonts.conf eltávolítás Remove Font Configuration Betűtípus beállítások eltávolítása Are you sure you want to delete <i>%1</i>? Biztosan szeretné ezt törölni: <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms ms Disable Eltávolítás Animate Animálás Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Elrendezés Fonts Betűtípusok Icon Theme Ikonok Interface Style Sheets Troubleshooting Version: %1 Warning Figyelmeztetés Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Elérhető Inactive Nem elérhető Disabled Letíltva Dark Sötét Window text Ablak szöveg Button background Gomb háttér Bright Less bright Less dark Window Ablak Shadow Bright text Button text Normal text Normal background Highlight Kiemelés Highlighted text Szöveg kiemelés Visited link Default Alapértelmezett Tooltip background Tooltip text Link Hivatkozás Alternate background Placeholder text Accent Select Color Szín kiválasztás PreviewForm Preview Window Ablak előnézet Tab 1 Fül 1 PushButton Tab 2 Fül 2 RadioButton CheckBox Jelölőnégyzet QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Létrehoz Edit Szerkeszt Rename Átnevez Remove Töröl Create a Copy Másolat létrehozás View Nézet File name: Fájlnév: Enter Style Sheet Name Error Hiba The file "%1" already exists Confirm Remove Törlés megerősítése Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file Nem lehet másolni a fájlt TroubleshootingPage Ignored applications: Add... Remove Eltávolítás Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_it.ts000066400000000000000000000770611475047133000211700ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_it_IT.ts000066400000000000000000000772121475047133000215620ustar00rootroot00000000000000 AppearancePage Style: Stile: Preview Anteprima Active palette Colori attivi Inactive palette Colori inattivi Disabled palette Colori disabilitati Palette Colori Default Predefiniti Custom Personalizzati Color scheme: Schema colori: ... ... Standard dialogs: Finestre di dialogo standard: Create Crea Edit Modifica Create a Copy Crea una copia Rename Rinomina Remove Rimuovi Enter Color Scheme Name Inserisci nome dello schema colori File name: Nome file: Error Errore The color scheme "%1" already exists Lo schema colori "%1" è già esistente Warning Attenzione The color scheme "%1" is read only Lo schema colori "%1" è in sola lettura Confirm Remove Conferma rimozione Are you sure you want to remove color scheme "%1"? Sei sicuro di voler rimuovere lo schema colori "%1"? %1 (copy) %1 (copia) Unable to copy file Impossibile copiare il file FontConfigDialog Font Configuration Configurazione caratteri Disable automatic hinting for bold fonts Disabilita hinting automatico per grassetto LCD filter: Filtro LCD: Automatic hinting Hinting automatico Hinting Hinting Font resolution: Risoluzione font: dpi dpi Subpixel geometry: Geometria sub-pixel: Antialiasing Anti-aliasing Hinting style: Stile di hinting: None Nessuno Slight Moderato Medium Medio Full Intero <i>%1</i> already exists. Do you want to replace it? <i>%1</i> già esistente. Vuoi sostituirlo? FontsPage ... ... General: Generale: Fixed width: Larghezza fissa: Create fonts.conf Crea fonts.conf Remove fonts.conf Elimina fonts.conf Remove Font Configuration Elimina la configurazione dei font Are you sure you want to delete <i>%1</i>? Sei sicuro di voler eliminare <i>%1</i>? InterfacePage Double click interval: Intervallo doppio clic: Cursor flash time: Intervallo lampeggio cursore: ComboBox effect: Effetto casella combinata: ToolTip effect: Effetto suggerimento: ToolBox effect: Effetto casella strumenti: ms ms Disable Disabilita Animate Animazione Fade Dissolvenza Menu effect: Effetto menu: Enable gui effects Abilita effetti interfaccia grafica Dialog buttons layout: Disposizione pulsanti finestre dialogo: Keyboard scheme: Schema della tastiera: Menus have icons Menu con icone Dialog buttons have icons Pulsanti finestre dialogo con icone Activate item on single-click Attiva oggetto con clic singolo Toolbar button style: Stile pulsante barra strumenti: Mouse wheel scroll lines: Linee scorrimento rotellina mouse: Show shortcut underlines Mostra sottolineatura collegamenti Show shortcuts in context menus Mostra le scorciatoie nei menu contestuali Only display the icon Mostra solo l'icona Only display the text Mostra solo il testo The text appears beside the icon Il testo appare accanto all'icona The text appears under the icon Il testo appare sotto l'icona Follow the application style Segui lo stile dell'applicazione MainWindow Qt6 Configuration Tool Strumento di configurazione Qt6 The application is not configured correctly. L'applicazione non è configurata correttamente. Information Informazioni Hide Nascondi Appearance Aspetto Fonts Caratteri Icon Theme Tema icone Interface Interfaccia Style Sheets Fogli di stile Troubleshooting Version: %1 Versione: %1 Warning Avviso Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Editor colori Reset palette Azzera colori Build inactive palette Crea colori inattivi Build disabled palette Crea colori disabilitati Active Attivo Inactive Inattivo Disabled Disabilitato Dark Scuro Window text Testo finestra Button background Sfondo pulsante Bright Chiaro Less bright Meno chiaro Less dark Meno scuro Window Finestra Shadow Ombreggiatura Bright text Testo chiaro Button text Testo pulsante Normal text Testo normale Normal background Sfondo normale Highlight Evidenzia Highlighted text Testo evidenziato Visited link Collegamento visitato Default Predefinito Tooltip background Sfondo suggerimento Tooltip text Testo suggerimento Link Collegamento Alternate background Sfondo alternativo Placeholder text Accent Select Color Seleziona colore PreviewForm Preview Window Finestra di anteprima Tab 1 Linguetta 1 PushButton Pulsante Tab 2 Linguetta 2 RadioButton Pulsante a scelta singola CheckBox Casella di spunta QSSEditorDialog %1 - Style Sheet Editor %1 - Editor fogli di stile Style Sheet Editor Editor fogli di stile QSSPage Create Crea Edit Modifica Rename Rinomina Remove Rimuovi Create a Copy Crea una Copia View Visualizza File name: Nome file: Enter Style Sheet Name Inserisci nome del foglio di stile Error Errore The file "%1" already exists Il file "%1" è già esistente Confirm Remove Conferma rimozione Are you sure you want to remove style sheet "%1"? Sei sicuro di voler rimuovere il foglio di stile "%1"? Rename Style Sheet Rinomina il foglio di stile Style sheet name: Nome del foglio di stile: The style sheet "%1" already exists Il foglio di stile "%1" è già esistente Unable to rename file Impossibile rinominare file %1 (copy).qss Unable to copy file Impossibile copiare il file TroubleshootingPage Ignored applications: Add... Remove Rimuovi Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_ja.ts000066400000000000000000001024171475047133000211400ustar00rootroot00000000000000 AppearancePage Style: スタイル: Preview プレビュー Active palette アクティブパレット Inactive palette 非アクティブなパレット Disabled palette 無効なパレット Palette パレット Default デフォルト Custom カスタム Color scheme: 配色: ... ... Standard dialogs: 標準ダイアログ: Create 作成 Edit 編集 Create a Copy コピーを作成 Rename リネーム Remove 削除 Enter Color Scheme Name 配色名を入力してください File name: ファイル名: Error エラー The color scheme "%1" already exists 配色 "%1" は既に存在します Warning 警告 The color scheme "%1" is read only 配色 "%1" は読み取り専用です Confirm Remove 削除の確認 Are you sure you want to remove color scheme "%1"? 配色 "%1" を削除してもよろしいですか? %1 (copy) %1 (コピー) Unable to copy file ファイルをコピーできません FontConfigDialog Font Configuration フォント設定 Disable automatic hinting for bold fonts ボールドフォントでは自動ヒンティングを無効にする LCD filter: LCD フィルター: Automatic hinting 自動ヒンティング Hinting ヒンティング Font resolution: フォント解像度: dpi dpi Subpixel geometry: サブピクセルジオメトリ: Antialiasing アンチエイリアス Hinting style: ヒンティングスタイル: None なし Slight わずか Medium 中間 Full フル <i>%1</i> already exists. Do you want to replace it? <i>%1</i> はすでに存在します。置き換えますか? FontsPage ... ... General: 全般: Fixed width: 等幅フォント: Create fonts.conf fonts.conf を作成 Remove fonts.conf fonts.conf を削除 Remove Font Configuration フォント設定を削除 Are you sure you want to delete <i>%1</i>? <i>%1</i> を削除してもよろしいですか? InterfacePage Double click interval: ダブルクリックの間隔: Cursor flash time: カーソルの点滅時間: ComboBox effect: コンボボックス効果: ToolTip effect: ツールチップ効果: ToolBox effect: ツールボックス効果: ms ms Disable 無効 Animate アニメーション Fade フェード Menu effect: メニュー効果: Enable gui effects GUI 効果を有効にする Dialog buttons layout: ダイアログボタンのレイアウト: Keyboard scheme: キーボードスキーム: Menus have icons メニューにアイコンを表示する Dialog buttons have icons ダイアログボタンにアイコンを表示する Activate item on single-click シングルクリックでアイテムをアクティブにする Toolbar button style: ツールバーボタンのスタイル: Mouse wheel scroll lines: マウスホイールのスクロール行数: Show shortcut underlines ショートカットの下線を表示する Show shortcuts in context menus コンテキストメニューにショートカットを表示する Only display the icon アイコンのみを表示する Only display the text テキストのみを表示する The text appears beside the icon アイコンの横にテキストを表示する The text appears under the icon アイコンの下にテキストを表示する Follow the application style アプリケーションのスタイルに従う MainWindow Qt6 Configuration Tool Qt6 設定ツール The application is not configured correctly. アプリケーションが正しく設定されていません。 Information 情報 Hide 隠す Appearance 外観 Fonts フォント Icon Theme アイコンテーマ Interface インターフェース Style Sheets スタイルシート Troubleshooting トラブルシューティング Version: %1 バージョン: %1 Warning 警告 Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). 環境変数 <b>QT_STYLE_OVERRIDE</b> を削除してください(現在の値: <b>%1</b>)。 The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). 環境変数 <b>QT_QPA_PLATFORMTHEME</b> が設定されていません(必要な値: <b>qt6ct</b> or <b>qt5ct</b>)。 The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). 環境変数 <b>QT_QPA_PLATFORMTHEME</b> environment variable が正しく設定されていません (現在の値: <b>%1</b>, 必要な値: <b>qt6ct</b> or <b>qt5ct</b>)。 Unable to find <b>libqt6ct-style.so</b> <b>libqt6ct-style.so</b> が見つかりません The <b>%1</b> plugin is compiled against incompatible Qt version (%2). <b>%1</b> プラグインは、互換性のない Qt バージョン (%2) に対してコンパイルされています。 PaletteEditDialog Palette Editor パレットエディター Reset palette パレットをリセット Build inactive palette 非アクティブなパレットを作成 Build disabled palette 無効なパレットを作成 Active アクティブ Inactive 非アクティブ Disabled 無効 Dark 暗い Window text ウィンドウテキスト Button background ボタンの背景 Bright 明るい Less bright 明るめ Less dark 暗め Window ウィンドウ Shadow Bright text 明るいテキスト Button text ボタンのテキスト Normal text 通常のテキスト Normal background 通常の背景 Highlight ハイライト Highlighted text ハイライトされたテキスト Visited link 訪問したリンク Default デフォルト Tooltip background ツールチップの背景 Tooltip text ツールチップテキスト Link リンク Alternate background 代わりの背景 Placeholder text プレースホルダーテキスト Accent Select Color 色を選択 PreviewForm Preview Window プレビューウィンドウ Tab 1 タブ 1 PushButton プッシュボタン Tab 2 タブ 2 RadioButton ラジオボタン CheckBox チェックボックス QSSEditorDialog %1 - Style Sheet Editor %1 - スタイルシートエディター Style Sheet Editor スタイルシートエディター QSSPage Create 作成 Edit 編集 Rename リネーム Remove 削除 Create a Copy コピーを作成 View 閲覧 File name: ファイル名: Enter Style Sheet Name スタイルシート名を入力 Error エラー The file "%1" already exists ファイル "%1" は既に存在します Confirm Remove 削除の確認 Are you sure you want to remove style sheet "%1"? スタイルシート "%1" を削除してもよろしいですか? Rename Style Sheet スタイルシートをリネーム Style sheet name: スタイルシート名: The style sheet "%1" already exists スタイルシート "%1" はすでに存在します Unable to rename file ファイル名を変更できません %1 (copy).qss %1 (コピー).qss Unable to copy file ファイルをコピーできません TroubleshootingPage Ignored applications: 無視するアプリケーション: Add... 追加... Remove 削除 Do not apply any styles and color schemes for the listed applications. リストにあるアプリケーションにはスタイルや配色を適用しません。 Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. トップレベルのウィジェットには純粋なラスターサーフェスを使用させ、非ネイティブのGLベースの子ウィジェットをサポートしないようにする。 Force raster surface ラスターサーフェスを強制 Select Application アプリケーションを選択 Executable files (*) 実行ファイル (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_kk.ts000066400000000000000000000770611475047133000211610ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_lt.ts000066400000000000000000000770611475047133000211730ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_nl.ts000066400000000000000000000770611475047133000211650ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_nl_NL.ts000066400000000000000000001005121475047133000215420ustar00rootroot00000000000000 AppearancePage Style: Stijl: Preview Voorvertoning Active palette Actief kleurenschema Inactive palette Inactief kleurenschema Disabled palette Uitgeschakeld kleurenschema Palette Kleurenschema Default Standaard Custom Aangepast Color scheme: Kleurenschema: ... Standard dialogs: Standaard dialoogvensters: Create Maken Edit Bewerken Create a Copy Kopie maken Rename Naam wijzigen Remove Verwijderen Enter Color Scheme Name Geef dit kleurenschema een naam File name: Bestandsnaam: Error Fout The color scheme "%1" already exists Het kleurenschema “%1” bestaat al Warning Waarschuwing The color scheme "%1" is read only Het kleurenschema “%1” is alleen-lezen Confirm Remove Verwijderen bevestigen Are you sure you want to remove color scheme "%1"? Weet je zeker dat je het kleurenschema “%1” wilt verwijderen? %1 (copy) %1 (kopie) Unable to copy file Het bestand kan niet worden gekopieerd FontConfigDialog Font Configuration Lettertype-instellingen Disable automatic hinting for bold fonts Automatische subpixelweergave uitschakelen voor vetgedrukte lettertypen LCD filter: Lcd-filter: Automatic hinting Automatische subpixelweergave Hinting Subpixelweergave Font resolution: Lettertyperesolutie: dpi dpi Subpixel geometry: Subpixelafmetingen: Antialiasing Anti-kartelvorming Hinting style: Stijl van subpixelweergave: None Geen Slight Licht Medium Gemiddeld Full Volledig <i>%1</i> already exists. Do you want to replace it? <i>%1</i> bestaat al. Wil je het vervangen? FontsPage ... General: Algemeen: Fixed width: Vaste breedte: Create fonts.conf fonts.conf samenstellen Remove fonts.conf fonts.conf verwijderen Remove Font Configuration Lettertypeconfiguatie verwijderen Are you sure you want to delete <i>%1</i>? Weet je zeker dat je <i>%1</i> wilt verwijderen? InterfacePage Double click interval: Dubbelklik-tussenpoos: Cursor flash time: Cursor-knippertijd: ComboBox effect: Uitrolmenu-effect: ToolTip effect: Hulpballoneffect: ToolBox effect: Gereedschapsvenstereffect: ms ms Disable Uitschakelen Animate Uitschuiven Fade Vervagen Menu effect: Menu-effect: Enable gui effects Effecten inschakelen Dialog buttons layout: Volgorde van dialoogvensterknoppen: Keyboard scheme: Toetsenbordschema: Menus have icons Menu's voorzien van pictogrammen Dialog buttons have icons Dialoogvensterknoppen voorzien van pictogrammen Activate item on single-click Item activeren met enkele klik Toolbar button style: Werkbalkknopstijl: Mouse wheel scroll lines: Aantal te scrollen regels met muis: Show shortcut underlines Sneltoetsacties onderstrepen Show shortcuts in context menus Sneltoetsacties tonen in rechtermuisknopmenu's Only display the icon Alleen pictogram tonen Only display the text Alleen tekst tonen The text appears beside the icon Tekst naast pictogram tonen The text appears under the icon Tekst onder pictogram tonen Follow the application style Programmastijl volgen MainWindow Qt6 Configuration Tool Qt6-instellingen The application is not configured correctly. Het programma is niet goed ingesteld. Information Informatie Hide Verbergen Appearance Vormgeving Fonts Lettertypen Icon Theme Pictogramthema Interface Uiterlijk Style Sheets Stijlbladen Troubleshooting Probleemoplossing Version: %1 Versie: %1 Warning Waarschuwing Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Verwijder de omgevingsvariabel <b>QT_STYLE_OVERRIDE</b> (huidige waarde: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). De <b>QT_QPA_PLATFORMTHEME</b>-omgevingsvariabel is niet juist ingesteld. Vereiste waarden: <b>qt6ct</b> of <b>qt5ct</b>. The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). De omgevingsvariabel <b>QT_QPA_PLATFORMTHEME</b> is niet goed ingesteld (huidige waarde: <b>%1</b> - vereiste waarde: <b>qt6ct</b> of <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> <b>libqt6ct-style.so</b> is niet aangetroffen. The <b>%1</b> plugin is compiled against incompatible Qt version (%2). De plug-in <b>%1</b> is gebouwd met een incompatibele Qt-versie (%2). PaletteEditDialog Palette Editor Kleurenschemabewerker Reset palette Standaardwaarden teugzetten Build inactive palette Inactief kleurenschema samenstellen Build disabled palette Uitgeschakeld kleurenschema samenstellen Active Actief Inactive Inactief Disabled Uitgeschakeld Dark Donker Window text Venstertekst Button background Knopachtergrond Bright Licht Less bright Minder licht Less dark Minder donker Window Venster Shadow Schaduw Bright text Lichte tekst Button text Knoptekst Normal text Normale tekst Normal background Normale achtergrond Highlight Markering Highlighted text Gemarkeerde tekst Visited link Bezochte link Default Standaard Tooltip background Hulpballonachtergrond Tooltip text Hulpballontekst Link Link Alternate background Afwisselende achtergrond Placeholder text Plaatshoudertekst Accent Accentkleur Select Color Kleur selecteren PreviewForm Preview Window Voorbeeldvenster Tab 1 Tabblad 1 PushButton Drukknop Tab 2 Tabblad 2 RadioButton Keuzerondje CheckBox Selectievakje QSSEditorDialog %1 - Style Sheet Editor %1 - Stijlbladbewerker Style Sheet Editor Stijlbladbewerker QSSPage Create Maken Edit Bewerken Rename Naam wijzigen Remove Verwijderen Create a Copy Kopie maken View Weergave File name: Bestandsnaam: Enter Style Sheet Name Geef dit stijlblad een naam Error Foutmelding The file "%1" already exists Het bestand “%1” bestaat al Confirm Remove Verwijderen bevestigen Are you sure you want to remove style sheet "%1"? Weet je zeker dat je het stijlblad “%1” wilt verwijderen? Rename Style Sheet Stijlbladnaam wijzigen Style sheet name: Stijlbladnaam: The style sheet "%1" already exists Het stijlblad “%1” bestaat al Unable to rename file De bestandsnaam kan niet worden gewijzigd %1 (copy).qss %1 (kopie).qss Unable to copy file Het bestand kan niet worden gekopieerd TroubleshootingPage Ignored applications: Genegeerde programma's: Add... Toevoegen… Remove Verwijderen Do not apply any styles and color schemes for the listed applications. Pas geen stijlen en kleurenschema's toe op programma's op deze lijst. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Dit zorgt er voor dat zichtbare elementen worden uitgelijnd op een rooster en geen ondersteuning hebben voor onderliggende OpenGL-widgets. Force raster surface Rooster afdwingen Select Application Kies een programma Executable files (*) Uitvoerbare bestanden (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_pl.ts000066400000000000000000001003141475047133000211530ustar00rootroot00000000000000 AppearancePage Style: Styl: Preview Podgląd Active palette Aktywna paleta Inactive palette Nieaktywna paleta Disabled palette Wyłączona paleta Palette Paleta Default Domyślna Custom Niestandardowa Color scheme: Zestaw kolorów: ... Działania Standard dialogs: Standardowe okna dialogowe: Create Nowy... Edit Edytuj... Create a Copy Powiel... Rename Zmień nazwę... Remove Usuń Enter Color Scheme Name Wprowadź nazwę zestawu kolorów File name: Nazwa pliku: Error Błąd The color scheme "%1" already exists Zestaw kolorów „%1” już istnieje Warning Ostrzeżenie The color scheme "%1" is read only Zestaw kolorów „%1” jest tylko do odczytu Confirm Remove Potwierdź usunięcie Are you sure you want to remove color scheme "%1"? Czy na pewno chcesz usunąć zestaw kolorów „%1”? %1 (copy) %1 (kopia) Unable to copy file Nie można skopiować pliku FontConfigDialog Font Configuration Ustawienia czcionek Disable automatic hinting for bold fonts Wyłącz automatyczny hinting pogrubionych czcionek LCD filter: Filtr LCD: Automatic hinting Automatyczny hinting Hinting Hinting Font resolution: Rozdzielczość czcionki: dpi dpi Subpixel geometry: Geometria subpikselów: Antialiasing Antyaliasing Hinting style: Styl hintingu: None Brak Slight Delikatny Medium Średni Full Pełny <i>%1</i> already exists. Do you want to replace it? Plik <i>%1</i> już istnieje. Czy chcesz go nadpisać? FontsPage ... ... General: Ogólna: Fixed width: Stała szerokość: Create fonts.conf Utwórz fonts.conf Remove fonts.conf Usuń fonts.conf Remove Font Configuration Usuń plik konfiguracyjny czcionek Are you sure you want to delete <i>%1</i>? Czy na pewno chcesz usunąć plik <i>%1</i>? InterfacePage Double click interval: Szybkość dwukliku: Cursor flash time: Częstotliwość migania kursora: ComboBox effect: Efekt pola wyboru: ToolTip effect: Efekt podpowiedzi: ToolBox effect: Efekt przybornika: ms ms Disable Wyłączony Animate Animacja Fade Zanikanie Menu effect: Efekt menu: Enable gui effects Włącz efekty interfejsu Dialog buttons layout: Kolejność przycisków okna dialogowego: Keyboard scheme: Układ klawiatury: Menus have icons Opcje menu mają ikony Dialog buttons have icons Przyciski okien dialogowych mają ikony Activate item on single-click Aktywuj elementy jednym kliknięciem Toolbar button style: Styl paska narzędzi: Mouse wheel scroll lines: Liczba wierszy przewijanych kółkiem myszy: Show shortcut underlines Pokaż akceleratory klawiatury Show shortcuts in context menus Pokaż skróty klawiszowe w menu kontekstowych 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 pod ikonami Follow the application style Zgodnie ze stylem aplikacji MainWindow Qt6 Configuration Tool Narzędzie konfiguracji Qt6 The application is not configured correctly. Ten program nie jest poprawnie skonfigurowany. Information Szczegóły Hide Ukryj Appearance Wygląd Fonts Czcionki Icon Theme Motyw ikon Interface Interfejs Style Sheets Arkusze stylów Troubleshooting Rozwiązywanie problemów Version: %1 Wersja: %1 Warning Ostrzeżenie Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Należy usunąć zmienną środowiskową <b>QT_STYLE_OVERRIDE</b> (bieżąca wartość: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). Zmienna środowiskowa <b>QT_QPA_PLATFORMTHEME</b> nie jest ustawiona (wartości wymagane: <b>qt6ct</b> lub <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Zmienna środowiskowa <b>QT_QPA_PLATFORMTHEME</b> nie jest ustawiona poprawnie (bieżąca wartość: <b>%1</b>, wymagane wartości: <b>qt6ct</b> lub <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> Nie można znaleźć biblioteki <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). Wtyczka <b>%1</b> została skompilowana z niekompatybilną wersją Qt (%2). PaletteEditDialog Palette Editor Edytor palety Reset palette Zresetuj paletę Build inactive palette Zbuduj nieaktywną paletę Build disabled palette Zbuduj wyłączoną paletę Active Aktywna Inactive Nieaktywna Disabled Wyłączona Dark Ciemny Window text Tekst okna Button background Tło przycisku Bright Jasny Less bright Mniej jasny Less dark Mniej ciemny Window Okno Shadow Cień Bright text Jasny tekst Button text Tekst przycisku Normal text Zwykły tekst Normal background Zwykłe tło Highlight Zaznaczenie Highlighted text Zaznaczony tekst Visited link Odwiedzony link Default Domyślny Tooltip background Tło podpowiedzi Tooltip text Tekst podpowiedzi Link Odnośnik Alternate background Alternatywne tło Placeholder text Tekst zastępczy Accent Akcent Select Color Wybierz kolor PreviewForm Preview Window Okno podglądu Tab 1 Karta 1 PushButton Przycisk Tab 2 Karta 2 RadioButton Przycisk opcji CheckBox Pole wyboru QSSEditorDialog %1 - Style Sheet Editor %1 — Edytor arkuszy stylów Style Sheet Editor Edytor arkuszy stylów QSSPage Create Nowy... Edit Edytuj... Rename Zmień nazwę... Remove Usuń Create a Copy Powiel... View Pokaż File name: Nazwa pliku: Enter Style Sheet Name Wprowadź nazwę arkusza stylów Error Błąd The file "%1" already exists Plik „%1” już istnieje Confirm Remove Potwierdź usunięcie Are you sure you want to remove style sheet "%1"? Czy na pewno chcesz usunąć arkusz stylów „%1”? Rename Style Sheet Zmień nazwę arkusza stylów Style sheet name: Nazwa arkusza stylów: The style sheet "%1" already exists Arkusz stylów „%1” już istnieje Unable to rename file Nie można zmienić nazwy pliku %1 (copy).qss %1 (kopia).qss Unable to copy file Nie można skopiować pliku TroubleshootingPage Ignored applications: Zignorowane aplikacje: Add... Dodaj... Remove Usuń Do not apply any styles and color schemes for the listed applications. Nie stosuj żadnych stylów i schematów kolorów do wymienionych aplikacji. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Spraw, aby widżety najwyższego poziomu używały czystych powierzchni rastrowych i nie obsługuj nienatywnych widżetów podrzędnych opartych na GL. Force raster surface Wymuś powierzchnię rastrową Select Application Wybierz aplikację Executable files (*) Pliki wykonywalne (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_pt.ts000066400000000000000000000770611475047133000211770ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_pt_BR.ts000066400000000000000000000772761475047133000215720ustar00rootroot00000000000000 AppearancePage Style: Estilo: Preview Visualização Active palette Paleta ativa Inactive palette Paleta inativa Disabled palette Paleta desativada Palette Paleta Default Padrão Custom Personalizadas Color scheme: Esquema de cores: ... ... Standard dialogs: Diálogos padrão: Create Criar Edit Editar Create a Copy Criar uma cópia Rename Renomear Remove Remover Enter Color Scheme Name Digite o nome do esquema de cores File name: Nome do arquivo: Error Erro The color scheme "%1" already exists O esquema de cores "%1" já existe Warning Aviso The color scheme "%1" is read only O esquema de cores "%1" é somente leitura Confirm Remove Confirme Remover Are you sure you want to remove color scheme "%1"? Tem certeza de que deseja remover o esquema de cores "%1"? %1 (copy) %1 (cópia) Unable to copy file Não é possível copiar o arquivo FontConfigDialog Font Configuration Configuração de Fontes Disable automatic hinting for bold fonts Desativar dicas automáticas para fontes em negrito LCD filter: Filtro LCD: Automatic hinting Dicas automáticas Hinting Sugerir Font resolution: Resolução da fonte: dpi dpi Subpixel geometry: Geometria de subpixel: Antialiasing Antialiasing Hinting style: Sugerir estilo: None Nenhum Slight Leve Medium Médio Full Cheio <i>%1</i> already exists. Do you want to replace it? <i>%1</i>já existe. Quer substituir? FontsPage ... ... General: Geral: Fixed width: Largura corrigida: Create fonts.conf Criar fonts.conf Remove fonts.conf Remover fonts.conf Remove Font Configuration Remover configuração de fonte Are you sure you want to delete <i>%1</i>? Tem certeza de que deseja excluir <i>%1</i>? InterfacePage Double click interval: Intervalo de clique duplo: Cursor flash time: Tempo de flash do cursor: ComboBox effect: Efeito ComboBox: ToolTip effect: Efeito de dica de ferramenta: ToolBox effect: Efeito de caixa de ferramentas: ms ms Disable Desabilitar Animate Animar Fade desvanecer Menu effect: Efeito do menu: Enable gui effects Ativar efeitos de gui Dialog buttons layout: Layout dos botões de diálogo: Keyboard scheme: Esquema de teclado: Menus have icons Menus têm ícones Dialog buttons have icons Botões de diálogo têm ícones Activate item on single-click Ativar item em um clique Toolbar button style: Estilo do botão da barra de ferramentas: Mouse wheel scroll lines: Linhas de rolagem da roda do mouse: Show shortcut underlines Mostrar atalhos de sublinhados Show shortcuts in context menus Mostrar atalhos nos menus de contexto Only display the icon Exibe apenas o ícone Only display the text Exibe apenas o texto The text appears beside the icon O texto aparece ao lado do ícone The text appears under the icon O texto aparece sob o ícone Follow the application style Siga o estilo do aplicativo MainWindow Qt6 Configuration Tool The application is not configured correctly. O aplicativo não está configurado corretamente. Information Informação Hide Esconder Appearance Aparência Fonts Fontes Icon Theme Tema de Ícones Interface Interface Style Sheets Folha de estilo Troubleshooting Version: %1 Versão: %1 Warning Aviso Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Por favor remova o<b>QT_STYLE_OVERRIDE</b> variável de ambiente (valor atual: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Editor de paleta Reset palette Resetar paleta Build inactive palette Construir paleta inativa Build disabled palette Construir paleta desativada Active Ativo Inactive Inativo Disabled Desativado Dark Sombrio Window text Texto da janela Button background Fundo do botão Bright Brilhante Less bright Menos brilhante Less dark Menos escuro Window Janela Shadow Sombra Bright text Brilho do texto Button text Texto do botão Normal text Texto normal Normal background Plano de fundo normal Highlight Realçar Highlighted text Texto destacado Visited link Link visitado Default Padrão Tooltip background Fundo de dica de ferramenta Tooltip text Texto da dica de ferramenta Link Link Alternate background Plano de fundo alternativo Placeholder text Texto de espaço reservado Accent Select Color Selecione a cor PreviewForm Preview Window Janela de pré-visualização Tab 1 Aba 1 PushButton BotãoPressão Tab 2 Aba 2 RadioButton BotãoRadio CheckBox Caixa de verificação QSSEditorDialog %1 - Style Sheet Editor %1 - Editor de folhas de estilo Style Sheet Editor Editor de folhas de estilo QSSPage Create Criar Edit Editar Rename Renomear Remove Remover Create a Copy Crie uma cópia View Ver File name: Nome do arquivo: Enter Style Sheet Name Insira o nome da folha de estilo Error Erro The file "%1" already exists O arquivo "%1" já existe Confirm Remove Confirme o Remover Are you sure you want to remove style sheet "%1"? Tem certeza de que deseja remover a folha de estilos "%1"? Rename Style Sheet Renomear Folha de Estilo Style sheet name: Nome da folha de estilo: The style sheet "%1" already exists A folha de estilos "%1" já existe Unable to rename file Não é possível renomear o arquivo %1 (copy).qss %1 (cópia).qss Unable to copy file Não é possível copiar o arquivo TroubleshootingPage Ignored applications: Add... Remove Remover Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_ru.ts000066400000000000000000001054141475047133000211740ustar00rootroot00000000000000 AppearancePage Style: Стиль: Preview Предварительный просмотр Active palette Активная палитра Inactive palette Неактивная палитра Disabled palette Палитра выключенных элеметнов Palette Палитра Default По умолчанию Custom Изменённая Color scheme: Цветовая схема: ... ... Standard dialogs: Стандартные диалоги: Create Создать Edit Изменить Create a Copy Создать копию Rename Переименовать Remove Удалить Enter Color Scheme Name Введите имя цветовой схемы File name: Имя файла: Error Ошибка The color scheme "%1" already exists Цветовая схема "%1" уже существует Warning Предупреждение The color scheme "%1" is read only Цветовая схема "%1" доступна только для чтения Confirm Remove Подтвердите удаление Are you sure you want to remove color scheme "%1"? Вы уверены, что хотите удалить цветовую схему "%1"? %1 (copy) %1 (копия) Unable to copy file Невозможно скопировать файл FontConfigDialog Font Configuration Настройка шрифтов Disable automatic hinting for bold fonts Отключить автоуточнение для жирных шрифтов LCD filter: Фильтр LCD: Automatic hinting Автоматическое уточнение Hinting Уточнение Font resolution: Разрешение шрифтов: dpi точек/дюйм Subpixel geometry: Геометрия субпикселей: Antialiasing Сглаживание Hinting style: Стиль уточнения: None Выключен Slight Слабое Medium Среднее Full Полное <i>%1</i> already exists. Do you want to replace it? Файл <i>%1</i> уже существует. Хотите ли вы его заменить? FontsPage ... ... General: Общий: Fixed width: Фиксированной ширины: Create fonts.conf Создать fonts.conf Remove fonts.conf Удалить fonts.conf Remove Font Configuration Удалить настройку шрифтов Are you sure you want to delete <i>%1</i>? Вы уверены, что хотите удалить <i>%1</i>? InterfacePage Double click interval: Интервал двойного щелчка: Cursor flash time: Период мигания курсора: ComboBox effect: Эффект выпадающего списка: ToolTip effect: Эффект подсказки: ToolBox effect: Эффект панели инструментов: ms мс Disable Выключен Animate Анимация Fade Затухание Menu effect: Эффект меню: Enable gui effects Включить эффекты интерфейса Dialog buttons layout: Расположение кнопок диалога: Keyboard scheme: Стандартные горячие клавиши: Menus have icons Показывать значки в меню Dialog buttons have icons Показывать значки на кнопках диалогов Activate item on single-click Активировать элементы списка одним щелчком Toolbar button style: Стиль кнопок панелей инструментов: Mouse wheel scroll lines: Шаг прокрутки колесом мыши, строк: Show shortcut underlines Подчёркивать клавиатурные сокращения в меню Show shortcuts in context menus Показывать горячие клавиши в контекстных меню Only display the icon Отображать только значок Only display the text Отображать только текст The text appears beside the icon Отображать текст рядом со значком The text appears under the icon Отображать текст под значком Follow the application style Определяется стилем приложения MainWindow Qt6 Configuration Tool Средство настройки Qt6 The application is not configured correctly. Приложение не настроено. Information Информация Hide Скрыть Appearance Внешний вид Fonts Шрифты Icon Theme Стиль значков Interface Интерфейс Style Sheets Таблицы стилей Troubleshooting Устранение проблем Version: %1 Версия: %1 Warning Предупреждение Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Пожалуйста, удалите переменную среды <b>QT_STYLE_OVERRIDE</b> (текущее значение: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). Переменная среды <b>QT_QPA_PLATFORMTHEME</b> не установлена (требуемые значения: <b>qt6ct</b> или <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Переменная среды<b>QT_QPA_PLATFORMTHEME</b> установлена неправильно (текущее значение: <b>%1</b>, требуемые значения: <b>qt6ct</b>или <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> Не найден <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). Модуль %1 собран с несовместимой версией Qt (%2). PaletteEditDialog Palette Editor Редактор палитры Reset palette Сбросить палитру Build inactive palette Создать неактивную политру Build disabled palette Создать "выключенную" палитру Active Активная Inactive Неактивная Disabled Отключенная Dark Тёмный Window text Текст окна Button background Фон кнопки Bright Яркий Less bright Менее яркий Less dark Менее тёмный Window Окно Shadow Тень Bright text Яркий текст Button text Текст кнопки Normal text Обычный текст Normal background Обычный фон Highlight Выделенная область Highlighted text Выделенный текст Visited link Посещённая ссылка Default По умолчанию Tooltip background Фон подсказки Tooltip text Текст подсказки Link Ссылка Alternate background Альтернативный фон Placeholder text Замещающий текст Accent Подсветка Select Color Выберите цвет PreviewForm Preview Window Окно предпросмотра Tab 1 Вкладка 1 PushButton Кнопка Tab 2 Вкладка 2 RadioButton Переключатель CheckBox Выключатель QSSEditorDialog %1 - Style Sheet Editor %1 - Редактор таблиц стилей Style Sheet Editor Редактор таблиц стилей QSSPage Create Создать Edit Изменить Rename Переименовать Remove Удалить Create a Copy Создать копию View Просмотр File name: Имя файла: Enter Style Sheet Name Введите имя таблицы стилей Error Ошибка The file "%1" already exists Файл "%1" уже существует Confirm Remove Подтвердите удаление Are you sure you want to remove style sheet "%1"? Вы уверены, что хотите удалить таблицу стилей "%1"? Rename Style Sheet Переименовать таблицу стилей Style sheet name: Имя таблицы стилей: The style sheet "%1" already exists Таблица стилей с именем "%1" уже существует Unable to rename file Невозможно переименовать файл %1 (copy).qss %1 (копия).qss Unable to copy file Невозможно скопировать файл TroubleshootingPage Ignored applications: Игнорируемые приложения: Add... Добавить... Remove Удалить Do not apply any styles and color schemes for the listed applications. Не применять стили и цветовые схемы для перечисленных приложений. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Включает растровые поверхности для виджетов верхнего уровня и отключает поддержку дочерних виджетов на базе GL. Force raster surface Задействовать растровые поверхности Select Application Выберите приложение Executable files (*) Исполняемые файлы (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_sk.ts000066400000000000000000000765561475047133000212010ustar00rootroot00000000000000 AppearancePage Style: Štýl: Preview Náhľad Active palette Aktívna paleta Inactive palette Neaktívna paleta Disabled palette Zakázaná paleta Palette Paleta Default Výchozia Custom Vlastná Color scheme: Farebná schéma: ... ... Standard dialogs: Create Vytvoriť Edit Upraviť Create a Copy Vytvoriť kópiu Rename Premenovať Remove Odstrániť Enter Color Scheme Name Zadajte názov farebnej schémy File name: Názov súboru: Error Chyba The color scheme "%1" already exists Farebná schéma "%1" už existuje Warning Varovanie The color scheme "%1" is read only Farebná schéma "%1" je len na čítanie Confirm Remove Potvrdiť odstránenie Are you sure you want to remove color scheme "%1"? Ste si istý, že chcete odstrániť farebnú schému "%1"? %1 (copy) %1 (kópia) Unable to copy file FontConfigDialog Font Configuration Nastavenie písma Disable automatic hinting for bold fonts Zakázať automatický hinting hrubých písiem LCD filter: LCD filter: Automatic hinting Automatický hinting Hinting Hinting Font resolution: Rozlíšenie písma: dpi dpi Subpixel geometry: Geometria subpixelov: Antialiasing Vyhladzovanie Hinting style: Štýl hintingu: None Žiadny Slight Slabý Medium Stredný Full Plný <i>%1</i> already exists. Do you want to replace it? <i>%1</i> už existuje. Chcete ho nahradiť? FontsPage ... ... General: Všeobecné: Fixed width: S pevnou šírkou: Create fonts.conf Vytvoriť fonts.conf Remove fonts.conf Odstrániť fonts.conf Remove Font Configuration Odstrániť nastavenie písma Are you sure you want to delete <i>%1</i>? Naozaj chcete vymazať <i>%1</i>? InterfacePage Double click interval: Interval pre dvojklik: Cursor flash time: Doba blikania kurzoru: ComboBox effect: Efekt rozbaľovacieho zoznamu: ToolTip effect: Efekt tooltipu: ToolBox effect: Efekt toolboxu: ms ms Disable Zakázať Animate Animovať Fade Blednutie Menu effect: Efekt menu: Enable gui effects Povoliť efekty rozhrania Dialog buttons layout: Rozmiestnenie tlačítok dialógu: Keyboard scheme: Menus have icons Menu majú ikonky Dialog buttons have icons Dialógové tlačítka majú ikonky Activate item on single-click Aktivovať položku jediným kliknutím Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Vzhľad Fonts Písma Icon Theme Téma ikon Interface Rozhranie Style Sheets Štýly Troubleshooting Version: %1 Verzia: %1 Warning Varovanie Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Editor palety Reset palette Nastaviť paletu znovu Build inactive palette Vytvoriť nečinnú paletu Build disabled palette Vytvoriť zakázanú paletu Active Aktívna Inactive Neaktívna Disabled Zakázaná Dark Tmavé Window text Text okna Button background Pozadie tlačítka Bright Svetlé Less bright Menej svetlé Less dark Tmavé Window Okno Shadow Tieň Bright text Svetlý text Button text Text tlačítka Normal text Normálny text Normal background Normálne pozadie Highlight Zvýraznenie Highlighted text Zvýraznený text Visited link Navštívený odkaz Default Výchozia Tooltip background Pozadie tooltipu Tooltip text Text tooltipu Link Odkaz Alternate background Striedajúce pozadie Placeholder text Accent Select Color Vybrať farbu PreviewForm Preview Window Okno náhľadu Tab 1 Karta 1 PushButton Tlačítko Tab 2 Karta 2 RadioButton Prepínač CheckBox Zaškrtávacie políčko QSSEditorDialog %1 - Style Sheet Editor %1 - Editor štýlov Style Sheet Editor Editor štýlu QSSPage Create Vytvoriť Edit Upraviť Rename Premenovať Remove Odstrániť Create a Copy Vytvoriť kópiu View File name: Názov súboru: Enter Style Sheet Name Zadajte názov štýlu Error Chyba The file "%1" already exists Súbor "%1" už existuje Confirm Remove Potvrdiť odstránenie Are you sure you want to remove style sheet "%1"? Ste si istý, že chcete odstrániť štýl "%1"? Rename Style Sheet Premenovať štýl Style sheet name: Názov štýlu: The style sheet "%1" already exists Štýl "%1" už existuje Unable to rename file Nedá sa premenovať súbor %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Odstrániť Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_sr.ts000066400000000000000000001012611475047133000211660ustar00rootroot00000000000000 AppearancePage Style: Стил: Preview Преглед Active palette Активна палета Inactive palette Неактивна палета Disabled palette Искључена палета Palette Палета Default Подразумевано Custom Прилагођено Color scheme: Шема боја: ... ... Standard dialogs: Create Креирај Edit Измени Create a Copy Креирај копију Rename Преименуј Remove Обриши Enter Color Scheme Name Унеси име шеме боја File name: Име фајла: Error Грешка The color scheme "%1" already exists Шема боја "%1" већ постоји Warning Упозорење The color scheme "%1" is read only Шема боја је "%1" само за читање Confirm Remove Потврди брисање Are you sure you want to remove color scheme "%1"? Да ли сте сигурни да желите брисање шеме боја "%1"? %1 (copy) %1 (копирај) Unable to copy file FontConfigDialog Font Configuration Поставке фонта Disable automatic hinting for bold fonts Искључи аутоматски наговештај за подебљане фонтове LCD filter: LCD филтер: Automatic hinting Аутоматски наговештај Hinting Наговештај Font resolution: Резолуција фонта: dpi dpi Subpixel geometry: Субпиксел геометрија: Antialiasing Антиалиас Hinting style: Стил наговештаја: None Ништа Slight Танак Medium Средњи Full Пун <i>%1</i> already exists. Do you want to replace it? <i>%1</i> већ постоји. Да ли желите да замените? FontsPage ... ... General: Опште: Fixed width: Одређена ширина: Create fonts.conf Креирај fonts.conf Remove fonts.conf Обриши fonts.conf Remove Font Configuration Обриши поставке фонта Are you sure you want to delete <i>%1</i>? Да ли сте сигурни да желите брисање <i>%1</i>? InterfacePage Double click interval: Интервал дуплог клика: Cursor flash time: Време за курсор: ComboBox effect: ComboBox ефекат: ToolTip effect: ToolTip ефекат: ToolBox effect: ToolBox ефекат: ms ms Disable Искључи Animate Анимирај Fade Избледи Menu effect: Мени ефекат: Enable gui effects Омогући ефекте сучеља Dialog buttons layout: Изглед дијалога за дугмиће: Keyboard scheme: Menus have icons Мени са иконама Dialog buttons have icons Дијалог дугмића са иконама Activate item on single-click Активирај ставку на један клик Toolbar button style: Изглед дугмета у траци алата: Mouse wheel scroll lines: Линије точкића миша: Show shortcut underlines Прикажи пречицу Show shortcuts in context menus Only display the icon Прикажи само икону Only display the text Прикажи само текст The text appears beside the icon Текст изнад иконе The text appears under the icon Текст испод иконе Follow the application style Прати изглед апликације MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Изглед Fonts Фонтови Icon Theme Тема икона Interface Сучеље Style Sheets Стил листова Troubleshooting Version: %1 Верзија: %1 Warning Упозорење Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Едитор палете Reset palette Ресетуј палету Build inactive palette Оформи неактивну палету Build disabled palette Оформи искључену палету Active Активна Inactive Неактивна Disabled Искључена Dark Тамно Window text Текст прозора Button background Позадина дугмића Bright Светло Less bright Мање светло Less dark Мање тамно Window Прозор Shadow Сенка Bright text Светли текст Button text Текст дугмића Normal text Нормалан текст Normal background Нормална позадина Highlight Истакнуто Highlighted text Истакнут текст Visited link Посећени линк Default Подразумевано Tooltip background Позадина искачућег прозора Tooltip text Текст искачућег прозора Link Линк Alternate background Алтернативна позадина Placeholder text Accent Select Color Одабери боју PreviewForm Preview Window Прозор за преглед Tab 1 Таб 1 PushButton Дугме Tab 2 Таб 2 RadioButton Радио дугме CheckBox Поље за ознаку QSSEditorDialog %1 - Style Sheet Editor %1 - Едитор стила Style Sheet Editor Едитор стила QSSPage Create Креирај Edit Измени Rename Преименуј Remove Обриши Create a Copy Креирај копију View File name: Име фајла Enter Style Sheet Name Унесите име за стил Error Грешка The file "%1" already exists Фајл "%1" већ постоји Confirm Remove Потврди брисање Are you sure you want to remove style sheet "%1"? Да ли сте сигурни да желите брисање стила "%1"? Rename Style Sheet Преименуј стил Style sheet name: Име стила: The style sheet "%1" already exists Стил "%1" већ постоји Unable to rename file Није могуће преименовати фајл %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Обриши Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_sr_BA.ts000066400000000000000000000770611475047133000215420ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_sr_RS.ts000066400000000000000000000770611475047133000216040ustar00rootroot00000000000000 AppearancePage Style: Preview Active palette Inactive palette Disabled palette Palette Default Custom Color scheme: ... Standard dialogs: Create Edit Create a Copy Rename Remove Enter Color Scheme Name File name: Error The color scheme "%1" already exists Warning The color scheme "%1" is read only Confirm Remove Are you sure you want to remove color scheme "%1"? %1 (copy) Unable to copy file FontConfigDialog Font Configuration Disable automatic hinting for bold fonts LCD filter: Automatic hinting Hinting Font resolution: dpi Subpixel geometry: Antialiasing Hinting style: None Slight Medium Full <i>%1</i> already exists. Do you want to replace it? FontsPage ... General: Fixed width: Create fonts.conf Remove fonts.conf Remove Font Configuration Are you sure you want to delete <i>%1</i>? InterfacePage Double click interval: Cursor flash time: ComboBox effect: ToolTip effect: ToolBox effect: ms Disable Animate Fade Menu effect: Enable gui effects Dialog buttons layout: Keyboard scheme: Menus have icons Dialog buttons have icons Activate item on single-click Toolbar button style: Mouse wheel scroll lines: Show shortcut underlines Show shortcuts in context menus Only display the icon Only display the text The text appears beside the icon The text appears under the icon Follow the application style MainWindow Qt6 Configuration Tool The application is not configured correctly. Information Hide Appearance Fonts Icon Theme Interface Style Sheets Troubleshooting Version: %1 Warning Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Reset palette Build inactive palette Build disabled palette Active Inactive Disabled Dark Window text Button background Bright Less bright Less dark Window Shadow Bright text Button text Normal text Normal background Highlight Highlighted text Visited link Default Tooltip background Tooltip text Link Alternate background Placeholder text Accent Select Color PreviewForm Preview Window Tab 1 PushButton Tab 2 RadioButton CheckBox QSSEditorDialog %1 - Style Sheet Editor Style Sheet Editor QSSPage Create Edit Rename Remove Create a Copy View File name: Enter Style Sheet Name Error The file "%1" already exists Confirm Remove Are you sure you want to remove style sheet "%1"? Rename Style Sheet Style sheet name: The style sheet "%1" already exists Unable to rename file %1 (copy).qss Unable to copy file TroubleshootingPage Ignored applications: Add... Remove Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_tr.ts000066400000000000000000000774251475047133000212050ustar00rootroot00000000000000 AppearancePage Style: Tarz: Preview Önizleme Active palette Etkin palet Inactive palette Etkin olmayan palet Disabled palette Devre dışı olan palet Palette Palet Default Varsayılan Custom Özel Color scheme: Renk şeması: ... ... Standard dialogs: Standart iletişim kutuları: Create Oluştur Edit Düzenle Create a Copy Bir Kopya oluştur Rename Yeniden adlandır Remove Kaldır Enter Color Scheme Name Renk Şeması Adını Girin File name: Dosya adı: Error Hata The color scheme "%1" already exists "%1" renk şeması zaten var Warning Uyarı The color scheme "%1" is read only "%1" renk şeması salt okunur Confirm Remove Kaldırmayı Onayla Are you sure you want to remove color scheme "%1"? "%1" renk şemasını kaldırmak istediğinizden emin misiniz? %1 (copy) %1 (kopya) Unable to copy file Dosya kopyalanamıyor FontConfigDialog Font Configuration Yazı Tipi Yapılandırması Disable automatic hinting for bold fonts Kalın yazı tipleri için otomatik ipucunu devre dışı bırak LCD filter: LCD Süzgeci: Automatic hinting Otomatik ipucu Hinting İpucu Font resolution: Yazı tipi çözünürlüğü: dpi dpi Subpixel geometry: Alt piksel geometrisi: Antialiasing Düzgünleştirme Hinting style: İpucu tarzı: None Yok Slight Hafif Medium Orta Full Tam <i>%1</i> already exists. Do you want to replace it? <i>%1</i> zaten var. Onu değiştirmek ister misiniz? FontsPage ... ... General: Genel: Fixed width: Sabit genişlik: Create fonts.conf fonts.conf oluştur Remove fonts.conf fonts.conf kaldır Remove Font Configuration Yazı tipi Yapılandırmasını Kaldır Are you sure you want to delete <i>%1</i>? <i>%1</i> silmek istediğinize emin misiniz? InterfacePage Double click interval: Çift tıklama aralığı: Cursor flash time: İmleç yanıp sönme süresi: ComboBox effect: AçılanKutu etkisi: ToolTip effect: Araçİpucu etkisi: ToolBox effect: AraçKutusu etkisi: ms ms Disable Devre dışı bırak Animate Canlandırma Fade Karartma Menu effect: Menü etkisi: Enable gui effects Arayüz etkilerini etkinleştir Dialog buttons layout: İletişim kutusu düğme düzeni: Keyboard scheme: Klavye düzeni: Menus have icons Menülerde simgeler var Dialog buttons have icons İletişim kutusu düğmelerinde simgeler var Activate item on single-click Tek tıklamayla öğeyi etkinleştir Toolbar button style: Araç çubuğu düğme tarzı: Mouse wheel scroll lines: Fare tekerleği kaydırma çizgileri: Show shortcut underlines Kısayol alt çizgilerini göster Show shortcuts in context menus Bağlam menülerinde kısayolları göster Only display the icon Sadece simgeyi göster Only display the text Sadece metni göster The text appears beside the icon Metin simgenin yanında görünür The text appears under the icon Metin simgenin altında görünür Follow the application style Uygulama tarzını takip et MainWindow Qt6 Configuration Tool Qt6 Yapılandırma Aracı The application is not configured correctly. Uygulama doğru yapılandırılmamış. Information Bilgi Hide Gizle Appearance Görünüm Fonts Yazı Tipleri Icon Theme Simge Teması Interface Arayüz Style Sheets Tarz Sayfaları Troubleshooting Version: %1 Sürüm: %1 Warning Uyarı Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Lütfen <b>QT_STYLE_OVERRIDE</b> ortam değişkenini kaldırın (geçerli değer: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> <b>libqt6ct-style.so</b> bulunamadı The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Palet Düzenleyici Reset palette Paleti sıfırla Build inactive palette Etkin olmayan palet oluştur Build disabled palette Devre dışı bırakılmış palet oluştur Active Etkin Inactive Etkin olmayan Disabled Devre dışı Dark Koyu Window text Pencere metni Button background Düğme arka planı Bright Parlak Less bright Az parlak Less dark Az koyu Window Pencere Shadow Gölge Bright text Parlak metin Button text Düğme metni Normal text Olağan metin Normal background Olağan arka plan Highlight Vurgulama Highlighted text Vurgulanan metin Visited link Ziyaret edilen bağlantı Default Varsayılan Tooltip background Araç ipucu arka planı Tooltip text Araç ipucu metni Link Bağlantı Alternate background Alternatif arka plan Placeholder text Yer tutucu metni Accent Select Color Renk Seç PreviewForm Preview Window Önizleme Penceresi Tab 1 Sekme 1 PushButton BasmaDüğmesi Tab 2 Sekme 2 RadioButton RadyoDüğmesi CheckBox OnayKutusu QSSEditorDialog %1 - Style Sheet Editor %1 - Tarz Sayfası Düzenleyicisi Style Sheet Editor Tarz Sayfası Düzenleyicisi QSSPage Create Oluştur Edit Düzenle Rename Yeniden Adlandır Remove Kaldır Create a Copy Bir Kopya Oluştur View Görüntüle File name: Dosya adı: Enter Style Sheet Name Tarz Sayfası Adını Girin Error Hata The file "%1" already exists "%1" dosyası zaten var Confirm Remove Kaldırmayı Onayla Are you sure you want to remove style sheet "%1"? "%1" tarz sayfasını kaldırmak istediğinize emin misiniz? Rename Style Sheet Tarz Sayfasını Yeniden Adlandır Style sheet name: Tarz sayfası adı: The style sheet "%1" already exists "%1" tarz sayfası zaten var Unable to rename file Dosya yeniden adlandırılamıyor %1 (copy).qss %1 (kopya).qss Unable to copy file Dosya kopyalanamıyor TroubleshootingPage Ignored applications: Add... Remove Kaldır Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_uk.ts000066400000000000000000001015241475047133000211630ustar00rootroot00000000000000 AppearancePage Style: Стиль: Preview Глянути Active palette Вікно з фокусом Inactive palette Решта вікон Disabled palette Вимкнені віджети Palette Палітра Default Типово Custom По-своєму Color scheme: Схема кольорів: ... ... Standard dialogs: Звичні діалоги: Create Створити Edit Редагувати Create a Copy Зробити копію Rename Перейменувати Remove Вилучити Enter Color Scheme Name Назвіть схему кольорів File name: Ім'я файлу: Error Помилка The color scheme "%1" already exists Схема кольорів "%1" уже існує Warning Попередження The color scheme "%1" is read only Схему кольорів "%1" можна лише читати Confirm Remove Підтвердити видалення Are you sure you want to remove color scheme "%1"? Ви певні, що хочете видалити схему кольорів "%1"? %1 (copy) %1 (копія) Unable to copy file Не вдалося скопіювати файл FontConfigDialog Font Configuration Параметри шрифту Disable automatic hinting for bold fonts Вимкнути автохінтинг грубих шрифтів LCD filter: РК-фільтр: Automatic hinting Автохінтинг Hinting Хінтинг Font resolution: Роздільність шрифту: dpi dpi Subpixel geometry: Геометрія субпікселів: Antialiasing Згладження Hinting style: Стиль хінтингу: None Жодного Slight Легкий Medium Середній Full Повний <i>%1</i> already exists. Do you want to replace it? <i>%1</i> уже існує. Замінити? FontsPage ... ... General: Загальне: Fixed width: Термінал: Create fonts.conf Створити fonts.conf Remove fonts.conf Видалити fonts.conf Remove Font Configuration Стерти параметри шрифту Are you sure you want to delete <i>%1</i>? Точно стерти <i>%1</i>?: InterfacePage Double click interval: Затримка подвійного кліку: Cursor flash time: Період блимання курсору: ComboBox effect: Поле зі списком: ToolTip effect: Спливна підказка: ToolBox effect: Вкладки: ms мс Disable Без анімації Animate Випад Fade Згасання Menu effect: Меню: Enable gui effects Увімкнути ефекти Dialog buttons layout: Кнопки в діалогах: Keyboard scheme: Схема клавіш: Menus have icons Іконки в меню Dialog buttons have icons Іконки в кнопках діалогів Activate item on single-click Активувати одним кліком Toolbar button style: Стиль кнопок панелі: Mouse wheel scroll lines: Коліщатко скролить рядки: Show shortcut underlines Підкреслювати скорочення Show shortcuts in context menus Скорочення в контекстних меню Only display the icon Лише іконка Only display the text Лише текст The text appears beside the icon Текст поруч з іконкою The text appears under the icon Текст під іконкою Follow the application style Як бажає програма MainWindow Qt6 Configuration Tool Засіб налаштування Qt6 The application is not configured correctly. Програма налаштована хибно. Information Інформація Hide Сховати Appearance Вигляд Fonts Шрифти Icon Theme Тема іконок Interface Інтерфейс Style Sheets Стилі Troubleshooting Version: %1 Версія: %1 Warning Увага Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). Будь ласка, видаліть змінну середовища <b>QT_STYLE_OVERRIDE</b> (зараз: <b>%1</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> <b>libqt6ct-style.so</b> не знайдено The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor Редактор палітри Reset palette Відновити палітру Build inactive palette Зібрати палітру решти вікон Build disabled palette Зібрати палітру вимкнених віджетів Active Фокус Inactive Решта Disabled Вимкнене Dark Темно Window text Текст вікна Button background Тло кнопки Bright Світло Less bright Тьмяніше Less dark Світліше Window Вікно Shadow Тінь Bright text Світлий текст Button text Текст кнопки Normal text Звичний текст Normal background Звичне тло Highlight Виділення Highlighted text Виділений текст Visited link Відвіданий лінк Default Типово Tooltip background Тло підказки Tooltip text Текст підказки Link Лінк Alternate background Змінне тло Placeholder text Мітка-заповнювач Accent Select Color Обрати колір PreviewForm Preview Window Вікно перегляду Tab 1 Вкладка 1 PushButton Командна кнопка Tab 2 Вкладка 2 RadioButton Радіокнопка CheckBox Прапорець QSSEditorDialog %1 - Style Sheet Editor %1 - Редактор стилю Style Sheet Editor Редактор стилю QSSPage Create Створити Edit Редагувати Rename Перейменувати Remove Вилучити Create a Copy Зробити копію View Глянути File name: Ім'я файлу: Enter Style Sheet Name Назвіть стиль Error Помилка The file "%1" already exists Файл "%1" уже існує Confirm Remove Підтвердити видалення Are you sure you want to remove style sheet "%1"? Точно видалити стиль "%1%? Rename Style Sheet Перейменувати стиль Style sheet name: Назва стилю: The style sheet "%1" already exists Стиль "%1" уже існує Unable to rename file Збій переміщення файлу %1 (copy).qss %1 (копія).qss Unable to copy file Збій копіювання файлу TroubleshootingPage Ignored applications: Add... Remove Вилучити Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_zh_CN.ts000066400000000000000000000762741475047133000215620ustar00rootroot00000000000000 AppearancePage Style: 风格: Preview 预览 Active palette 激活状态的调色板 Inactive palette 非激活状态的调色板 Disabled palette 失效状态的调色板 Palette 调色板 Default 缺省 Custom 自定义 Color scheme: 颜色方案: ... ... Standard dialogs: 标准对话框: Create 创建 Edit 编辑 Create a Copy 创建副本 Rename 重命名 Remove 移除 Enter Color Scheme Name 输入颜色方案名称 File name: 文件名: Error 错误 The color scheme "%1" already exists 颜色方案 "%1" 已经存在 Warning 警告 The color scheme "%1" is read only 颜色方案 "%1" 是只读状态 Confirm Remove 确认移除 Are you sure you want to remove color scheme "%1"? 您确定要移除颜色方案 "%1" 吗? %1 (copy) %1(拷贝) Unable to copy file 无法复制文件 FontConfigDialog Font Configuration 字体配置 Disable automatic hinting for bold fonts 禁用粗体自动微调 LCD filter: LCD 过滤器: Automatic hinting 自动微调 Hinting 微调 Font resolution: 字体分辨率 dpi dpi Subpixel geometry: 子像素排列: Antialiasing 抗锯齿 Hinting style: 微调风格 None Slight 轻微 Medium 中等 Full 全部 <i>%1</i> already exists. Do you want to replace it? <i>%1</i> 已经存在。您想要取代它吗? FontsPage ... ... General: 一般: Fixed width: 固定宽度: Create fonts.conf 创建 fonts.conf Remove fonts.conf 移除 fonts.conf Remove Font Configuration 移除字体配置 Are you sure you want to delete <i>%1</i>? 您确定要删除<i>%1</i>吗? InterfacePage Double click interval: 双击间隔: Cursor flash time: 光标闪烁间隔: ComboBox effect: 下拉框效果: ToolTip effect: 提示效果: ToolBox effect: 工具箱效果: ms 毫秒 Disable 禁用 Animate 动画 Fade 阴影 Menu effect: 菜单效果: Enable gui effects 启用GUI效果 Dialog buttons layout: 对话框按钮布局: Keyboard scheme: 键盘方案: Menus have icons 有图标的菜单 Dialog buttons have icons 有图标的对话框按钮 Activate item on single-click 单击激活项目 Toolbar button style: 工具栏按钮风格: Mouse wheel scroll lines: 鼠标滚轮滚动行数: Show shortcut underlines 显示快捷方式下划线 Show shortcuts in context menus 在右键菜单显示快捷方式 Only display the icon 仅显示图标 Only display the text 仅显示文本 The text appears beside the icon 文本位于图标旁 The text appears under the icon 文本位于图标下方 Follow the application style 跟随应用程序风格 MainWindow Qt6 Configuration Tool Qt6 配置工具 The application is not configured correctly. 未正确配置应用程序。 Information 信息 Hide 隐藏 Appearance 外观 Fonts 字体 Icon Theme 图标主题 Interface 界面 Style Sheets 样式表 Troubleshooting Version: %1 版本:%1 Warning 警告 Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). 请移除<b>QT_STYLE_OVERRIDE</b>环境变量(当前值:<b>%1</b>)。 The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> 无法找到<b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor 调色板编辑器 Reset palette 重置调色板 Build inactive palette 构建非激活的调色板 Build disabled palette 构建禁用状态调色板 Active 激活 Inactive 非激活 Disabled 已禁用 Dark Window text 窗口文字 Button background 按钮背景 Bright Less bright 较不亮 Less dark 较不暗 Window 窗口 Shadow 阴影 Bright text 亮文字 Button text 按钮文字 Normal text 普通文字 Normal background 普通背景 Highlight 高亮 Highlighted text 高亮文字 Visited link 已访问的链接 Default 缺省 Tooltip background 提示语背景 Tooltip text 提示语文字 Link 链接 Alternate background 备用背景 Placeholder text 占位符文本 Accent Select Color 选择颜色 PreviewForm Preview Window 预览窗口 Tab 1 页面1 PushButton 按钮 Tab 2 页面2 RadioButton 单选按钮 CheckBox 复选框 QSSEditorDialog %1 - Style Sheet Editor %1 - 样式表编辑器 Style Sheet Editor 样式表编辑器 QSSPage Create 新建 Edit 编辑 Rename 重命名 Remove 删除 Create a Copy 创建副本 View 查看 File name: 文件名: Enter Style Sheet Name 输入样式表名称 Error 错误 The file "%1" already exists 文件 “%1” 已经存在 Confirm Remove 确定删除 Are you sure you want to remove style sheet "%1"? 您确定要移除样式表 "%1" 吗? Rename Style Sheet 重命名样式表 Style sheet name: 样式表名称: The style sheet "%1" already exists 样式表 “%1” 已经存在 Unable to rename file 无法重命名文件 %1 (copy).qss %1 (副本).qss Unable to copy file 无法复制文件 TroubleshootingPage Ignored applications: Add... Remove 移除 Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/qt6ct_zh_TW.ts000066400000000000000000000764361475047133000216140ustar00rootroot00000000000000 AppearancePage Style: 風格: Preview 預覽 Active palette 作用中色彩 Inactive palette 非作用中色彩 Disabled palette 已停用的色彩 Palette 色彩 Default 預設 Custom 自訂 Color scheme: 顏色方案: ... ... Standard dialogs: 標準設計: Create 建立 Edit 編輯 Create a Copy 建立一份拷貝 Rename 重新命名 Remove 移除 Enter Color Scheme Name 輸入顏色方案名稱 File name: 檔案名稱: Error 錯誤 The color scheme "%1" already exists 顏色方案「%1」已經存在 Warning 警告 The color scheme "%1" is read only 顏色方案「%1」為唯讀狀態 Confirm Remove 確認移除 Are you sure you want to remove color scheme "%1"? 您是否確定要移除顏色方案「%1」? %1 (copy) %1(拷貝) Unable to copy file 無法複製檔案 FontConfigDialog Font Configuration 字型設定 Disable automatic hinting for bold fonts 停用粗體字的自動微調 LCD filter: LCD 過濾器: Automatic hinting 自動微調 Hinting 微調 Font resolution: 字型解析度: dpi dpi Subpixel geometry: 子像素排列方式: Antialiasing 反鉅齒 Hinting style: 微調風格: None Slight 輕微 Medium 中等 Full 完整 <i>%1</i> already exists. Do you want to replace it? <i>%1</i> 已經存在。您想要取代它嗎? FontsPage ... ... General: 一般: Fixed width: 固定寬度: Create fonts.conf 建立 fonts.conf Remove fonts.conf 移除 fonts.conf Remove Font Configuration 移除字型設定 Are you sure you want to delete <i>%1</i>? 您確定真的要刪除 <i>%1</i> 嗎? InterfacePage Double click interval: 雙敲擊間隔: Cursor flash time: 游標閃爍時間: ComboBox effect: 下拉式選單效果: ToolTip effect: 工具提示效果: ToolBox effect: 工具箱效果: ms 毫秒 Disable 停用 Animate 動畫 Fade 陰影 Menu effect: 選單效果: Enable gui effects 啟用圖形使用者介面效果 Dialog buttons layout: 對話框按鈕佈局: Keyboard scheme: 鍵盤方案: Menus have icons 有圖示的選單 Dialog buttons have icons 有圖示的對話框按鈕 Activate item on single-click 單擊啟用項目 Toolbar button style: 工具列按鈕風格: Mouse wheel scroll lines: 滑鼠滾輪捲動軸: Show shortcut underlines 顯示快捷鍵底線 Show shortcuts in context menus 在右鍵選單中顯示快捷鍵 Only display the icon 僅顯示圖示 Only display the text 僅顯示文字 The text appears beside the icon 文字在圖示旁 The text appears under the icon 文字在圖示下 Follow the application style 跟隨應用程式風格 MainWindow Qt6 Configuration Tool Qt6 設定工具 The application is not configured correctly. 應用程式未正確設定。 Information 資訊 Hide 隱藏 Appearance 外觀 Fonts 字型 Icon Theme 圖示主題 Interface 介面 Style Sheets 風格樣式表 Troubleshooting Version: %1 版本: %1 Warning 警告 Please remove the <b>QT_STYLE_OVERRIDE</b> environment variable (current value: <b>%1</b>). 請移除 <b>QT_STYLE_OVERRIDE</b> 環境變數(目前的值:<b>%1</b>)。 The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set (required values: <b>qt6ct</b> or <b>qt5ct</b>). The <b>QT_QPA_PLATFORMTHEME</b> environment variable is not set correctly (current value: <b>%1</b>, required values: <b>qt6ct</b> or <b>qt5ct</b>). Unable to find <b>libqt6ct-style.so</b> 找不到<b>libqt6ct-style.so</b> The <b>%1</b> plugin is compiled against incompatible Qt version (%2). PaletteEditDialog Palette Editor 色彩編輯器 Reset palette 重置色彩 Build inactive palette 構建非作用中的色彩 Build disabled palette 構建已停用的色彩 Active 作用中 Inactive 非作用中 Disabled 已停用 Dark 黑暗 Window text 視窗文字 Button background 按鈕背景 Bright Less bright 較不亮 Less dark 較不黑暗 Window 視窗 Shadow 陰影 Bright text 亮文字 Button text 按鈕文字 Normal text 一般文字 Normal background 一般背景 Highlight 突顯 Highlighted text 突顯的文字 Visited link 已造訪的連結 Default 預設 Tooltip background 工具提示背景 Tooltip text 工具提示文字 Link 連結 Alternate background 備用背景 Placeholder text 佔位文字 Accent Select Color 選取顏色 PreviewForm Preview Window 預覽視窗 Tab 1 分頁 1 PushButton 突出按鈕 Tab 2 分頁 2 RadioButton 無線電按鈕 CheckBox 核取方塊 QSSEditorDialog %1 - Style Sheet Editor %1 - 風格樣式表編輯器 Style Sheet Editor 風格樣式表編輯器 QSSPage Create 建立 Edit 編輯 Rename 重新命名 Remove 移除 Create a Copy 建立副本 View 檢視 File name: 檔案名稱: Enter Style Sheet Name 輸入風格樣式表名稱 Error 錯誤 The file "%1" already exists 檔案 "%1" 已經存在 Confirm Remove 確認移除 Are you sure you want to remove style sheet "%1"? 您是否確定要移除風格樣式表「%1」? Rename Style Sheet 重新命名風格樣式表 Style sheet name: 風格樣式表名稱: The style sheet "%1" already exists 風格樣式表 "%1" 已經存在 Unable to rename file 無法重新命名檔案 %1 (copy).qss %1 (copy).qss Unable to copy file 無法複製檔案 TroubleshootingPage Ignored applications: Add... Remove 移除 Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface Select Application Executable files (*) qt6ct-0.10/src/qt6ct/translations/translations.qrc000066400000000000000000000020371475047133000223020ustar00rootroot00000000000000 qt6ct_ru.qm qt6ct_zh_CN.qm qt6ct_zh_TW.qm qt6ct_tr.qm qt6ct_cs.qm qt6ct_pt_BR.qm qt6ct_pt.qm qt6ct_de.qm qt6ct_pl.qm qt6ct_fr.qm qt6ct_it.qm qt6ct_it_IT.qm qt6ct_kk.qm qt6ct_lt.qm qt6ct_hu.qm qt6ct_nl.qm qt6ct_ja.qm qt6ct_sk.qm qt6ct_es_ES.qm qt6ct_es.qm qt6ct_he.qm qt6ct_gl_ES.qm qt6ct_sr_BA.qm qt6ct_sr_RS.qm qt6ct_bg.qm qt6ct_nl_NL.qm qt6ct_el.qm qt6ct_sr.qm qt6ct_ca.qm qt6ct_ar.qm qt6ct_da.qm qt6ct_uk.qm qt6ct_fi.qm qt6ct-0.10/src/qt6ct/troubleshootingpage.cpp000066400000000000000000000057221475047133000211250ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include #include #include "qt6ct.h" #include "ui_troubleshootingpage.h" #include "troubleshootingpage.h" TroubleshootingPage::TroubleshootingPage(QWidget *parent) : TabPage(parent), m_ui(new Ui::TroubleshootingPage) { m_ui->setupUi(this); readSettings(); } TroubleshootingPage::~TroubleshootingPage() { delete m_ui; } void TroubleshootingPage::writeSettings(QSettings *settings) { settings->beginGroup("Troubleshooting"); QStringList ignoredApps; for(int i = 0; i < m_ui->ignoredAppsListWidget->count(); ++i) ignoredApps << m_ui->ignoredAppsListWidget->item(i)->text(); settings->setValue("ignored_applications", ignoredApps); settings->setValue("force_raster_widgets", m_ui->forceRasterCheckBox->checkState()); settings->endGroup(); } void TroubleshootingPage::on_addAppButton_clicked() { QString path = QFileDialog::getOpenFileName(this, tr("Select Application"), "/usr/bin", tr("Executable files (*)")); if(!path.isEmpty()) m_ui->ignoredAppsListWidget->addItem(path); } void TroubleshootingPage::on_removeAppButton_clicked() { delete m_ui->ignoredAppsListWidget->currentItem(); } void TroubleshootingPage::readSettings() { m_ui->ignoredAppsListWidget->clear(); QSettings settings(Qt6CT::configFile(), QSettings::IniFormat); settings.beginGroup("Troubleshooting"); m_ui->ignoredAppsListWidget->addItems(settings.value("ignored_applications").toStringList()); m_ui->forceRasterCheckBox->setCheckState(Qt::CheckState(settings.value("force_raster_widgets", Qt::PartiallyChecked).toInt())); settings.endGroup(); } qt6ct-0.10/src/qt6ct/troubleshootingpage.h000066400000000000000000000035771475047133000206000ustar00rootroot00000000000000/* * Copyright (c) 2020-2024, Ilya Kotov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef TROUBLESHOOTINGPAGE_H #define TROUBLESHOOTINGPAGE_H #include #include "tabpage.h" namespace Ui { class TroubleshootingPage; } class TroubleshootingPage : public TabPage { Q_OBJECT public: TroubleshootingPage(QWidget *parent); ~TroubleshootingPage(); void writeSettings(QSettings *settings) override; private slots: void on_addAppButton_clicked(); void on_removeAppButton_clicked(); private: void readSettings(); Ui::TroubleshootingPage *m_ui; }; #endif // TROUBLESHOOTINGPAGE_H qt6ct-0.10/src/qt6ct/troubleshootingpage.ui000066400000000000000000000052741475047133000207620ustar00rootroot00000000000000 TroubleshootingPage 0 0 485 371 Form Ignored applications: Add... .. Remove .. Qt::Vertical QSizePolicy::Expanding 20 68 0 0 Do not apply any styles and color schemes for the listed applications. Make top-level widgets use pure raster surfaces, and do not support non-native GL-based child widgets. Force raster surface true qt6ct-0.10/test.sh000077500000000000000000000006621475047133000140210ustar00rootroot00000000000000#!/bin/sh MYDIR=$(dirname $0) mkdir -p ${MYDIR}/src/qt6ct/styles ln -s "../../qt6ct-style/libqt6ct-style.so" "${MYDIR}/src/qt6ct/styles/" #export QT_DEBUG_PLUGINS=1 export QT_LOGGING_RULES="qt6ct.debug=true" export QT_QPA_PLATFORMTHEME=qt6ct export QT_QPA_PLATFORM_PLUGIN_PATH=${MYDIR}/src/qt6ct-qtplugin export LD_LIBRARY_PATH=${MYDIR}/src/qt6ct-common:${LD_LIBRARY_PATH} ${MYDIR}/src/qt6ct/qt6ct rm -rf ${MYDIR}/src/qt6ct/styles/