Signed-off-by: Andrew Lee (李健秋) <ajqlee@debian.org>upstream/0.9.0+20150720
parent
c5ef058162
commit
ef4c5af2a3
@ -1,2 +0,0 @@
|
||||
build
|
||||
*.kdev4
|
@ -0,0 +1,10 @@
|
||||
Upstream Authors:
|
||||
LXQt team: http://lxqt.org
|
||||
Razor team: http://razor-qt.org
|
||||
|
||||
Copyright:
|
||||
Copyright (c) 2010-2012 Razor team
|
||||
Copyright (c) 2012-2014 LXQt team
|
||||
|
||||
License: GPL-2 and LGPL-2.1+
|
||||
The full text of the licenses can be found in the 'COPYING' file.
|
@ -0,0 +1,292 @@
|
||||
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
|
||||
project(lxqt-panel)
|
||||
|
||||
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
|
||||
|
||||
# additional cmake files
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
endif()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
|
||||
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
|
||||
if(COMPILER_SUPPORTS_CXX11)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
elseif(COMPILER_SUPPORTS_CXX0X)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||
else()
|
||||
message(FATAL "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. C++11 support is required")
|
||||
endif()
|
||||
|
||||
macro(setByDefault VAR_NAME VAR_VALUE)
|
||||
if(NOT DEFINED ${VAR_NAME})
|
||||
set (${VAR_NAME} ${VAR_VALUE})
|
||||
endif(NOT DEFINED ${VAR_NAME})
|
||||
endmacro()
|
||||
|
||||
# use gcc visibility feature to decrease unnecessary exported symbols
|
||||
if (CMAKE_COMPILER_IS_GNUCXX)
|
||||
# set visibility to hidden to hide symbols, unlesss they're exporeted manually in the code
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions")
|
||||
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,-no-undefined")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
|
||||
#########################################################################
|
||||
|
||||
add_definitions (-Wall)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
find_package(Qt5DBus REQUIRED)
|
||||
find_package(Qt5LinguistTools REQUIRED)
|
||||
find_package(Qt5Xml REQUIRED)
|
||||
find_package(Qt5X11Extras REQUIRED)
|
||||
find_package(KF5WindowSystem REQUIRED)
|
||||
|
||||
find_package(lxqt REQUIRED)
|
||||
find_package(lxqt-globalkeys REQUIRED)
|
||||
find_package(lxqt-globalkeys-ui REQUIRED)
|
||||
|
||||
|
||||
include(LXQtTranslate)
|
||||
|
||||
# Warning: This must be before add_subdirectory(panel). Move with caution.
|
||||
set(PLUGIN_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/lxqt-panel")
|
||||
add_definitions(-DPLUGIN_DIR=\"${PLUGIN_DIR}\")
|
||||
message(STATUS "Panel plugins location: ${PLUGIN_DIR}")
|
||||
|
||||
#########################################################################
|
||||
|
||||
# Plugin system
|
||||
# You can enable/disable building of the plugin using cmake options.
|
||||
# cmake -DCLOCK_PLUGIN=Yes .. # Enable clock plugin
|
||||
# cmake -DCLOCK_PLUGIN=No .. # Disable clock plugin
|
||||
|
||||
include("cmake/BuildPlugin.cmake")
|
||||
|
||||
set(ENABLED_PLUGINS) # list of enabled plugins
|
||||
set(STATIC_PLUGINS) # list of statically linked plugins
|
||||
|
||||
setByDefault(CLOCK_PLUGIN Yes)
|
||||
if(CLOCK_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "clock")
|
||||
add_definitions(-DWITH_CLOCK_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Clock")
|
||||
add_subdirectory(plugin-clock)
|
||||
endif()
|
||||
|
||||
setByDefault(COLORPICKER_PLUGIN Yes)
|
||||
if(COLORPICKER_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Color Picker")
|
||||
add_subdirectory(plugin-colorpicker)
|
||||
endif()
|
||||
|
||||
setByDefault(CPULOAD_PLUGIN Yes)
|
||||
if(CPULOAD_PLUGIN)
|
||||
find_library(STATGRAB_LIB statgrab)
|
||||
|
||||
if(NOT(${STATGRAB_LIB} MATCHES "NOTFOUND"))
|
||||
list(APPEND ENABLED_PLUGINS "Cpu Load")
|
||||
add_subdirectory(plugin-cpuload)
|
||||
else()
|
||||
message(STATUS "")
|
||||
message(STATUS "CPU Load plugin requires libstatgrab")
|
||||
message(STATUS "")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
setByDefault(DIRECTORYMENU_PLUGIN Yes)
|
||||
if(DIRECTORYMENU_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Directory menu")
|
||||
add_subdirectory(plugin-directorymenu)
|
||||
endif()
|
||||
|
||||
setByDefault(DOM_PLUGIN No)
|
||||
if(DOM_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "DOM")
|
||||
add_subdirectory(plugin-dom)
|
||||
endif(DOM_PLUGIN)
|
||||
|
||||
setByDefault(DESKTOPSWITCH_PLUGIN Yes)
|
||||
if(DESKTOPSWITCH_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "desktopswitch")
|
||||
add_definitions(-DWITH_DESKTOPSWITCH_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Desktop Switcher")
|
||||
add_subdirectory(plugin-desktopswitch)
|
||||
endif()
|
||||
|
||||
setByDefault(KBINDICATOR_PLUGIN Yes)
|
||||
if(KBINDICATOR_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Keyboard Indicator")
|
||||
add_subdirectory(plugin-kbindicator)
|
||||
endif(KBINDICATOR_PLUGIN)
|
||||
|
||||
setByDefault(MAINMENU_PLUGIN Yes)
|
||||
if(MAINMENU_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "mainmenu")
|
||||
add_definitions(-DWITH_MAINMENU_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Application menu")
|
||||
add_subdirectory(plugin-mainmenu)
|
||||
endif()
|
||||
|
||||
setByDefault(MOUNT_PLUGIN Yes)
|
||||
if(MOUNT_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Mount")
|
||||
add_subdirectory(plugin-mount)
|
||||
endif(MOUNT_PLUGIN)
|
||||
|
||||
setByDefault(QUICKLAUNCH_PLUGIN Yes)
|
||||
if(QUICKLAUNCH_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "quicklaunch")
|
||||
add_definitions(-DWITH_QUICKLAUNCH_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Quicklaunch")
|
||||
add_subdirectory(plugin-quicklaunch)
|
||||
endif()
|
||||
|
||||
setByDefault(SCREENSAVER_PLUGIN Yes)
|
||||
if(SCREENSAVER_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Screensaver")
|
||||
add_subdirectory(plugin-screensaver)
|
||||
endif()
|
||||
|
||||
setByDefault(SENSORS_PLUGIN Yes)
|
||||
if(SENSORS_PLUGIN)
|
||||
find_library(SENSORS_LIB sensors)
|
||||
|
||||
if(NOT(${SENSORS_LIB} MATCHES "NOTFOUND"))
|
||||
list(APPEND ENABLED_PLUGINS "Sensors")
|
||||
add_subdirectory(plugin-sensors)
|
||||
else()
|
||||
message(STATUS "")
|
||||
message(STATUS "Sensors plugin requires lm_sensors")
|
||||
message(STATUS "")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
setByDefault(SHOWDESKTOP_PLUGIN Yes)
|
||||
if(SHOWDESKTOP_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "showdesktop")
|
||||
add_definitions(-DWITH_SHOWDESKTOP_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Show Desktop")
|
||||
add_subdirectory(plugin-showdesktop)
|
||||
endif()
|
||||
|
||||
setByDefault(NETWORKMONITOR_PLUGIN Yes)
|
||||
if(NETWORKMONITOR_PLUGIN)
|
||||
find_library(STATGRAB_LIB statgrab)
|
||||
|
||||
if(NOT(${STATGRAB_LIB} MATCHES "NOTFOUND"))
|
||||
list(APPEND ENABLED_PLUGINS "Network Monitor")
|
||||
add_subdirectory(plugin-networkmonitor)
|
||||
else()
|
||||
message(STATUS "")
|
||||
message(STATUS "Network Monitor plugin requires libstatgrab")
|
||||
message(STATUS "")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
setByDefault(SYSSTAT_PLUGIN Yes)
|
||||
if(SYSSTAT_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "System Stats")
|
||||
add_subdirectory(plugin-sysstat)
|
||||
endif(SYSSTAT_PLUGIN)
|
||||
|
||||
setByDefault(TASKBAR_PLUGIN Yes)
|
||||
if(TASKBAR_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "taskbar")
|
||||
add_definitions(-DWITH_TASKBAR_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Taskbar")
|
||||
add_subdirectory(plugin-taskbar)
|
||||
endif()
|
||||
|
||||
setByDefault(STATUSNOTIFIER_PLUGIN Yes)
|
||||
if(STATUSNOTIFIER_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "statusnotifier")
|
||||
add_definitions(-DWITH_STATUSNOTIFIER_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Status Notifier")
|
||||
add_subdirectory(plugin-statusnotifier)
|
||||
endif()
|
||||
|
||||
setByDefault(TRAY_PLUGIN Yes)
|
||||
if(TRAY_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "tray")
|
||||
add_definitions(-DWITH_TRAY_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "System Tray")
|
||||
add_subdirectory(plugin-tray)
|
||||
endif()
|
||||
|
||||
setByDefault(VOLUME_PLUGIN Yes)
|
||||
setByDefault(VOLUME_USE_PULSEAUDIO Yes)
|
||||
setByDefault(VOLUME_USE_ALSA Yes)
|
||||
if(VOLUME_PLUGIN)
|
||||
if (VOLUME_USE_PULSEAUDIO)
|
||||
find_package(PulseAudio)
|
||||
endif(VOLUME_USE_PULSEAUDIO)
|
||||
|
||||
if(VOLUME_USE_ALSA)
|
||||
find_package(ALSA)
|
||||
endif()
|
||||
|
||||
if(PULSEAUDIO_FOUND OR ALSA_FOUND)
|
||||
list(APPEND ENABLED_PLUGINS "Volume")
|
||||
message(STATUS "")
|
||||
message(STATUS "Volume plugin will be built")
|
||||
message(STATUS " ALSA: ${ALSA_FOUND}")
|
||||
message(STATUS " PulseAudio: ${PULSEAUDIO_FOUND}")
|
||||
message(STATUS "")
|
||||
add_subdirectory(plugin-volume)
|
||||
else()
|
||||
message(STATUS "")
|
||||
message(STATUS "Volume plugin requires pulseaudio or alsa")
|
||||
message(STATUS " ALSA: ${ALSA_FOUND}")
|
||||
message(STATUS " PulseAudio: ${PULSEAUDIO_FOUND}")
|
||||
message(STATUS "")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
setByDefault(WORLDCLOCK_PLUGIN Yes)
|
||||
if(WORLDCLOCK_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "worldclock")
|
||||
add_definitions(-DWITH_WORLDCLOCK_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "World Clock")
|
||||
add_subdirectory(plugin-worldclock)
|
||||
endif(WORLDCLOCK_PLUGIN)
|
||||
|
||||
setByDefault(SPACER_PLUGIN Yes)
|
||||
if(SPACER_PLUGIN)
|
||||
list(APPEND STATIC_PLUGINS "spacer")
|
||||
add_definitions(-DWITH_SPACER_PLUGIN)
|
||||
list(APPEND ENABLED_PLUGINS "Spacer")
|
||||
add_subdirectory(plugin-spacer)
|
||||
endif()
|
||||
|
||||
#########################################################################
|
||||
|
||||
message(STATUS "**************** The following plugins will be built ****************")
|
||||
foreach (PLUGIN_STR ${ENABLED_PLUGINS})
|
||||
message(STATUS " ${PLUGIN_STR}")
|
||||
endforeach()
|
||||
message(STATUS "*********************************************************************")
|
||||
|
||||
add_subdirectory(panel)
|
||||
|
||||
# building tarball with CPack -------------------------------------------------
|
||||
include(InstallRequiredSystemLibraries)
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${LXQT_MAJOR_VERSION})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${LXQT_MINOR_VERSION})
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${LXQT_PATCH_VERSION})
|
||||
set(CPACK_GENERATOR TBZ2)
|
||||
set(CPACK_SOURCE_GENERATOR TBZ2)
|
||||
set(CPACK_SOURCE_IGNORE_FILES /build/;.gitignore;.*~;.git;.kdev4;temp)
|
||||
include(CPack)
|
@ -0,0 +1,461 @@
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations
|
||||
below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it
|
||||
becomes a de-facto standard. To achieve this, non-free programs must
|
||||
be allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control
|
||||
compilation and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at least
|
||||
three years, to give the same user the materials specified in
|
||||
Subsection 6a, above, for a charge no more than the cost of
|
||||
performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply, and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License
|
||||
may add an explicit geographical distribution limitation excluding those
|
||||
countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
@ -0,0 +1,57 @@
|
||||
MACRO (BUILD_LXQT_PLUGIN NAME)
|
||||
set(PROGRAM "lxqt-panel")
|
||||
project(${PROGRAM}_${NAME})
|
||||
|
||||
set(PROG_SHARE_DIR ${CMAKE_INSTALL_FULL_DATAROOTDIR}/lxqt/${PROGRAM})
|
||||
set(PLUGIN_SHARE_DIR ${PROG_SHARE_DIR}/${NAME})
|
||||
|
||||
# Translations **********************************
|
||||
lxqt_translate_ts(${PROJECT_NAME}_QM_FILES
|
||||
UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS}
|
||||
SOURCES
|
||||
${HEADERS}
|
||||
${SOURCES}
|
||||
${MOCS}
|
||||
${UIS}
|
||||
TEMPLATE
|
||||
${NAME}
|
||||
INSTALL_DIR
|
||||
${LXQT_TRANSLATIONS_DIR}/${PROGRAM}/${NAME}
|
||||
)
|
||||
|
||||
#lxqt_translate_to(QM_FILES ${CMAKE_INSTALL_FULL_DATAROOTDIR}/lxqt/${PROGRAM}/${PROJECT_NAME})
|
||||
file (GLOB ${PROJECT_NAME}_DESKTOP_FILES_IN resources/*.desktop.in)
|
||||
lxqt_translate_desktop(DESKTOP_FILES
|
||||
SOURCES
|
||||
${${PROJECT_NAME}_DESKTOP_FILES_IN}
|
||||
)
|
||||
#************************************************
|
||||
|
||||
file (GLOB CONFIG_FILES resources/*.conf)
|
||||
|
||||
if (NOT DEFINED PLUGIN_DIR)
|
||||
set (PLUGIN_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/${PROGRAM})
|
||||
endif (NOT DEFINED PLUGIN_DIR)
|
||||
|
||||
set(QTX_LIBRARIES Qt5::Widgets)
|
||||
if(QT_USE_QTXML)
|
||||
set(QTX_LIBRARIES ${QTX_LIBRARIES} Qt5::Xml)
|
||||
endif()
|
||||
if(QT_USE_QTDBUS)
|
||||
set(QTX_LIBRARIES ${QTX_LIBRARIES} Qt5::DBus)
|
||||
endif()
|
||||
|
||||
list(FIND STATIC_PLUGINS ${NAME} IS_STATIC)
|
||||
set(SRC ${HEADERS} ${SOURCES} ${MOC_SOURCES} ${${PROJECT_NAME}_QM_FILES} ${RESOURCES} ${UIS} ${DESKTOP_FILES})
|
||||
if (${IS_STATIC} EQUAL -1) # not static
|
||||
add_library(${NAME} MODULE ${SRC}) # build dynamically loadable modules
|
||||
install(TARGETS ${NAME} DESTINATION ${PLUGIN_DIR}) # install the *.so file
|
||||
else() # static
|
||||
add_library(${NAME} STATIC ${SRC}) # build statically linked lib
|
||||
endif()
|
||||
target_link_libraries(${NAME} ${QTX_LIBRARIES} lxqt ${LIBRARIES} KF5::WindowSystem)
|
||||
|
||||
install(FILES ${CONFIG_FILES} DESTINATION ${PLUGIN_SHARE_DIR})
|
||||
install(FILES ${DESKTOP_FILES} DESTINATION ${PROG_SHARE_DIR})
|
||||
|
||||
ENDMACRO(BUILD_LXQT_PLUGIN)
|
@ -0,0 +1,97 @@
|
||||
set(PROJECT lxqt-panel)
|
||||
|
||||
set(PRIV_HEADERS
|
||||
panelpluginsmodel.h
|
||||
lxqtpanel.h
|
||||
lxqtpanelapplication.h
|
||||
lxqtpanellayout.h
|
||||
plugin.h
|
||||
lxqtpanellimits.h
|
||||
popupmenu.h
|
||||
pluginmoveprocessor.h
|
||||
lxqtpanelpluginconfigdialog.h
|
||||
config/configpaneldialog.h
|
||||
config/configpanelwidget.h
|
||||
config/configpluginswidget.h
|
||||
config/addplugindialog.h
|
||||
)
|
||||
|
||||
# using LXQt namespace in the public headers.
|
||||
set(PUB_HEADERS
|
||||
lxqtpanelglobals.h
|
||||
ilxqtpanelplugin.h
|
||||
ilxqtpanel.h
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
panelpluginsmodel.cpp
|
||||
lxqtpanel.cpp
|
||||
lxqtpanelapplication.cpp
|
||||
lxqtpanellayout.cpp
|
||||
plugin.cpp
|
||||
popupmenu.cpp
|
||||
pluginmoveprocessor.cpp
|
||||
lxqtpanelpluginconfigdialog.cpp
|
||||
config/configpaneldialog.cpp
|
||||
config/configpanelwidget.cpp
|
||||
config/configpluginswidget.cpp
|
||||
config/addplugindialog.cpp
|
||||
)
|
||||
|
||||
set(UI
|
||||
config/configpanelwidget.ui
|
||||
config/configpluginswidget.ui
|
||||
config/addplugindialog.ui
|
||||
)
|
||||
|
||||
set(LIBRARIES
|
||||
lxqt
|
||||
)
|
||||
|
||||
file(GLOB CONFIG_FILES resources/*.conf)
|
||||
|
||||
############################################
|
||||
|
||||
add_definitions(-DCOMPILE_LXQT_PANEL)
|
||||
|
||||
set(PLUGIN_DESKTOPS_DIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}/lxqt/${PROJECT}")
|
||||
add_definitions(-DPLUGIN_DESKTOPS_DIR=\"${PLUGIN_DESKTOPS_DIR}\")
|
||||
|
||||
project(${PROJECT})
|
||||
|
||||
set(QTX_LIBRARIES Qt5::Widgets Qt5::Xml Qt5::DBus)
|
||||
|
||||
# Translations
|
||||
lxqt_translate_ts(QM_FILES SOURCES
|
||||
UPDATE_TRANSLATIONS
|
||||
${UPDATE_TRANSLATIONS}
|
||||
SOURCES
|
||||
${PUB_HEADERS}
|
||||
${PRIV_HEADERS}
|
||||
${SOURCES}
|
||||
${UI}
|
||||
INSTALL_DIR
|
||||
"${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}"
|
||||
)
|
||||
|
||||
lxqt_app_translation_loader(SOURCES ${PROJECT_NAME})
|
||||
|
||||
add_executable(${PROJECT}
|
||||
${PUB_HEADERS}
|
||||
${PRIV_HEADERS}
|
||||
${QM_FILES}
|
||||
${SOURCES}
|
||||
${UI}
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT}
|
||||
${LIBRARIES}
|
||||
${QTX_LIBRARIES}
|
||||
KF5::WindowSystem
|
||||
${STATIC_PLUGINS}
|
||||
)
|
||||
|
||||
install(TARGETS ${PROJECT} RUNTIME DESTINATION bin)
|
||||
install(FILES ${CONFIG_FILES} DESTINATION ${LXQT_ETC_XDG_DIR}/lxqt)
|
||||
install(FILES ${PUB_HEADERS} DESTINATION include/lxqt)
|
@ -0,0 +1,134 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "ui_addplugindialog.h"
|
||||
#include "addplugindialog.h"
|
||||
#include "plugin.h"
|
||||
#include "../lxqtpanelapplication.h"
|
||||
|
||||
#include <LXQt/HtmlDelegate>
|
||||
#include <XdgIcon>
|
||||
#include <XdgDirs>
|
||||
|
||||
#include <QString>
|
||||
#include <QLineEdit>
|
||||
#include <QListWidgetItem>
|
||||
#include <QIcon>
|
||||
|
||||
#define SEARCH_ROLE Qt::UserRole
|
||||
#define INDEX_ROLE SEARCH_ROLE+1
|
||||
|
||||
AddPluginDialog::AddPluginDialog(QWidget *parent):
|
||||
QDialog(parent),
|
||||
ui(new Ui::AddPluginDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
QStringList desktopFilesDirs;
|
||||
desktopFilesDirs << QString(getenv("LXQT_PANEL_PLUGINS_DIR")).split(':', QString::SkipEmptyParts);
|
||||
desktopFilesDirs << QString("%1/%2").arg(XdgDirs::dataHome(), "/lxqt/lxqt-panel");
|
||||
desktopFilesDirs << PLUGIN_DESKTOPS_DIR;
|
||||
|
||||
mPlugins = LxQt::PluginInfo::search(desktopFilesDirs, QStringLiteral("LxQtPanel/Plugin"), QStringLiteral("*"));
|
||||
std::sort(mPlugins.begin(), mPlugins.end(), [](const LxQt::PluginInfo &p1, const LxQt::PluginInfo &p2) {
|
||||
return p1.name() < p2.name() || (p1.name() == p2.name() && p1.comment() < p2.comment());
|
||||
});
|
||||
|
||||
ui->pluginList->setItemDelegate(new LxQt::HtmlDelegate(QSize(32, 32), ui->pluginList));
|
||||
ui->pluginList->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
||||
filter();
|
||||
|
||||
// search
|
||||
mSearchTimer.setInterval(300);
|
||||
mSearchTimer.setSingleShot(true);
|
||||
connect(ui->searchEdit, &QLineEdit::textEdited,
|
||||
&mSearchTimer, static_cast<void (QTimer::*)()>(&QTimer::start));
|
||||
connect(&mSearchTimer, &QTimer::timeout, this, &AddPluginDialog::filter);
|
||||
connect(ui->pluginList, &QListWidget::doubleClicked, this, &AddPluginDialog::emitPluginSelected);
|
||||
connect(ui->addButton, &QPushButton::clicked, this, &AddPluginDialog::emitPluginSelected);
|
||||
|
||||
connect(dynamic_cast<LxQtPanelApplication *>(qApp), &LxQtPanelApplication::pluginAdded
|
||||
, this, &AddPluginDialog::filter);
|
||||
connect(dynamic_cast<LxQtPanelApplication *>(qApp), &LxQtPanelApplication::pluginRemoved
|
||||
, this, &AddPluginDialog::filter);
|
||||
}
|
||||
|
||||
AddPluginDialog::~AddPluginDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void AddPluginDialog::filter()
|
||||
{
|
||||
QListWidget* pluginList = ui->pluginList;
|
||||
|
||||
const int curr_item = 0 < pluginList->count() ? pluginList->currentRow() : 0;
|
||||
pluginList->clear();
|
||||
|
||||
static QIcon fallIco = XdgIcon::fromTheme("preferences-plugin");
|
||||
|
||||
int pluginCount = mPlugins.length();
|
||||
for (int i = 0; i < pluginCount; ++i)
|
||||
{
|
||||
const LxQt::PluginInfo &plugin = mPlugins.at(i);
|
||||
|
||||
QString s = QStringLiteral("%1 %2 %3 %4").arg(plugin.name(),
|
||||
plugin.comment(),
|
||||
plugin.value("Name").toString(),
|
||||
plugin.value("Comment").toString());
|
||||
if (!s.contains(ui->searchEdit->text(), Qt::CaseInsensitive))
|
||||
continue;
|
||||
|
||||
QListWidgetItem* item = new QListWidgetItem(ui->pluginList);
|
||||
// disable single-instances plugins already in use
|
||||
if (dynamic_cast<LxQtPanelApplication const *>(qApp)->isPluginSingletonAndRunnig(plugin.id()))
|
||||
{
|
||||
item->setFlags(item->flags() & ~Qt::ItemIsEnabled);
|
||||
item->setBackground(palette().brush(QPalette::Disabled, QPalette::Text));
|
||||
item->setText(QStringLiteral("<b>%1</b><br>%2<br><small>%3</small>")
|
||||
.arg(plugin.name(), plugin.comment(), tr("(only one instance can run at a time)")));
|
||||
} else
|
||||
item->setText(QStringLiteral("<b>%1</b><br>%2").arg(plugin.name(), plugin.comment()));
|
||||
item->setIcon(plugin.icon(fallIco));
|
||||
item->setData(INDEX_ROLE, i);
|
||||
}
|
||||
|
||||
if (pluginCount > 0)
|
||||
ui->pluginList->setCurrentRow(curr_item < pluginCount ? curr_item : pluginCount - 1);
|
||||
}
|
||||
|
||||
void AddPluginDialog::emitPluginSelected()
|
||||
{
|
||||
QListWidget* pluginList = ui->pluginList;
|
||||
if (pluginList->currentItem() && pluginList->currentItem()->isSelected())
|
||||
{
|
||||
LxQt::PluginInfo plugin = mPlugins.at(pluginList->currentItem()->data(INDEX_ROLE).toInt());
|
||||
emit pluginSelected(plugin);
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,63 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef LXQT_ADDPLUGINDIALOG_H
|
||||
#define LXQT_ADDPLUGINDIALOG_H
|
||||
|
||||
#include <LXQt/PluginInfo>
|
||||
#include <QDialog>
|
||||
#include <QTimer>
|
||||
|
||||
#define SEARCH_DELAY 125
|
||||
|
||||
namespace Ui {
|
||||
class AddPluginDialog;
|
||||
}
|
||||
|
||||
class AddPluginDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AddPluginDialog(QWidget *parent = 0);
|
||||
~AddPluginDialog();
|
||||
|
||||
signals:
|
||||
void pluginSelected(const LxQt::PluginInfo &plugin);
|
||||
|
||||
private:
|
||||
Ui::AddPluginDialog *ui;
|
||||
LxQt::PluginInfoList mPlugins;
|
||||
QTimer mSearchTimer;
|
||||
|
||||
private slots:
|
||||
void filter();
|
||||
void emitPluginSelected();
|
||||
};
|
||||
|
||||
#endif // LXQT_ADDPLUGINDIALOG_H
|
@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>AddPluginDialog</class>
|
||||
<widget class="QDialog" name="AddPluginDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>359</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Add Plugins</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="searchLabel">
|
||||
<property name="text">
|
||||
<string>Search:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="searchEdit"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QListWidget" name="pluginList">
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QAbstractScrollArea::AdjustToContents</enum>
|
||||
</property>
|
||||
<property name="showDropIndicator" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="alternatingRowColors">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
</property>
|
||||
<property name="verticalScrollMode">
|
||||
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
||||
</property>
|
||||
<property name="movement">
|
||||
<enum>QListView::Static</enum>
|
||||
</property>
|
||||
<property name="flow">
|
||||
<enum>QListView::TopToBottom</enum>
|
||||
</property>
|
||||
<property name="resizeMode">
|
||||
<enum>QListView::Adjust</enum>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="modelColumn">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="uniformItemSizes">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="selectionRectVisible">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="currentRow">
|
||||
<number>-1</number>
|
||||
</property>
|
||||
<property name="sortingEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="addButton">
|
||||
<property name="text">
|
||||
<string>Add Widget</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="closeButton">
|
||||
<property name="text">
|
||||
<string>Close</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="default">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>pluginList</tabstop>
|
||||
<tabstop>addButton</tabstop>
|
||||
<tabstop>closeButton</tabstop>
|
||||
<tabstop>searchEdit</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>closeButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>AddPluginDialog</receiver>
|
||||
<slot>close()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>380</x>
|
||||
<y>279</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>118</x>
|
||||
<y>270</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
@ -0,0 +1,58 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Marat "Morion" Talipov <morion.self@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "configpaneldialog.h"
|
||||
|
||||
ConfigPanelDialog::ConfigPanelDialog(LxQtPanel *panel, QWidget *parent):
|
||||
LxQt::ConfigDialog(tr("Configure Panel"), panel->settings(), parent),
|
||||
mPanelPage(nullptr),
|
||||
mPluginsPage(nullptr)
|
||||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
mPanelPage = new ConfigPanelWidget(panel, this);
|
||||
addPage(mPanelPage, tr("Panel"), QStringLiteral("configure"));
|
||||
connect(this, &ConfigPanelDialog::reset, mPanelPage, &ConfigPanelWidget::reset);
|
||||
|
||||
mPluginsPage = new ConfigPluginsWidget(panel, this);
|
||||
addPage(mPluginsPage, tr("Widgets"), QStringLiteral("preferences-plugin"));
|
||||
connect(this, &ConfigPanelDialog::reset, mPluginsPage, &ConfigPluginsWidget::reset);
|
||||
|
||||
connect(this, &ConfigPanelDialog::accepted, [panel] {
|
||||
panel->saveSettings();
|
||||
});
|
||||
}
|
||||
|
||||
void ConfigPanelDialog::showConfigPanelPage()
|
||||
{
|
||||
showPage(mPanelPage);
|
||||
}
|
||||
|
||||
void ConfigPanelDialog::showConfigPluginsPage()
|
||||
{
|
||||
showPage(mPluginsPage);
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Marat "Morion" Talipov <morion.self@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef CONFIGPANELDIALOG_H
|
||||
#define CONFIGPANELDIALOG_H
|
||||
|
||||
#include "configpanelwidget.h"
|
||||
#include "configpluginswidget.h"
|
||||
#include "../lxqtpanel.h"
|
||||
|
||||
#include <LXQt/ConfigDialog>
|
||||
|
||||
class ConfigPanelDialog : public LxQt::ConfigDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ConfigPanelDialog(LxQtPanel *panel, QWidget *parent = 0);
|
||||
|
||||
void showConfigPanelPage();
|
||||
void showConfigPluginsPage();
|
||||
|
||||
private:
|
||||
ConfigPanelWidget *mPanelPage;
|
||||
ConfigPluginsWidget *mPluginsPage;
|
||||
};
|
||||
|
||||
#endif // CONFIGPANELDIALOG_H
|
@ -0,0 +1,394 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Marat "Morion" Talipov <morion.self@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "configpanelwidget.h"
|
||||
#include "ui_configpanelwidget.h"
|
||||
|
||||
#include "../lxqtpanellimits.h"
|
||||
|
||||
#include <KWindowSystem/KWindowSystem>
|
||||
#include <QDebug>
|
||||
#include <QListView>
|
||||
#include <QDesktopWidget>
|
||||
#include <QWindow>
|
||||
#include <QColorDialog>
|
||||
#include <QFileDialog>
|
||||
#include <QStandardPaths>
|
||||
|
||||
using namespace LxQt;
|
||||
|
||||
struct ScreenPosition
|
||||
{
|
||||
int screen;
|
||||
ILxQtPanel::Position position;
|
||||
};
|
||||
Q_DECLARE_METATYPE(ScreenPosition)
|
||||
|
||||
ConfigPanelWidget::ConfigPanelWidget(LxQtPanel *panel, QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::ConfigPanelWidget),
|
||||
mPanel(panel)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
fillComboBox_position();
|
||||
fillComboBox_alignment();
|
||||
|
||||
mOldPanelSize = mPanel->panelSize();
|
||||
mOldIconSize = mPanel->iconSize();
|
||||
mOldLineCount = mPanel->lineCount();
|
||||
|
||||
mOldLength = mPanel->length();
|
||||
mOldLengthInPercents = mPanel->lengthInPercents();
|
||||
|
||||
mOldAlignment = mPanel->alignment();
|
||||
|
||||
mOldScreenNum = mPanel->screenNum();
|
||||
mScreenNum = mOldScreenNum;
|
||||
|
||||
mOldPosition = mPanel->position();
|
||||
mPosition = mOldPosition;
|
||||
|
||||
mOldHidable = mPanel->hidable();
|
||||
|
||||
ui->spinBox_panelSize->setMinimum(PANEL_MINIMUM_SIZE);
|
||||
ui->spinBox_panelSize->setMaximum(PANEL_MAXIMUM_SIZE);
|
||||
|
||||
mOldFontColor = mPanel->fontColor();
|
||||
mFontColor = mOldFontColor;
|
||||
mOldBackgroundColor = mPanel->backgroundColor();
|
||||
mBackgroundColor = mOldBackgroundColor;
|
||||
mOldBackgroundImage = mPanel->backgroundImage();
|
||||
mOldOpacity = mPanel->opacity();
|
||||
|
||||
// reset configurations from file
|
||||
reset();
|
||||
|
||||
connect(ui->spinBox_panelSize, SIGNAL(valueChanged(int)), this, SLOT(editChanged()));
|
||||
connect(ui->spinBox_iconSize, SIGNAL(valueChanged(int)), this, SLOT(editChanged()));
|
||||
connect(ui->spinBox_lineCount, SIGNAL(valueChanged(int)), this, SLOT(editChanged()));
|
||||
|
||||
connect(ui->spinBox_length, SIGNAL(valueChanged(int)), this, SLOT(editChanged()));
|
||||
connect(ui->comboBox_lenghtType, SIGNAL(activated(int)), this, SLOT(widthTypeChanged()));
|
||||
|
||||
connect(ui->comboBox_alignment, SIGNAL(activated(int)), this, SLOT(editChanged()));
|
||||
connect(ui->comboBox_position, SIGNAL(activated(int)), this, SLOT(positionChanged()));
|
||||
connect(ui->checkBox_hidable, SIGNAL(toggled(bool)), this, SLOT(editChanged()));
|
||||
|
||||
connect(ui->checkBox_customFontColor, SIGNAL(toggled(bool)), this, SLOT(editChanged()));
|
||||
connect(ui->pushButton_customFontColor, SIGNAL(clicked(bool)), this, SLOT(pickFontColor()));
|
||||
connect(ui->checkBox_customBgColor, SIGNAL(toggled(bool)), this, SLOT(editChanged()));
|
||||
connect(ui->pushButton_customBgColor, SIGNAL(clicked(bool)), this, SLOT(pickBackgroundColor()));
|
||||
connect(ui->checkBox_customBgImage, SIGNAL(toggled(bool)), this, SLOT(editChanged()));
|
||||
connect(ui->lineEdit_customBgImage, SIGNAL(textChanged(QString)), this, SLOT(editChanged()));
|
||||
connect(ui->pushButton_customBgImage, SIGNAL(clicked(bool)), this, SLOT(pickBackgroundImage()));
|
||||
connect(ui->slider_opacity, SIGNAL(sliderReleased()), this, SLOT(editChanged()));
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::reset()
|
||||
{
|
||||
ui->spinBox_panelSize->setValue(mOldPanelSize);
|
||||
ui->spinBox_iconSize->setValue(mOldIconSize);
|
||||
ui->spinBox_lineCount->setValue(mOldLineCount);
|
||||
|
||||
ui->comboBox_position->setCurrentIndex(indexForPosition(mOldScreenNum, mOldPosition));
|
||||
|
||||
ui->checkBox_hidable->setChecked(mOldHidable);
|
||||
|
||||
fillComboBox_alignment();
|
||||
ui->comboBox_alignment->setCurrentIndex(mOldAlignment + 1);
|
||||
|
||||
ui->comboBox_lenghtType->setCurrentIndex(mOldLengthInPercents ? 0 : 1);
|
||||
widthTypeChanged();
|
||||
ui->spinBox_length->setValue(mOldLength);
|
||||
|
||||
mFontColor.setNamedColor(mOldFontColor.name());
|
||||
ui->pushButton_customFontColor->setStyleSheet(QString("background: %1").arg(mOldFontColor.name()));
|
||||
mBackgroundColor.setNamedColor(mOldBackgroundColor.name());
|
||||
ui->pushButton_customBgColor->setStyleSheet(QString("background: %1").arg(mOldBackgroundColor.name()));
|
||||
ui->lineEdit_customBgImage->setText(mOldBackgroundImage);
|
||||
ui->slider_opacity->setValue(mOldOpacity);
|
||||
|
||||
ui->checkBox_customFontColor->setChecked(mOldFontColor.isValid());
|
||||
ui->checkBox_customBgColor->setChecked(mOldBackgroundColor.isValid());
|
||||
ui->checkBox_customBgImage->setChecked(QFileInfo(mOldBackgroundImage).exists());
|
||||
|
||||
// update position
|
||||
positionChanged();
|
||||
}
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::fillComboBox_position()
|
||||
{
|
||||
int screenCount = QApplication::desktop()->screenCount();
|
||||
if (screenCount == 1)
|
||||
{
|
||||
addPosition(tr("Top of desktop"), 0, LxQtPanel::PositionTop);
|
||||
addPosition(tr("Left of desktop"), 0, LxQtPanel::PositionLeft);
|
||||
addPosition(tr("Right of desktop"), 0, LxQtPanel::PositionRight);
|
||||
addPosition(tr("Bottom of desktop"), 0, LxQtPanel::PositionBottom);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int screenNum = 0; screenNum < screenCount; screenNum++)
|
||||
{
|
||||
if (screenNum)
|
||||
ui->comboBox_position->insertSeparator(9999);
|
||||
|
||||
addPosition(tr("Top of desktop %1").arg(screenNum +1), screenNum, LxQtPanel::PositionTop);
|
||||
addPosition(tr("Left of desktop %1").arg(screenNum +1), screenNum, LxQtPanel::PositionLeft);
|
||||
addPosition(tr("Right of desktop %1").arg(screenNum +1), screenNum, LxQtPanel::PositionRight);
|
||||
addPosition(tr("Bottom of desktop %1").arg(screenNum +1), screenNum, LxQtPanel::PositionBottom);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::fillComboBox_alignment()
|
||||
{
|
||||
ui->comboBox_alignment->setItemData(0, QVariant(LxQtPanel::AlignmentLeft));
|
||||
ui->comboBox_alignment->setItemData(1, QVariant(LxQtPanel::AlignmentCenter));
|
||||
ui->comboBox_alignment->setItemData(2, QVariant(LxQtPanel::AlignmentRight));
|
||||
|
||||
|
||||
if (mPosition == ILxQtPanel::PositionTop ||
|
||||
mPosition == ILxQtPanel::PositionBottom)
|
||||
{
|
||||
ui->comboBox_alignment->setItemText(0, tr("Left"));
|
||||
ui->comboBox_alignment->setItemText(1, tr("Center"));
|
||||
ui->comboBox_alignment->setItemText(2, tr("Right"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->comboBox_alignment->setItemText(0, tr("Top"));
|
||||
ui->comboBox_alignment->setItemText(1, tr("Center"));
|
||||
ui->comboBox_alignment->setItemText(2, tr("Bottom"));
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::addPosition(const QString& name, int screen, LxQtPanel::Position position)
|
||||
{
|
||||
if (LxQtPanel::canPlacedOn(screen, position))
|
||||
ui->comboBox_position->addItem(name, QVariant::fromValue((ScreenPosition){screen, position}));
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
int ConfigPanelWidget::indexForPosition(int screen, ILxQtPanel::Position position)
|
||||
{
|
||||
for (int i = 0; i < ui->comboBox_position->count(); i++)
|
||||
{
|
||||
ScreenPosition sp = ui->comboBox_position->itemData(i).value<ScreenPosition>();
|
||||
if (screen == sp.screen && position == sp.position)
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
ConfigPanelWidget::~ConfigPanelWidget()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::editChanged()
|
||||
{
|
||||
mPanel->setPanelSize(ui->spinBox_panelSize->value(), true);
|
||||
mPanel->setIconSize(ui->spinBox_iconSize->value(), true);
|
||||
mPanel->setLineCount(ui->spinBox_lineCount->value(), true);
|
||||
|
||||
mPanel->setLength(ui->spinBox_length->value(),
|
||||
ui->comboBox_lenghtType->currentIndex() == 0,
|
||||
true);
|
||||
|
||||
LxQtPanel::Alignment align = LxQtPanel::Alignment(
|
||||
ui->comboBox_alignment->itemData(
|
||||
ui->comboBox_alignment->currentIndex()
|
||||
).toInt());
|
||||
|
||||
mPanel->setAlignment(align, true);
|
||||
mPanel->setPosition(mScreenNum, mPosition, true);
|
||||
mPanel->setHidable(ui->checkBox_hidable->isChecked(), true);
|
||||
|
||||
mPanel->setFontColor(ui->checkBox_customFontColor->isChecked() ? mFontColor : QColor(), true);
|
||||
if (ui->checkBox_customBgColor->isChecked())
|
||||
{
|
||||
mPanel->setBackgroundColor(mBackgroundColor, true);
|
||||
mPanel->setOpacity(ui->slider_opacity->value(), true);
|
||||
}
|
||||
else
|
||||
{
|
||||
mPanel->setBackgroundColor(QColor(), true);
|
||||
mPanel->setOpacity(100, true);
|
||||
}
|
||||
|
||||
QString image = ui->checkBox_customBgImage->isChecked() ? ui->lineEdit_customBgImage->text() : QString();
|
||||
mPanel->setBackgroundImage(image, true);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::widthTypeChanged()
|
||||
{
|
||||
int max = getMaxLength();
|
||||
|
||||
if (ui->comboBox_lenghtType->currentIndex() == 0)
|
||||
{
|
||||
// Percents .............................
|
||||
int v = ui->spinBox_length->value() * 100.0 / max;
|
||||
ui->spinBox_length->setRange(1, 100);
|
||||
ui->spinBox_length->setValue(v);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Pixels ...............................
|
||||
int v = max / 100.0 * ui->spinBox_length->value();
|
||||
ui->spinBox_length->setRange(-max, max);
|
||||
ui->spinBox_length->setValue(v);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
int ConfigPanelWidget::getMaxLength()
|
||||
{
|
||||
QDesktopWidget* dw = QApplication::desktop();
|
||||
|
||||
if (mPosition == ILxQtPanel::PositionTop ||
|
||||
mPosition == ILxQtPanel::PositionBottom)
|
||||
return dw->screenGeometry(mScreenNum).width();
|
||||
else
|
||||
return dw->screenGeometry(mScreenNum).height();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::positionChanged()
|
||||
{
|
||||
ScreenPosition sp = ui->comboBox_position->itemData(
|
||||
ui->comboBox_position->currentIndex()).value<ScreenPosition>();
|
||||
|
||||
bool updateAlig = (sp.position == ILxQtPanel::PositionTop ||
|
||||
sp.position == ILxQtPanel::PositionBottom) !=
|
||||
(mPosition == ILxQtPanel::PositionTop ||
|
||||
mPosition == ILxQtPanel::PositionBottom);
|
||||
|
||||
int oldMax = getMaxLength();
|
||||
mPosition = sp.position;
|
||||
mScreenNum = sp.screen;
|
||||
int newMax = getMaxLength();
|
||||
|
||||
if (ui->comboBox_lenghtType->currentIndex() == 1 &&
|
||||
oldMax != newMax)
|
||||
{
|
||||
// Pixels ...............................
|
||||
int v = ui->spinBox_length->value() * 1.0 * newMax / oldMax;
|
||||
ui->spinBox_length->setMaximum(newMax);
|
||||
ui->spinBox_length->setValue(v);
|
||||
}
|
||||
|
||||
if (updateAlig)
|
||||
fillComboBox_alignment();
|
||||
|
||||
editChanged();
|
||||
}
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::pickFontColor()
|
||||
{
|
||||
QColorDialog d(QColor(mFontColor.name()), this);
|
||||
d.setWindowTitle(tr("Pick color"));
|
||||
d.setWindowModality(Qt::WindowModal);
|
||||
if (d.exec() && d.currentColor().isValid())
|
||||
{
|
||||
mFontColor.setNamedColor(d.currentColor().name());
|
||||
ui->pushButton_customFontColor->setStyleSheet(QString("background: %1").arg(mFontColor.name()));
|
||||
editChanged();
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::pickBackgroundColor()
|
||||
{
|
||||
QColorDialog d(QColor(mBackgroundColor.name()), this);
|
||||
d.setWindowTitle(tr("Pick color"));
|
||||
d.setWindowModality(Qt::WindowModal);
|
||||
if (d.exec() && d.currentColor().isValid())
|
||||
{
|
||||
mBackgroundColor.setNamedColor(d.currentColor().name());
|
||||
ui->pushButton_customBgColor->setStyleSheet(QString("background: %1").arg(mBackgroundColor.name()));
|
||||
editChanged();
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************
|
||||
*
|
||||
************************************************/
|
||||
void ConfigPanelWidget::pickBackgroundImage()
|
||||
{
|
||||
QString picturesLocation;
|
||||
picturesLocation = QStandardPaths::writableLocation(QStandardPaths::PicturesLocation);
|
||||
|
||||
QFileDialog* d = new QFileDialog(this, tr("Pick image"), picturesLocation, tr("Images (*.png *.gif *.jpg)"));
|
||||
d->setAttribute(Qt::WA_DeleteOnClose);
|
||||
d->setWindowModality(Qt::WindowModal);
|
||||
connect(d, &QFileDialog::fileSelected, ui->lineEdit_customBgImage, &QLineEdit::setText);
|
||||
d->show();
|
||||
}
|
||||
|
@ -0,0 +1,99 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Marat "Morion" Talipov <morion.self@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef CONFIGPANELWIDGET_H
|
||||
#define CONFIGPANELWIDGET_H
|
||||
|
||||
#include "../lxqtpanel.h"
|
||||
#include <QSettings>
|
||||
#include <QTimer>
|
||||
#include <LXQt/ConfigDialog>
|
||||
|
||||
class LxQtPanel;
|
||||
|
||||
namespace Ui {
|
||||
class ConfigPanelWidget;
|
||||
}
|
||||
|
||||
class ConfigPanelWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConfigPanelWidget(LxQtPanel *panel, QWidget *parent = 0);
|
||||
~ConfigPanelWidget();
|
||||
|
||||
int screenNum() const { return mScreenNum; }
|
||||
ILxQtPanel::Position position() const { return mPosition; }
|
||||
|
||||
signals:
|
||||
void changed();
|
||||
|
||||
public slots:
|
||||
void reset();
|
||||
|
||||
private slots:
|
||||
void editChanged();
|
||||
void widthTypeChanged();
|
||||
void positionChanged();
|
||||
void pickFontColor();
|
||||
void pickBackgroundColor();
|
||||
void pickBackgroundImage();
|
||||
|
||||
private:
|
||||
Ui::ConfigPanelWidget *ui;
|
||||
LxQtPanel *mPanel;
|
||||
int mScreenNum;
|
||||
ILxQtPanel::Position mPosition;
|
||||
|
||||
void addPosition(const QString& name, int screen, LxQtPanel::Position position);
|
||||
void fillComboBox_position();
|
||||
void fillComboBox_alignment();
|
||||
int indexForPosition(int screen, ILxQtPanel::Position position);
|
||||
int getMaxLength();
|
||||
|
||||
// new values
|
||||
QColor mFontColor;
|
||||
QColor mBackgroundColor;
|
||||
|
||||
// old values for reset
|
||||
int mOldPanelSize;
|
||||
int mOldIconSize;
|
||||
int mOldLineCount;
|
||||
int mOldLength;
|
||||
bool mOldLengthInPercents;
|
||||
LxQtPanel::Alignment mOldAlignment;
|
||||
ILxQtPanel::Position mOldPosition;
|
||||
bool mOldHidable;
|
||||
int mOldScreenNum;
|
||||
QColor mOldFontColor;
|
||||
QColor mOldBackgroundColor;
|
||||
QString mOldBackgroundImage;
|
||||
int mOldOpacity;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,619 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>ConfigPanelWidget</class>
|
||||
<widget class="QWidget" name="ConfigPanelWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>372</width>
|
||||
<height>397</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Configure panel</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_size">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Size</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_8" native="true">
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="1" column="1">
|
||||
<widget class="QSpinBox" name="spinBox_length">
|
||||
<property name="toolTip">
|
||||
<string><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>100</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Size:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_length">
|
||||
<property name="text">
|
||||
<string>Length:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QComboBox" name="comboBox_lenghtType">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>%</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>px</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1" colspan="2">
|
||||
<widget class="QSpinBox" name="spinBox_panelSize">
|
||||
<property name="suffix">
|
||||
<string> px</string>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>24</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::MinimumExpanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>5</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_9" native="true">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="0" column="1">
|
||||
<widget class="QSpinBox" name="spinBox_iconSize">
|
||||
<property name="suffix">
|
||||
<string> px</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>128</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_iconSize">
|
||||
<property name="text">
|
||||
<string>Icon size:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_lineCount">
|
||||
<property name="text">
|
||||
<string>Rows count:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QSpinBox" name="spinBox_lineCount">
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>20</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Alignment && position</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_position">
|
||||
<property name="text">
|
||||
<string>Position:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1" colspan="3">
|
||||
<widget class="QComboBox" name="comboBox_position"/>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_alignment">
|
||||
<property name="text">
|
||||
<string>Alignment:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1" colspan="3">
|
||||
<widget class="QWidget" name="widget_7" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QComboBox" name="comboBox_alignment">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Left</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Center</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Right</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Minimum</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>15</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBox_hidable">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Auto-hide</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Custom styling</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="0" column="0" colspan="5">
|
||||
<widget class="QWidget" name="widget_6" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBox_customFontColor">
|
||||
<property name="text">
|
||||
<string>Font color:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_customFontColor">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="color-picker">
|
||||
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::MinimumExpanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>5</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBox_customBgColor">
|
||||
<property name="text">
|
||||
<string>Background color:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_customBgColor">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="color-picker">
|
||||
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="5">
|
||||
<widget class="QWidget" name="widget_3" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Background opacity:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QSlider" name="slider_opacity">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="pageStep">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" colspan="5">
|
||||
<widget class="QLabel" name="compositingL">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><small>Compositing is required for panel transparency.</small></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0" colspan="2">
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QCheckBox" name="checkBox_customBgImage">
|
||||
<property name="text">
|
||||
<string>Background image:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1" colspan="4">
|
||||
<widget class="QWidget" name="widget_4" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEdit_customBgImage">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_customBgImage">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="insert-image">
|
||||
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>checkBox_customBgColor</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>pushButton_customBgColor</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>144</x>
|
||||
<y>332</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>350</x>
|
||||
<y>350</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>checkBox_customBgImage</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>lineEdit_customBgImage</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>137</x>
|
||||
<y>403</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>149</x>
|
||||
<y>440</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>checkBox_customBgImage</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>pushButton_customBgImage</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>125</x>
|
||||
<y>403</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>350</x>
|
||||
<y>441</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>checkBox_customFontColor</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>pushButton_customFontColor</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>190</x>
|
||||
<y>294</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>350</x>
|
||||
<y>312</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>checkBox_customBgColor</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>slider_opacity</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>99</x>
|
||||
<y>333</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>114</x>
|
||||
<y>367</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>checkBox_customBgColor</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>label_2</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>34</x>
|
||||
<y>341</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>32</x>
|
||||
<y>362</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>checkBox_customBgColor</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>compositingL</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
@ -0,0 +1,119 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://lxqt.org
|
||||
*
|
||||
* Copyright: 2015 LXQt team
|
||||
* Authors:
|
||||
* Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "configpluginswidget.h"
|
||||
#include "ui_configpluginswidget.h"
|
||||
#include "addplugindialog.h"
|
||||
#include "panelpluginsmodel.h"
|
||||
#include "../plugin.h"
|
||||
#include "../ilxqtpanelplugin.h"
|
||||
|
||||
#include <HtmlDelegate>
|
||||
#include <QPushButton>
|
||||
#include <QItemSelectionModel>
|
||||
|
||||
ConfigPluginsWidget::ConfigPluginsWidget(LxQtPanel *panel, QWidget* parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::ConfigPluginsWidget),
|
||||
mPanel(panel)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
PanelPluginsModel * plugins = mPanel->mPlugins.data();
|
||||
{
|
||||
QScopedPointer<QItemSelectionModel> m(ui->listView_plugins->selectionModel());
|
||||
ui->listView_plugins->setModel(plugins);
|
||||
}
|
||||
{
|
||||
QScopedPointer<QAbstractItemDelegate> d(ui->listView_plugins->itemDelegate());
|
||||
ui->listView_plugins->setItemDelegate(new LxQt::HtmlDelegate(QSize(16, 16), ui->listView_plugins));
|
||||
}
|
||||
|
||||
resetButtons();
|
||||
|
||||
connect(ui->listView_plugins, &QListView::activated, plugins, &PanelPluginsModel::onActivatedIndex);
|
||||
connect(ui->listView_plugins->selectionModel(), &QItemSelectionModel::selectionChanged,
|
||||
this, &ConfigPluginsWidget::resetButtons);
|
||||
|
||||
connect(ui->pushButton_moveUp, &QToolButton::clicked, plugins, &PanelPluginsModel::onMovePluginUp);
|
||||
connect(ui->pushButton_moveDown, &QToolButton::clicked, plugins, &PanelPluginsModel::onMovePluginDown);
|
||||
|
||||
connect(ui->pushButton_addPlugin, &QPushButton::clicked, this, &ConfigPluginsWidget::showAddPluginDialog);
|
||||
connect(ui->pushButton_removePlugin, &QToolButton::clicked, plugins, &PanelPluginsModel::onRemovePlugin);
|
||||
|
||||
connect(ui->pushButton_pluginConfig, &QToolButton::clicked, plugins, &PanelPluginsModel::onConfigurePlugin);
|
||||
|
||||
connect(plugins, &PanelPluginsModel::pluginAdded, this, &ConfigPluginsWidget::resetButtons);
|
||||
connect(plugins, &PanelPluginsModel::pluginRemoved, this, &ConfigPluginsWidget::resetButtons);
|
||||
connect(plugins, &PanelPluginsModel::pluginMoved, this, &ConfigPluginsWidget::resetButtons);
|
||||
}
|
||||
|
||||
ConfigPluginsWidget::~ConfigPluginsWidget()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void ConfigPluginsWidget::reset()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ConfigPluginsWidget::showAddPluginDialog()
|
||||
{
|
||||
if (mAddPluginDialog.isNull())
|
||||
{
|
||||
mAddPluginDialog.reset(new AddPluginDialog);
|
||||
connect(mAddPluginDialog.data(), &AddPluginDialog::pluginSelected,
|
||||
mPanel->mPlugins.data(), &PanelPluginsModel::addPlugin);
|
||||
}
|
||||
mAddPluginDialog->show();
|
||||
mAddPluginDialog->raise();
|
||||
mAddPluginDialog->activateWindow();
|
||||
}
|
||||
|
||||
void ConfigPluginsWidget::resetButtons()
|
||||
{
|
||||
PanelPluginsModel *model = mPanel->mPlugins.data();
|
||||
QItemSelectionModel *selectionModel = ui->listView_plugins->selectionModel();
|
||||
bool hasSelection = selectionModel->hasSelection();
|
||||
bool isFirstSelected = selectionModel->isSelected(model->index(0));
|
||||
bool isLastSelected = selectionModel->isSelected(model->index(model->rowCount() - 1));
|
||||
|
||||
bool hasConfigDialog = false;
|
||||
if (hasSelection)
|
||||
{
|
||||
Plugin const * plugin
|
||||
= ui->listView_plugins->model()->data(selectionModel->currentIndex(), Qt::UserRole).value<Plugin const *>();
|
||||
if (nullptr != plugin)
|
||||
hasConfigDialog = plugin->iPlugin()->flags().testFlag(ILxQtPanelPlugin::HaveConfigDialog);
|
||||
}
|
||||
|
||||
ui->pushButton_removePlugin->setEnabled(hasSelection);
|
||||
ui->pushButton_moveUp->setEnabled(hasSelection && !isFirstSelected);
|
||||
ui->pushButton_moveDown->setEnabled(hasSelection && !isLastSelected);
|
||||
ui->pushButton_pluginConfig->setEnabled(hasSelection && hasConfigDialog);
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://lxqt.org
|
||||
*
|
||||
* Copyright: 2015 LXQt team
|
||||
* Authors:
|
||||
* Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef CONFIGPLUGINSWIDGET_H
|
||||
#define CONFIGPLUGINSWIDGET_H
|
||||
|
||||
#include "../lxqtpanel.h"
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class ConfigPluginsWidget;
|
||||
}
|
||||
class AddPluginDialog;
|
||||
|
||||
class ConfigPluginsWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ConfigPluginsWidget(LxQtPanel *panel, QWidget* parent = 0);
|
||||
~ConfigPluginsWidget();
|
||||
|
||||
signals:
|
||||
void changed();
|
||||
|
||||
public slots:
|
||||
void reset();
|
||||
|
||||
private slots:
|
||||
void showAddPluginDialog();
|
||||
void resetButtons();
|
||||
|
||||
private:
|
||||
Ui::ConfigPluginsWidget *ui;
|
||||
QScopedPointer<AddPluginDialog> mAddPluginDialog;
|
||||
LxQtPanel *mPanel;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,213 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>ConfigPluginsWidget</class>
|
||||
<widget class="QWidget" name="ConfigPluginsWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>339</width>
|
||||
<height>220</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Configure Plugins</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QListView" name="listView_plugins">
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QAbstractScrollArea::AdjustToContents</enum>
|
||||
</property>
|
||||
<property name="alternatingRowColors">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
</property>
|
||||
<property name="verticalScrollMode">
|
||||
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
||||
</property>
|
||||
<property name="flow">
|
||||
<enum>QListView::TopToBottom</enum>
|
||||
</property>
|
||||
<property name="resizeMode">
|
||||
<enum>QListView::Adjust</enum>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="uniformItemSizes">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="selectionRectVisible">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Note: changes made in this page cannot be reset.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_5" native="true">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QToolButton" name="pushButton_moveUp">
|
||||
<property name="toolTip">
|
||||
<string>Move up</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="go-up">
|
||||
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="pushButton_moveDown">
|
||||
<property name="toolTip">
|
||||
<string>Move down</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="go-down">
|
||||
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="pushButton_addPlugin">
|
||||
<property name="toolTip">
|
||||
<string>Add</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="list-add">
|
||||
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="pushButton_removePlugin">
|
||||
<property name="toolTip">
|
||||
<string>Remove</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="list-remove">
|
||||
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="pushButton_pluginConfig">
|
||||
<property name="toolTip">
|
||||
<string>Configure</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="preferences-other">
|
||||
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
@ -0,0 +1,79 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef ILXQTPANEL_H
|
||||
#define ILXQTPANEL_H
|
||||
#include <QRect>
|
||||
#include "lxqtpanelglobals.h"
|
||||
|
||||
class ILxQtPanelPlugin;
|
||||
|
||||
/**
|
||||
**/
|
||||
class LXQT_PANEL_API ILxQtPanel
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Specifies the position of the panel on screen.
|
||||
**/
|
||||
enum Position{
|
||||
PositionBottom, //! The bottom side of the screen.
|
||||
PositionTop, //! The top side of the screen.
|
||||
PositionLeft, //! The left side of the screen.
|
||||
PositionRight //! The right side of the screen.
|
||||
};
|
||||
|
||||
/**
|
||||
This property holds position of the panel.
|
||||
Possible values for this property are described by the Position enum
|
||||
**/
|
||||
virtual Position position() const = 0;
|
||||
|
||||
virtual int iconSize() const = 0;
|
||||
virtual int lineCount() const = 0;
|
||||
|
||||
/**
|
||||
Helper functions for eazy direction checking.
|
||||
Retuns true if panel on the top or bottom of the screen; otherwise returns false.
|
||||
**/
|
||||
bool isHorizontal() const { return position() == PositionBottom || position() == PositionTop; }
|
||||
|
||||
/**
|
||||
Returns global screen coordinates of the panel. You no need to use mapToGlobal.
|
||||
**/
|
||||
virtual QRect globalGometry() const = 0;
|
||||
|
||||
/**
|
||||
Helper functions for calculating global screen position of some popup window with windowSize size.
|
||||
If you need to show some popup window, you can use it, to get global screen position for the new window.
|
||||
**/
|
||||
virtual QRect calculatePopupWindowPos(const QPoint &absolutePos, const QSize &windowSize) const = 0;
|
||||
virtual QRect calculatePopupWindowPos(const ILxQtPanelPlugin *plugin, const QSize &windowSize) const = 0;
|
||||
};
|
||||
|
||||
#endif // ILXQTPANEL_H
|
@ -0,0 +1,232 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef ILXQTPANELPLUGIN_H
|
||||
#define ILXQTPANELPLUGIN_H
|
||||
|
||||
#include <QtPlugin>
|
||||
#include <qwindowdefs.h> // For XEvent
|
||||
#include <QSettings>
|
||||
#include <LXQt/PluginInfo>
|
||||
#include "ilxqtpanel.h"
|
||||
#include "lxqtpanelglobals.h"
|
||||
|
||||
/**
|
||||
LxQt panel plugins are standalone sharedlibraries
|
||||
(*.so) located in PLUGIN_DIR (define provided by CMakeLists.txt).
|
||||
|
||||
Plugin for the panel is a library written on C++. One more necessary thing
|
||||
is a .desktop file describing this plugin. The same may be additional files,
|
||||
like translations. Themselves plugins will be installed to
|
||||
/usr/local/lib/lxqt-panel or /usr/lib/lxqt-panel (dependent on cmake option
|
||||
-DCMAKE_INSTALL_PREFIX). Desktop files are installed to
|
||||
/usr/local/share/lxqt/lxqt-panel, translations to
|
||||
/usr/local/share/lxqt/lxqt-panel/PLUGIN_NAME.
|
||||
**/
|
||||
|
||||
class QDialog;
|
||||
|
||||
struct LXQT_PANEL_API ILxQtPanelPluginStartupInfo
|
||||
{
|
||||
ILxQtPanel *lxqtPanel;
|
||||
QSettings *settings;
|
||||
const LxQt::PluginInfo *desktopFile;
|
||||
};
|
||||
|
||||
|
||||
/** \brief Base abstract class for LxQt panel widgets/plugins.
|
||||
All plugins *must* be inherited from this one.
|
||||
|
||||
This class provides some basic API and inherited/implemented
|
||||
plugins GUIs will be responsible on the functionality itself.
|
||||
|
||||
See <a href=https://github.com/LXDE-Qt/lxde-qt/wiki/How-to-write-the-panel-plugin>
|
||||
How to write the panel plugin</a> for more information about how to make your plugins.
|
||||
**/
|
||||
|
||||
class LXQT_PANEL_API ILxQtPanelPlugin
|
||||
{
|
||||
public:
|
||||
/**
|
||||
This enum describes the properties of an plugin.
|
||||
**/
|
||||
enum Flag {
|
||||
NoFlags = 0, ///< It does not have any properties set.
|
||||
PreferRightAlignment = 1, /**< The plugin is prefer right alignment (for example the clock plugin);
|
||||
otherwise plugin prefer left (like main menu).
|
||||
This flag is used only at the first start, later positions of all
|
||||
plugins saved in a config, and this saved information is used. */
|
||||
HaveConfigDialog = 2, ///< The plugin have a configuration dialog.
|
||||
SingleInstance = 4, ///< The plugin allows only one instance to run.
|
||||
NeedsHandle = 8 ///< The plugin needs a handle for the context menu
|
||||
};
|
||||
|
||||
Q_DECLARE_FLAGS(Flags, Flag)
|
||||
|
||||
/**
|
||||
This enum describes the reason the plugin was activated.
|
||||
**/
|
||||
enum ActivationReason {
|
||||
Unknown = 0, ///< Unknown reason
|
||||
DoubleClick = 2, ///< The plugin entry was double clicked
|
||||
Trigger = 3, ///< The plugin was clicked
|
||||
MiddleClick = 4 ///< The plugin was clicked with the middle mouse button
|
||||
};
|
||||
|
||||
/**
|
||||
Constructs a ILxQtPanelPlugin object with the given startupInfo. You do not have to worry
|
||||
about the startupInfo parameters, ILxQtPanelPlugin process the parameters yourself.
|
||||
**/
|
||||
ILxQtPanelPlugin(const ILxQtPanelPluginStartupInfo &startupInfo):
|
||||
mSettings(startupInfo.settings),
|
||||
mPanel(startupInfo.lxqtPanel),
|
||||
mDesktopFile(startupInfo.desktopFile)
|
||||
{}
|
||||
|
||||
/**
|
||||
Destroys the object.
|
||||
**/
|
||||
virtual ~ILxQtPanelPlugin() {}
|
||||
|
||||
/**
|
||||
Returns the plugin flags.
|
||||
The base class implementation returns a NoFlags.
|
||||
**/
|
||||
virtual Flags flags() const { return NoFlags; }
|
||||
|
||||
/**
|
||||
Returns the string that is used in the theme QSS file.
|
||||
If you retuns "WorldClock" string, theme author may write something like `#WorldClock { border: 1px solid red; }`
|
||||
to set custom border for the your plugin.
|
||||
**/
|
||||
virtual QString themeId() const = 0;
|
||||
|
||||
/**
|
||||
From users point of view plugin is a some visual widget on the panel. This function retuns pointer to it.
|
||||
This method called only once, so you are free to return pointer on class member, or create widget on the fly.
|
||||
**/
|
||||
virtual QWidget *widget() = 0;
|
||||
|
||||
/**
|
||||
Returns the plugin settings dialog. Reimplement this function if your plugin has it.
|
||||
The panel does not take ownership of the dialog, it would probably a good idea to set Qt::WA_DeleteOnClose
|
||||
attribute for the dialog.
|
||||
The default implementation returns 0, no dialog;
|
||||
|
||||
Note that the flags method has to return HaveConfigDialog flag.
|
||||
To save the settings you should use a ready-to-use ILxQtPanelPlugin::settings() object.
|
||||
|
||||
**/
|
||||
virtual QDialog *configureDialog() { return 0; }
|
||||
|
||||
/**
|
||||
This function is called when values are changed in the plugin settings.
|
||||
Reimplement this function to your plugin corresponded the new settings.
|
||||
|
||||
The default implementation do nothing.
|
||||
**/
|
||||
virtual void settingsChanged() {}
|
||||
|
||||
/**
|
||||
This function is called when the user activates the plugin. reason specifies the reason for activation.
|
||||
ILxQtPanelPlugin::ActivationReason enumerates the various reasons.
|
||||
|
||||
The default implementation do nothing.
|
||||
**/
|
||||
virtual void activated(ActivationReason reason) {}
|
||||
|
||||
/**
|
||||
This function is called when the panel geometry or lines count are changed.
|
||||
|
||||
The default implementation do nothing.
|
||||
|
||||
**/
|
||||
virtual void realign() {}
|
||||
|
||||
/**
|
||||
Returns the panel object.
|
||||
**/
|
||||
ILxQtPanel *panel() const { return mPanel; }
|
||||
|
||||
|
||||
QSettings *settings() const { return mSettings; }
|
||||
const LxQt::PluginInfo *desktopFile() const { return mDesktopFile; }
|
||||
|
||||
/**
|
||||
Helper functions for calculating global screen position of some popup window with windowSize size.
|
||||
If you need to show some popup window, you can use it, to get global screen position for the new window.
|
||||
**/
|
||||
virtual QRect calculatePopupWindowPos(const QSize &windowSize)
|
||||
{
|
||||
return mPanel->calculatePopupWindowPos(this, windowSize);
|
||||
}
|
||||
|
||||
|
||||
virtual bool isSeparate() const { return false; }
|
||||
virtual bool isExpandable() const { return false; }
|
||||
private:
|
||||
QSettings *mSettings;
|
||||
ILxQtPanel *mPanel;
|
||||
const LxQt::PluginInfo *mDesktopFile;
|
||||
};
|
||||
|
||||
Q_DECLARE_OPERATORS_FOR_FLAGS(ILxQtPanelPlugin::Flags)
|
||||
|
||||
/**
|
||||
Every plugin must has the loader. You shoul only reimplement instance() method, and return your plugin.
|
||||
Example:
|
||||
@code
|
||||
class LxQtClockPluginLibrary: public QObject, public ILxQtPanelPluginLibrary
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "lxde-qt.org/Panel/PluginInterface/3.0")
|
||||
Q_INTERFACES(ILxQtPanelPluginLibrary)
|
||||
public:
|
||||
ILxQtPanelPlugin *instance(const ILxQtPanelPluginStartupInfo &startupInfo) { return new LxQtClock(startupInfo);}
|
||||
};
|
||||
@endcode
|
||||
**/
|
||||
class LXQT_PANEL_API ILxQtPanelPluginLibrary
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Destroys the ILxQtPanelPluginLibrary object.
|
||||
**/
|
||||
virtual ~ILxQtPanelPluginLibrary() {}
|
||||
|
||||
/**
|
||||
Returns the root component object of the plugin. When the library is finally unloaded, the root component will automatically be deleted.
|
||||
**/
|
||||
virtual ILxQtPanelPlugin* instance(const ILxQtPanelPluginStartupInfo &startupInfo) const = 0;
|
||||
};
|
||||
|
||||
|
||||
Q_DECLARE_INTERFACE(ILxQtPanelPluginLibrary,
|
||||
"lxde-qt.org/Panel/PluginInterface/3.0")
|
||||
|
||||
#endif // ILXQTPANELPLUGIN_H
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,193 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef LXQTPANEL_H
|
||||
#define LXQTPANEL_H
|
||||
|
||||
#include <QFrame>
|
||||
#include <QString>
|
||||
#include <QTimer>
|
||||
#include <QPointer>
|
||||
#include "ilxqtpanel.h"
|
||||
#include "lxqtpanelglobals.h"
|
||||
|
||||
class QMenu;
|
||||
class Plugin;
|
||||
class QAbstractItemModel;
|
||||
|
||||
namespace LxQt {
|
||||
class Settings;
|
||||
class PluginInfo;
|
||||
}
|
||||
class LxQtPanelLayout;
|
||||
class ConfigPanelDialog;
|
||||
class PanelPluginsModel;
|
||||
|
||||
/*! \brief The LxQtPanel class provides a single lxqt-panel.
|
||||
*/
|
||||
class LXQT_PANEL_API LxQtPanel : public QFrame, public ILxQtPanel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PROPERTY(QString position READ qssPosition)
|
||||
|
||||
// for configuration dialog
|
||||
friend class ConfigPanelWidget;
|
||||
friend class ConfigPluginsWidget;
|
||||
|
||||
public:
|
||||
enum Alignment {
|
||||
AlignmentLeft = -1,
|
||||
AlignmentCenter = 0,
|
||||
AlignmentRight = 1
|
||||
};
|
||||
|
||||
LxQtPanel(const QString &configGroup, QWidget *parent = 0);
|
||||
virtual ~LxQtPanel();
|
||||
|
||||
QString name() { return mConfigGroup; }
|
||||
|
||||
void readSettings();
|
||||
|
||||
void showPopupMenu(Plugin *plugin = 0);
|
||||
|
||||
// ILxQtPanel .........................
|
||||
ILxQtPanel::Position position() const { return mPosition; }
|
||||
QRect globalGometry() const;
|
||||
Plugin *findPlugin(const ILxQtPanelPlugin *iPlugin) const;
|
||||
QRect calculatePopupWindowPos(QPoint const & absolutePos, QSize const & windowSize) const;
|
||||
QRect calculatePopupWindowPos(const ILxQtPanelPlugin *plugin, const QSize &windowSize) const;
|
||||
|
||||
// For QSS properties ..................
|
||||
QString qssPosition() const;
|
||||
|
||||
static bool canPlacedOn(int screenNum, LxQtPanel::Position position);
|
||||
static QString positionToStr(ILxQtPanel::Position position);
|
||||
static ILxQtPanel::Position strToPosition(const QString &str, ILxQtPanel::Position defaultValue);
|
||||
|
||||
// Settings
|
||||
int panelSize() const { return mPanelSize; }
|
||||
int iconSize() const { return mIconSize; }
|
||||
int lineCount() const { return mLineCount; }
|
||||
int length() const { return mLength; }
|
||||
bool lengthInPercents() const { return mLengthInPercents; }
|
||||
LxQtPanel::Alignment alignment() const { return mAlignment; }
|
||||
int screenNum() const { return mScreenNum; }
|
||||
QColor fontColor() const { return mFontColor; };
|
||||
QColor backgroundColor() const { return mBackgroundColor; };
|
||||
QString backgroundImage() const { return mBackgroundImage; };
|
||||
int opacity() const { return mOpacity; };
|
||||
bool hidable() const { return mHidable; }
|
||||
|
||||
LxQt::Settings *settings() const { return mSettings; }
|
||||
|
||||
bool isPluginSingletonAndRunnig(QString const & pluginId) const;
|
||||
|
||||
public slots:
|
||||
void show();
|
||||
void showPanel();
|
||||
void hidePanel();
|
||||
void hidePanelWork();
|
||||
|
||||
// Settings
|
||||
void setPanelSize(int value, bool save);
|
||||
void setIconSize(int value, bool save);
|
||||
void setLineCount(int value, bool save);
|
||||
void setLength(int length, bool inPercents, bool save);
|
||||
void setPosition(int screen, ILxQtPanel::Position position, bool save);
|
||||
void setAlignment(LxQtPanel::Alignment value, bool save);
|
||||
void setFontColor(QColor color, bool save);
|
||||
void setBackgroundColor(QColor color, bool save);
|
||||
void setBackgroundImage(QString path, bool save);
|
||||
void setOpacity(int opacity, bool save);
|
||||
void setHidable(bool hidable, bool save);
|
||||
|
||||
void saveSettings(bool later=false);
|
||||
void ensureVisible();
|
||||
|
||||
signals:
|
||||
void realigned();
|
||||
void deletedByUser(LxQtPanel *self);
|
||||
void pluginAdded();
|
||||
void pluginRemoved();
|
||||
|
||||
protected:
|
||||
bool event(QEvent *event);
|
||||
void showEvent(QShowEvent *event);
|
||||
|
||||
public slots:
|
||||
void showConfigDialog();
|
||||
private slots:
|
||||
void showAddPluginDialog();
|
||||
void realign();
|
||||
void pluginMoved(Plugin * plug);
|
||||
void userRequestForDeletion();
|
||||
|
||||
private:
|
||||
LxQtPanelLayout* mLayout;
|
||||
LxQt::Settings *mSettings;
|
||||
QFrame *LxQtPanelWidget;
|
||||
QString mConfigGroup;
|
||||
QScopedPointer<PanelPluginsModel> mPlugins;
|
||||
|
||||
int findAvailableScreen(LxQtPanel::Position position);
|
||||
void updateWmStrut();
|
||||
|
||||
void loadPlugins();
|
||||
|
||||
void setPanelGeometry();
|
||||
int getReserveDimension();
|
||||
|
||||
int mPanelSize;
|
||||
int mIconSize;
|
||||
int mLineCount;
|
||||
|
||||
int mLength;
|
||||
bool mLengthInPercents;
|
||||
|
||||
Alignment mAlignment;
|
||||
|
||||
ILxQtPanel::Position mPosition;
|
||||
int mScreenNum;
|
||||
QTimer mDelaySave;
|
||||
bool mHidable;
|
||||
bool mHidden;
|
||||
QTimer mHideTimer;
|
||||
|
||||
QColor mFontColor;
|
||||
QColor mBackgroundColor;
|
||||
QString mBackgroundImage;
|
||||
// 0 to 100
|
||||
int mOpacity;
|
||||
QPointer<ConfigPanelDialog> mConfigDialog;
|
||||
|
||||
void updateStyleSheet();
|
||||
};
|
||||
|
||||
|
||||
#endif // LXQTPANEL_H
|
@ -0,0 +1,226 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "lxqtpanelapplication.h"
|
||||
#include "lxqtpanel.h"
|
||||
#include "config/configpaneldialog.h"
|
||||
#include <LXQt/Settings>
|
||||
#include <QtDebug>
|
||||
#include <QUuid>
|
||||
#include <QScreen>
|
||||
#include <QWindow>
|
||||
#include <QCommandLineParser>
|
||||
|
||||
LxQtPanelApplication::LxQtPanelApplication(int& argc, char** argv)
|
||||
: LxQt::Application(argc, argv, true)
|
||||
{
|
||||
QCoreApplication::setApplicationName(QStringLiteral("lxqt-panel"));
|
||||
QCoreApplication::setApplicationVersion(LXQT_VERSION);
|
||||
|
||||
QCommandLineParser parser;
|
||||
parser.setApplicationDescription(QStringLiteral("LXQt panel"));
|
||||
parser.addHelpOption();
|
||||
parser.addVersionOption();
|
||||
|
||||
QCommandLineOption configFileOption(QStringList()
|
||||
<< QStringLiteral("c") << QStringLiteral("config") << QStringLiteral("configfile"),
|
||||
QCoreApplication::translate("main", "Use alternate configuration file."),
|
||||
QCoreApplication::translate("main", "Configuration file"));
|
||||
parser.addOption(configFileOption);
|
||||
|
||||
parser.process(*this);
|
||||
|
||||
const QString configFile = parser.value(configFileOption);
|
||||
|
||||
if (configFile.isEmpty())
|
||||
mSettings = new LxQt::Settings(QStringLiteral("panel"), this);
|
||||
else
|
||||
mSettings = new LxQt::Settings(configFile, QSettings::IniFormat, this);
|
||||
|
||||
// This is a workaround for Qt 5 bug #40681.
|
||||
Q_FOREACH(QScreen* screen, screens())
|
||||
{
|
||||
connect(screen, &QScreen::destroyed, this, &LxQtPanelApplication::screenDestroyed);
|
||||
}
|
||||
connect(this, &QGuiApplication::screenAdded, this, &LxQtPanelApplication::handleScreenAdded);
|
||||
connect(this, &QCoreApplication::aboutToQuit, this, &LxQtPanelApplication::cleanup);
|
||||
|
||||
|
||||
QStringList panels = mSettings->value("panels").toStringList();
|
||||
|
||||
if (panels.isEmpty())
|
||||
{
|
||||
panels << "panel1";
|
||||
}
|
||||
|
||||
Q_FOREACH(QString i, panels)
|
||||
{
|
||||
addPanel(i);
|
||||
}
|
||||
}
|
||||
|
||||
LxQtPanelApplication::~LxQtPanelApplication()
|
||||
{
|
||||
}
|
||||
|
||||
void LxQtPanelApplication::cleanup()
|
||||
{
|
||||
qDeleteAll(mPanels);
|
||||
}
|
||||
|
||||
void LxQtPanelApplication::addNewPanel()
|
||||
{
|
||||
QString name("panel_" + QUuid::createUuid().toString());
|
||||
LxQtPanel *p = addPanel(name);
|
||||
QStringList panels = mSettings->value("panels").toStringList();
|
||||
panels << name;
|
||||
mSettings->setValue("panels", panels);
|
||||
|
||||
// Poupup the configuration dialog to allow user configuration right away
|
||||
p->showConfigDialog();
|
||||
}
|
||||
|
||||
LxQtPanel* LxQtPanelApplication::addPanel(const QString& name)
|
||||
{
|
||||
LxQtPanel *panel = new LxQtPanel(name);
|
||||
mPanels << panel;
|
||||
connect(panel, SIGNAL(deletedByUser(LxQtPanel*)),
|
||||
this, SLOT(removePanel(LxQtPanel*)));
|
||||
//reemit signals
|
||||
connect(panel, &LxQtPanel::pluginAdded, this, &LxQtPanelApplication::pluginAdded);
|
||||
connect(panel, &LxQtPanel::pluginRemoved, this, &LxQtPanelApplication::pluginRemoved);
|
||||
|
||||
return panel;
|
||||
}
|
||||
|
||||
void LxQtPanelApplication::handleScreenAdded(QScreen* newScreen)
|
||||
{
|
||||
// qDebug() << "LxQtPanelApplication::handleScreenAdded" << newScreen;
|
||||
connect(newScreen, &QScreen::destroyed, this, &LxQtPanelApplication::screenDestroyed);
|
||||
}
|
||||
|
||||
void LxQtPanelApplication::reloadPanelsAsNeeded()
|
||||
{
|
||||
// NOTE by PCMan: This is a workaround for Qt 5 bug #40681.
|
||||
// Here we try to re-create the missing panels which are deleted in
|
||||
// LxQtPanelApplication::screenDestroyed().
|
||||
|
||||
// qDebug() << "LxQtPanelApplication::reloadPanelsAsNeeded()";
|
||||
QStringList names = mSettings->value("panels").toStringList();
|
||||
Q_FOREACH(const QString& name, names)
|
||||
{
|
||||
bool found = false;
|
||||
Q_FOREACH(LxQtPanel* panel, mPanels)
|
||||
{
|
||||
if(panel->name() == name)
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!found)
|
||||
{
|
||||
// the panel is found in the config file but does not exist, create it.
|
||||
qDebug() << "Workaround Qt 5 bug #40681: re-create panel:" << name;
|
||||
addPanel(name);
|
||||
}
|
||||
}
|
||||
qApp->setQuitOnLastWindowClosed(true);
|
||||
}
|
||||
|
||||
void LxQtPanelApplication::screenDestroyed(QObject* screenObj)
|
||||
{
|
||||
// NOTE by PCMan: This is a workaround for Qt 5 bug #40681.
|
||||
// With this very dirty workaround, we can fix lxde/lxde-qt bug #204, #205, and #206.
|
||||
// Qt 5 has two new regression bugs which breaks lxqt-panel in a multihead environment.
|
||||
// #40681: Regression bug: QWidget::winId() returns old value and QEvent::WinIdChange event is not emitted sometimes. (multihead setup)
|
||||
// #40791: Regression: QPlatformWindow, QWindow, and QWidget::winId() are out of sync.
|
||||
// Explanations for the workaround:
|
||||
// Internally, Qt mantains a list of QScreens and update it when XRandR configuration changes.
|
||||
// When the user turn off an monitor with xrandr --output <xxx> --off, this will destroy the QScreen
|
||||
// object which represent the output. If the QScreen being destroyed contains our panel widget,
|
||||
// Qt will call QWindow::setScreen(0) on the internal windowHandle() of our panel widget to move it
|
||||
// to the primary screen. However, moving a window to a different screen is more than just changing
|
||||
// its position. With XRandR, all screens are actually part of the same virtual desktop. However,
|
||||
// this is not the case in other setups, such as Xinerama and moving a window to another screen is
|
||||
// not possible unless you destroy the widget and create it again for a new screen.
|
||||
// Therefore, Qt destroy the widget and re-create it when moving our panel to a new screen.
|
||||
// Unfortunately, destroying the window also destroy the child windows embedded into it,
|
||||
// using XEMBED such as the tray icons. (#206)
|
||||
// Second, when the window is re-created, the winId of the QWidget is changed, but Qt failed to
|
||||
// generate QEvent::WinIdChange event so we have no way to know that. We have to set
|
||||
// some X11 window properties using the native winId() to make it a dock, but this stop working
|
||||
// because we cannot get the correct winId(), so this causes #204 and #205.
|
||||
//
|
||||
// The workaround is very simple. Just completely destroy the panel before Qt has a chance to do
|
||||
// QWindow::setScreen() for it. Later, we reload the panel ourselves. So this can bypassing the Qt bugs.
|
||||
QScreen* screen = static_cast<QScreen*>(screenObj);
|
||||
bool reloadNeeded = false;
|
||||
qApp->setQuitOnLastWindowClosed(false);
|
||||
Q_FOREACH(LxQtPanel* panel, mPanels)
|
||||
{
|
||||
QWindow* panelWindow = panel->windowHandle();
|
||||
if(panelWindow && panelWindow->screen() == screen)
|
||||
{
|
||||
// the screen containing the panel is destroyed
|
||||
// delete and then re-create the panel ourselves
|
||||
QString name = panel->name();
|
||||
panel->saveSettings(false);
|
||||
delete panel; // delete the panel, so Qt does not have a chance to set a new screen to it.
|
||||
mPanels.removeAll(panel);
|
||||
reloadNeeded = true;
|
||||
qDebug() << "Workaround Qt 5 bug #40681: delete panel:" << name;
|
||||
}
|
||||
}
|
||||
if(reloadNeeded)
|
||||
QTimer::singleShot(1000, this, SLOT(reloadPanelsAsNeeded()));
|
||||
else
|
||||
qApp->setQuitOnLastWindowClosed(true);
|
||||
}
|
||||
|
||||
void LxQtPanelApplication::removePanel(LxQtPanel* panel)
|
||||
{
|
||||
Q_ASSERT(mPanels.contains(panel));
|
||||
|
||||
mPanels.removeAll(panel);
|
||||
|
||||
QStringList panels = mSettings->value("panels").toStringList();
|
||||
panels.removeAll(panel->name());
|
||||
mSettings->setValue("panels", panels);
|
||||
|
||||
panel->deleteLater();
|
||||
}
|
||||
|
||||
bool LxQtPanelApplication::isPluginSingletonAndRunnig(QString const & pluginId) const
|
||||
{
|
||||
for (auto const & panel : mPanels)
|
||||
if (panel->isPluginSingletonAndRunnig(pluginId))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef LXQTPANELAPPLICATION_H
|
||||
#define LXQTPANELAPPLICATION_H
|
||||
|
||||
#include <LXQt/Application>
|
||||
#include "ilxqtpanelplugin.h"
|
||||
|
||||
class QScreen;
|
||||
|
||||
class LxQtPanel;
|
||||
namespace LxQt {
|
||||
class Settings;
|
||||
}
|
||||
|
||||
class LxQtPanelApplication : public LxQt::Application
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LxQtPanelApplication(int& argc, char** argv);
|
||||
~LxQtPanelApplication();
|
||||
|
||||
int count() { return mPanels.count(); }
|
||||
LxQt::Settings *settings() { return mSettings; }
|
||||
bool isPluginSingletonAndRunnig(QString const & pluginId) const;
|
||||
|
||||
public slots:
|
||||
void addNewPanel();
|
||||
|
||||
signals:
|
||||
void pluginAdded();
|
||||
void pluginRemoved();
|
||||
|
||||
private:
|
||||
QList<LxQtPanel*> mPanels;
|
||||
|
||||
LxQtPanel* addPanel(const QString &name);
|
||||
|
||||
private slots:
|
||||
void removePanel(LxQtPanel* panel);
|
||||
|
||||
void handleScreenAdded(QScreen* newScreen);
|
||||
void screenDestroyed(QObject* screenObj);
|
||||
void reloadPanelsAsNeeded();
|
||||
void cleanup();
|
||||
|
||||
private:
|
||||
LxQt::Settings *mSettings;
|
||||
};
|
||||
|
||||
|
||||
#endif // LXQTPANELAPPLICATION_H
|
@ -0,0 +1,39 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://lxde.org/
|
||||
*
|
||||
* Copyright: 2013 LXDE-Qt team
|
||||
* Authors:
|
||||
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef __LXQT_PANEL_GLOBALS_H__
|
||||
#define __LXQT_PANEL_GLOBALS_H__
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
#ifdef COMPILE_LXQT_PANEL
|
||||
#define LXQT_PANEL_API Q_DECL_EXPORT
|
||||
#else
|
||||
#define LXQT_PANEL_API Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // __LXQT_PANEL_GLOBALS_H__
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,102 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef LXQTPANELLAYOUT_H
|
||||
#define LXQTPANELLAYOUT_H
|
||||
|
||||
#include <QLayout>
|
||||
#include <QList>
|
||||
#include <QWidget>
|
||||
#include <QLayoutItem>
|
||||
#include "ilxqtpanel.h"
|
||||
#include "lxqtpanelglobals.h"
|
||||
|
||||
class MoveInfo;
|
||||
class QMouseEvent;
|
||||
class QEvent;
|
||||
|
||||
class Plugin;
|
||||
class LayoutItemGrid;
|
||||
|
||||
class LXQT_PANEL_API LxQtPanelLayout : public QLayout
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LxQtPanelLayout(QWidget *parent);
|
||||
~LxQtPanelLayout();
|
||||
|
||||
void addItem(QLayoutItem *item);
|
||||
QLayoutItem *itemAt(int index) const;
|
||||
QLayoutItem *takeAt(int index);
|
||||
int count() const;
|
||||
void moveItem(int from, int to, bool withAnimation=false);
|
||||
|
||||
QSize sizeHint() const;
|
||||
//QSize minimumSize() const;
|
||||
void setGeometry(const QRect &geometry);
|
||||
|
||||
bool isHorizontal() const;
|
||||
|
||||
void invalidate();
|
||||
|
||||
int lineCount() const;
|
||||
void setLineCount(int value);
|
||||
|
||||
int lineSize() const;
|
||||
void setLineSize(int value);
|
||||
|
||||
ILxQtPanel::Position position() const { return mPosition; }
|
||||
void setPosition(ILxQtPanel::Position value);
|
||||
|
||||
static bool itemIsSeparate(QLayoutItem *item);
|
||||
signals:
|
||||
void pluginMoved(Plugin * plugin);
|
||||
|
||||
public slots:
|
||||
void startMovePlugin();
|
||||
void finishMovePlugin();
|
||||
void moveUpPlugin(Plugin * plugin);
|
||||
void addPlugin(Plugin * plugin);
|
||||
|
||||
private:
|
||||
mutable QSize mMinPluginSize;
|
||||
LayoutItemGrid *mLeftGrid;
|
||||
LayoutItemGrid *mRightGrid;
|
||||
ILxQtPanel::Position mPosition;
|
||||
bool mAnimate;
|
||||
|
||||
|
||||
void setGeometryHoriz(const QRect &geometry);
|
||||
void setGeometryVert(const QRect &geometry);
|
||||
void globalIndexToLocal(int index, LayoutItemGrid **grid, int *gridIndex);
|
||||
void globalIndexToLocal(int index, LayoutItemGrid **grid, int *gridIndex) const;
|
||||
|
||||
void setItemGeometry(QLayoutItem *item, const QRect &geometry, bool withAnimation);
|
||||
};
|
||||
|
||||
#endif // LXQTPANELLAYOUT_H
|
@ -0,0 +1,46 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Luís Pereira <luis.artur.pereira@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef LXQTPANELLIMITS_H
|
||||
#define LXQTPANELLIMITS_H
|
||||
|
||||
#define PANEL_DEFAULT_SIZE 32
|
||||
#define PANEL_MINIMUM_SIZE 16
|
||||
#define PANEL_MAXIMUM_SIZE 200
|
||||
#define PANEL_HIDE_SIZE 4
|
||||
#define PANEL_HIDE_MARGIN (PANEL_HIDE_SIZE / 2)
|
||||
|
||||
#define PANEL_DEFAULT_ICON_SIZE 22
|
||||
#define PANEL_DEFAULT_LINE_COUNT 1
|
||||
|
||||
#define PANEL_DEFAULT_BACKGROUND_COLOR "#CCCCCC"
|
||||
|
||||
#define PANEL_HIDE_DELAY 500
|
||||
#define PANEL_HIDE_FIRST_TIME (5000 - PANEL_HIDE_DELAY)
|
||||
|
||||
#define SETTINGS_SAVE_DELAY 3000
|
||||
#endif // LXQTPANELLIMITS_H
|
@ -0,0 +1,94 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "lxqtpanelpluginconfigdialog.h"
|
||||
|
||||
|
||||
#include <QButtonGroup>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QComboBox>
|
||||
#include <QDebug>
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
LxQtPanelPluginConfigDialog::LxQtPanelPluginConfigDialog(QSettings &settings, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
mSettings(settings),
|
||||
mOldSettings(settings)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
LxQtPanelPluginConfigDialog::~LxQtPanelPluginConfigDialog()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
QSettings& LxQtPanelPluginConfigDialog::settings() const
|
||||
{
|
||||
return mSettings;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void LxQtPanelPluginConfigDialog::dialogButtonsAction(QAbstractButton *btn)
|
||||
{
|
||||
QDialogButtonBox *box = qobject_cast<QDialogButtonBox*>(btn->parent());
|
||||
|
||||
if (box && box->buttonRole(btn) == QDialogButtonBox::ResetRole)
|
||||
{
|
||||
mOldSettings.loadToSettings();
|
||||
loadSettings();
|
||||
}
|
||||
else
|
||||
{
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void LxQtPanelPluginConfigDialog::setComboboxIndexByData(QComboBox *comboBox, const QVariant &data, int defaultIndex) const
|
||||
{
|
||||
int index = comboBox ->findData(data);
|
||||
if (index < 0)
|
||||
index = defaultIndex;
|
||||
|
||||
comboBox->setCurrentIndex(index);
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef LXQTPANELPLUGINCONFIGDIALOG_H
|
||||
#define LXQTPANELPLUGINCONFIGDIALOG_H
|
||||
|
||||
#include <QAbstractButton>
|
||||
#include <QDialog>
|
||||
#include <LXQt/Settings>
|
||||
#include "lxqtpanelglobals.h"
|
||||
|
||||
class QComboBox;
|
||||
|
||||
class LXQT_PANEL_API LxQtPanelPluginConfigDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LxQtPanelPluginConfigDialog(QSettings &settings, QWidget *parent = 0);
|
||||
virtual ~LxQtPanelPluginConfigDialog();
|
||||
|
||||
QSettings& settings() const;
|
||||
|
||||
protected slots:
|
||||
/*
|
||||
Saves settings in conf file.
|
||||
*/
|
||||
virtual void loadSettings() = 0;
|
||||
virtual void dialogButtonsAction(QAbstractButton *btn);
|
||||
|
||||
protected:
|
||||
void setComboboxIndexByData(QComboBox *comboBox, const QVariant &data, int defaultIndex = 0) const;
|
||||
|
||||
private:
|
||||
QSettings &mSettings;
|
||||
LxQt::SettingsCache mOldSettings;
|
||||
|
||||
};
|
||||
|
||||
#endif // LXQTPANELPLUGINCONFIGDIALOG_H
|
@ -0,0 +1,42 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2011 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "lxqtpanelapplication.h"
|
||||
|
||||
/*! The lxqt-panel is the panel of LXDE-Qt.
|
||||
Usage: lxqt-panel [CONFIG_ID]
|
||||
CONFIG_ID Section name in config file ~/.config/lxqt-panel/panel.conf
|
||||
(default main)
|
||||
*/
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
LxQtPanelApplication app(argc, argv);
|
||||
|
||||
return app.exec();
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
.TH lxqt-panel "1" "September 2012" "LXQt\ 0.5.0" "LXQt\ Module"
|
||||
.SH NAME
|
||||
lxqt-panel \- Panel of \fBLXQt\fR: the faster and lighter QT Desktop Environment
|
||||
.SH SYNOPSIS
|
||||
.B lxqt-panel
|
||||
.br
|
||||
.SH DESCRIPTION
|
||||
This module adds a panel to the desktop.
|
||||
.P
|
||||
.P
|
||||
The \fBLXQt modules\fR are desktop independent tools,
|
||||
and operate as daemons for the local user for desktop specific operations.
|
||||
.P
|
||||
\fBLXQt\fR is an advanced, easy-to-use, and fast desktop environment based on Qt
|
||||
technologies, ships several core desktop components, all of which are optional:
|
||||
.P
|
||||
* Panel \fI(this)\fR
|
||||
* Desktop
|
||||
* Application launcher
|
||||
* Settings center
|
||||
* Session handler
|
||||
* Polkit handler
|
||||
* SSH password access
|
||||
* Display manager handler
|
||||
.P
|
||||
These components perform similar actions to those available in other desktop
|
||||
environments, and their name is self-descriptive. They are usually not launched
|
||||
by hand but automatically, when choosing a \fBLXQt\fR session in the Display
|
||||
Manager.
|
||||
.SH BEHAVIOR
|
||||
The module can be run standard alone, and also autostarted at logon. Show a bar panel
|
||||
by default in bottom of desktop.
|
||||
.P
|
||||
The panel works with plugins, each component are a plugin, like the menu or the volume icon.
|
||||
.P
|
||||
Several plugins are loaded by default, the desktop menu and windows workspaces can also managed here.
|
||||
.SH CONFIGURATIONS
|
||||
By right clickin over there show config setting options for each plugins and also panel itsefl.
|
||||
.SH AUTOSTART
|
||||
The module only are showed on \fBLXQt\fR desktop environment, but you can create an autostart action
|
||||
for you prefered desktop environment.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to https://github.com/LXDE/LXQt/issues
|
||||
.SH "SEE ALSO"
|
||||
\fBLXQt\fR it has been tailored for users who value simplicity, speed, and
|
||||
an intuitive interface, also intended for less powerful machines. See:
|
||||
.\" any module must refers to session app, for more info on start it
|
||||
.P
|
||||
\fBlxqt-session.1\fR LXQt for manage LXQt complete environment
|
||||
.P
|
||||
\fBstart-lxqt.1\fR LXQt display management independient starup.
|
||||
.P
|
||||
\fBlxqt-config.1\fR LXQt config center application for performing settings
|
||||
.P
|
||||
.SH AUTHOR
|
||||
This manual page was created by \fBPICCORO Lenz McKAY\fR \fI<mckaygerhard@gmail.com>\fR
|
||||
for \fBLXQt\fR project and VENENUX GNU/Linux but can be used by others.
|
@ -0,0 +1,331 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://lxqt.org
|
||||
*
|
||||
* Copyright: 2015 LXQt team
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "panelpluginsmodel.h"
|
||||
#include "plugin.h"
|
||||
#include "ilxqtpanelplugin.h"
|
||||
#include "lxqtpanel.h"
|
||||
#include "lxqtpanelapplication.h"
|
||||
#include <QPointer>
|
||||
#include <XdgIcon>
|
||||
#include <LXQt/Settings>
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
PanelPluginsModel::PanelPluginsModel(LxQtPanel * panel,
|
||||
QString const & namesKey,
|
||||
QStringList const & desktopDirs,
|
||||
QObject * parent/* = nullptr*/)
|
||||
: QAbstractListModel{parent},
|
||||
mNamesKey(namesKey),
|
||||
mPanel(panel)
|
||||
{
|
||||
loadPlugins(desktopDirs);
|
||||
}
|
||||
|
||||
PanelPluginsModel::~PanelPluginsModel()
|
||||
{
|
||||
qDeleteAll(plugins());
|
||||
}
|
||||
|
||||
int PanelPluginsModel::rowCount(const QModelIndex & parent/* = QModelIndex()*/) const
|
||||
{
|
||||
return QModelIndex() == parent ? mPlugins.size() : 0;
|
||||
}
|
||||
|
||||
|
||||
QVariant PanelPluginsModel::data(const QModelIndex & index, int role/* = Qt::DisplayRole*/) const
|
||||
{
|
||||
Q_ASSERT(QModelIndex() == index.parent()
|
||||
&& 0 == index.column()
|
||||
&& mPlugins.size() > index.row()
|
||||
);
|
||||
|
||||
pluginslist_t::const_reference plugin = mPlugins[index.row()];
|
||||
QVariant ret;
|
||||
switch (role)
|
||||
{
|
||||
case Qt::DisplayRole:
|
||||
if (plugin.second.isNull())
|
||||
ret = QStringLiteral("<b>Unknown</b> (%1)").arg(plugin.first);
|
||||
else
|
||||
ret = QStringLiteral("<b>%1</b> (%2)").arg(plugin.second->name(), plugin.first);
|
||||
break;
|
||||
case Qt::DecorationRole:
|
||||
if (plugin.second.isNull())
|
||||
ret = XdgIcon::fromTheme("preferences-plugin");
|
||||
else
|
||||
ret = plugin.second->desktopFile().icon(XdgIcon::fromTheme("preferences-plugin"));
|
||||
break;
|
||||
case Qt::UserRole:
|
||||
ret = QVariant::fromValue(const_cast<Plugin const *>(plugin.second.data()));
|
||||
break;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Qt::ItemFlags PanelPluginsModel::flags(const QModelIndex & index) const
|
||||
{
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemNeverHasChildren;
|
||||
}
|
||||
|
||||
QStringList PanelPluginsModel::pluginNames() const
|
||||
{
|
||||
QStringList names;
|
||||
for (auto const & p : mPlugins)
|
||||
names.append(p.first);
|
||||
return std::move(names);
|
||||
}
|
||||
|
||||
QList<Plugin *> PanelPluginsModel::plugins() const
|
||||
{
|
||||
QList<Plugin *> plugins;
|
||||
for (auto const & p : mPlugins)
|
||||
if (!p.second.isNull())
|
||||
plugins.append(p.second.data());
|
||||
return std::move(plugins);
|
||||
}
|
||||
|
||||
Plugin* PanelPluginsModel::pluginByName(QString name) const
|
||||
{
|
||||
for (auto const & p : mPlugins)
|
||||
if (p.first == name)
|
||||
return p.second.data();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Plugin const * PanelPluginsModel::pluginByID(QString id) const
|
||||
{
|
||||
for (auto const & p : mPlugins)
|
||||
{
|
||||
Plugin *plugin = p.second.data();
|
||||
if (plugin && plugin->desktopFile().id() == id)
|
||||
return plugin;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void PanelPluginsModel::addPlugin(const LxQt::PluginInfo &desktopFile)
|
||||
{
|
||||
if (dynamic_cast<LxQtPanelApplication const *>(qApp)->isPluginSingletonAndRunnig(desktopFile.id()))
|
||||
return;
|
||||
|
||||
QString name = findNewPluginSettingsGroup(desktopFile.id());
|
||||
|
||||
QPointer<Plugin> plugin = loadPlugin(desktopFile, name);
|
||||
if (plugin.isNull())
|
||||
return;
|
||||
|
||||
beginInsertRows(QModelIndex(), mPlugins.size(), mPlugins.size());
|
||||
mPlugins.append({name, plugin});
|
||||
endInsertRows();
|
||||
mPanel->settings()->setValue(mNamesKey, pluginNames());
|
||||
emit pluginAdded(plugin.data());
|
||||
}
|
||||
|
||||
void PanelPluginsModel::removePlugin(pluginslist_t::iterator plugin)
|
||||
{
|
||||
if (mPlugins.end() != plugin)
|
||||
{
|
||||
mPanel->settings()->remove(plugin->first);
|
||||
Plugin * p = plugin->second.data();
|
||||
const int row = plugin - mPlugins.begin();
|
||||
beginRemoveRows(QModelIndex(), row, row);
|
||||
mPlugins.erase(plugin);
|
||||
endRemoveRows();
|
||||
mActive = mPlugins.isEmpty() ? QModelIndex() : createIndex(mPlugins.size() > row ? row : row - 1, 0);
|
||||
emit pluginRemoved(p); // p can be nullptr
|
||||
mPanel->settings()->setValue(mNamesKey, pluginNames());
|
||||
if (nullptr != p)
|
||||
p->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
void PanelPluginsModel::removePlugin()
|
||||
{
|
||||
Plugin * p = qobject_cast<Plugin*>(sender());
|
||||
auto plugin = std::find_if(mPlugins.begin(), mPlugins.end(),
|
||||
[p] (pluginslist_t::const_reference obj) { return p == obj.second; });
|
||||
removePlugin(std::move(plugin));
|
||||
}
|
||||
|
||||
void PanelPluginsModel::movePlugin(Plugin * plugin, QString const & nameAfter)
|
||||
{
|
||||
//merge list of plugins (try to preserve original position)
|
||||
const int from =
|
||||
std::find_if(mPlugins.begin(), mPlugins.end(), [plugin] (pluginslist_t::const_reference obj) { return plugin == obj.second.data(); })
|
||||
- mPlugins.begin();
|
||||
const int to =
|
||||
std::find_if(mPlugins.begin(), mPlugins.end(), [nameAfter] (pluginslist_t::const_reference obj) { return nameAfter == obj.first; })
|
||||
- mPlugins.begin();
|
||||
const int to_plugins = from < to ? to - 1 : to;
|
||||
|
||||
if (from != to && from != to_plugins)
|
||||
{
|
||||
beginMoveRows(QModelIndex(), from, from, QModelIndex(), to);
|
||||
mPlugins.move(from, to_plugins);
|
||||
endMoveRows();
|
||||
emit pluginMoved(plugin);
|
||||
mPanel->settings()->setValue(mNamesKey, pluginNames());
|
||||
}
|
||||
}
|
||||
|
||||
void PanelPluginsModel::loadPlugins(QStringList const & desktopDirs)
|
||||
{
|
||||
QStringList plugin_names = mPanel->settings()->value(mNamesKey).toStringList();
|
||||
|
||||
#ifdef DEBUG_PLUGIN_LOADTIME
|
||||
QElapsedTimer timer;
|
||||
timer.start();
|
||||
qint64 lastTime = 0;
|
||||
#endif
|
||||
for (auto const & name : plugin_names)
|
||||
{
|
||||
pluginslist_t::iterator i = mPlugins.insert(mPlugins.end(), {name, nullptr});
|
||||
QString type = mPanel->settings()->value(name + "/type").toString();
|
||||
if (type.isEmpty())
|
||||
{
|
||||
qWarning() << QString("Section \"%1\" not found in %2.").arg(name, mPanel->settings()->fileName());
|
||||
continue;
|
||||
}
|
||||
|
||||
LxQt::PluginInfoList list = LxQt::PluginInfo::search(desktopDirs, "LxQtPanel/Plugin", QString("%1.desktop").arg(type));
|
||||
if( !list.count())
|
||||
{
|
||||
qWarning() << QString("Plugin \"%1\" not found.").arg(type);
|
||||
continue;
|
||||
}
|
||||
|
||||
i->second = loadPlugin(list.first(), name);
|
||||
#ifdef DEBUG_PLUGIN_LOADTIME
|
||||
qDebug() << "load plugin" << type << "takes" << (timer.elapsed() - lastTime) << "ms";
|
||||
lastTime = timer.elapsed();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
QPointer<Plugin> PanelPluginsModel::loadPlugin(LxQt::PluginInfo const & desktopFile, QString const & settingsGroup)
|
||||
{
|
||||
std::unique_ptr<Plugin> plugin(new Plugin(desktopFile, mPanel->settings()->fileName(), settingsGroup, mPanel));
|
||||
if (plugin->isLoaded())
|
||||
{
|
||||
connect(mPanel, &LxQtPanel::realigned, plugin.get(), &Plugin::realign);
|
||||
connect(plugin.get(), &Plugin::remove,
|
||||
this, static_cast<void (PanelPluginsModel::*)()>(&PanelPluginsModel::removePlugin));
|
||||
return plugin.release();
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
QString PanelPluginsModel::findNewPluginSettingsGroup(const QString &pluginType) const
|
||||
{
|
||||
QStringList groups = mPanel->settings()->childGroups();
|
||||
groups.sort();
|
||||
|
||||
// Generate new section name
|
||||
for (int i = 2; true; ++i)
|
||||
if (!groups.contains(QStringLiteral("%1%2").arg(pluginType).arg(i)))
|
||||
return QStringLiteral("%1%2").arg(pluginType).arg(i);
|
||||
}
|
||||
|
||||
void PanelPluginsModel::onActivatedIndex(QModelIndex const & index)
|
||||
{
|
||||
mActive = index;
|
||||
}
|
||||
|
||||
bool PanelPluginsModel::isActiveIndexValid() const
|
||||
{
|
||||
return mActive.isValid() && QModelIndex() == mActive.parent()
|
||||
&& 0 == mActive.column() && mPlugins.size() > mActive.row();
|
||||
}
|
||||
|
||||
void PanelPluginsModel::onMovePluginUp()
|
||||
{
|
||||
if (!isActiveIndexValid())
|
||||
return;
|
||||
|
||||
const int row = mActive.row();
|
||||
if (0 >= row)
|
||||
return; //can't move up
|
||||
|
||||
beginMoveRows(QModelIndex(), row, row, QModelIndex(), row - 1);
|
||||
mPlugins.swap(row - 1, row);
|
||||
endMoveRows();
|
||||
pluginslist_t::const_reference moved_plugin = mPlugins[row - 1];
|
||||
pluginslist_t::const_reference prev_plugin = mPlugins[row];
|
||||
|
||||
emit pluginMoved(moved_plugin.second.data());
|
||||
//emit signal for layout only in case both plugins are loaded/displayed
|
||||
if (!moved_plugin.second.isNull() && !prev_plugin.second.isNull())
|
||||
emit pluginMovedUp(moved_plugin.second.data());
|
||||
|
||||
mPanel->settings()->setValue(mNamesKey, pluginNames());
|
||||
}
|
||||
|
||||
void PanelPluginsModel::onMovePluginDown()
|
||||
{
|
||||
if (!isActiveIndexValid())
|
||||
return;
|
||||
|
||||
const int row = mActive.row();
|
||||
if (mPlugins.size() <= row + 1)
|
||||
return; //can't move down
|
||||
|
||||
beginMoveRows(QModelIndex(), row, row, QModelIndex(), row + 2);
|
||||
mPlugins.swap(row, row + 1);
|
||||
endMoveRows();
|
||||
pluginslist_t::const_reference moved_plugin = mPlugins[row + 1];
|
||||
pluginslist_t::const_reference next_plugin = mPlugins[row];
|
||||
|
||||
emit pluginMoved(moved_plugin.second.data());
|
||||
//emit signal for layout only in case both plugins are loaded/displayed
|
||||
if (!moved_plugin.second.isNull() && !next_plugin.second.isNull())
|
||||
emit pluginMovedUp(next_plugin.second.data());
|
||||
|
||||
mPanel->settings()->setValue(mNamesKey, pluginNames());
|
||||
}
|
||||
|
||||
void PanelPluginsModel::onConfigurePlugin()
|
||||
{
|
||||
if (!isActiveIndexValid())
|
||||
return;
|
||||
|
||||
Plugin * const plugin = mPlugins[mActive.row()].second.data();
|
||||
if (nullptr != plugin && (ILxQtPanelPlugin::HaveConfigDialog & plugin->iPlugin()->flags()))
|
||||
plugin->showConfigureDialog();
|
||||
}
|
||||
|
||||
void PanelPluginsModel::onRemovePlugin()
|
||||
{
|
||||
if (!isActiveIndexValid())
|
||||
return;
|
||||
|
||||
auto plugin = mPlugins.begin() + mActive.row();
|
||||
if (plugin->second.isNull())
|
||||
removePlugin(std::move(plugin));
|
||||
else
|
||||
plugin->second->requestRemove();
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://lxqt.org
|
||||
*
|
||||
* Copyright: 2015 LXQt team
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef PANELPLUGINSMODEL_H
|
||||
#define PANELPLUGINSMODEL_H
|
||||
|
||||
#include <QAbstractListModel>
|
||||
#include <memory>
|
||||
|
||||
namespace LxQt
|
||||
{
|
||||
class PluginInfo;
|
||||
struct PluginData;
|
||||
}
|
||||
|
||||
class LxQtPanel;
|
||||
class Plugin;
|
||||
|
||||
class PanelPluginsModel : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
PanelPluginsModel(LxQtPanel * panel,
|
||||
QString const & namesKey,
|
||||
QStringList const & desktopDirs,
|
||||
QObject * parent = nullptr);
|
||||
~PanelPluginsModel();
|
||||
|
||||
virtual int rowCount(const QModelIndex & parent = QModelIndex()) const override;
|
||||
virtual QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const override;
|
||||
virtual Qt::ItemFlags flags(const QModelIndex & index) const override;
|
||||
|
||||
QStringList pluginNames() const;
|
||||
QList<Plugin *> plugins() const;
|
||||
Plugin *pluginByName(QString name) const;
|
||||
Plugin const *pluginByID(QString id) const;
|
||||
|
||||
/*!
|
||||
* \param plugin plugin that has been moved
|
||||
* \param nameAfter name of plugin that is right after moved plugin
|
||||
*/
|
||||
void movePlugin(Plugin * plugin, QString const & nameAfter);
|
||||
|
||||
signals:
|
||||
void pluginAdded(Plugin * plugin);
|
||||
void pluginRemoved(Plugin * plugin);
|
||||
void pluginMoved(Plugin * plugin); //plugin can be nullptr in case of move of not loaded plugin
|
||||
/*!
|
||||
* Emiting only move-up for simplification of using (and problematic layout/list move)
|
||||
*/
|
||||
void pluginMovedUp(Plugin * plugin);
|
||||
|
||||
public slots:
|
||||
void addPlugin(const LxQt::PluginInfo &desktopFile);
|
||||
void removePlugin();
|
||||
|
||||
// slots for configuration dialog
|
||||
void onActivatedIndex(QModelIndex const & index);
|
||||
void onMovePluginUp();
|
||||
void onMovePluginDown();
|
||||
void onConfigurePlugin();
|
||||
void onRemovePlugin();
|
||||
|
||||
private:
|
||||
typedef QList<QPair <QString/*name*/, QPointer<Plugin> > > pluginslist_t;
|
||||
|
||||
private:
|
||||
void loadPlugins(QStringList const & desktopDirs);
|
||||
QPointer<Plugin> loadPlugin(LxQt::PluginInfo const & desktopFile, QString const & settingsGroup);
|
||||
QString findNewPluginSettingsGroup(const QString &pluginType) const;
|
||||
bool isActiveIndexValid() const;
|
||||
void removePlugin(pluginslist_t::iterator plugin);
|
||||
|
||||
const QString mNamesKey;
|
||||
pluginslist_t mPlugins;
|
||||
LxQtPanel * mPanel;
|
||||
QPersistentModelIndex mActive;
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(Plugin const *)
|
||||
|
||||
#endif // PANELPLUGINSMODEL_H
|
@ -0,0 +1,484 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "plugin.h"
|
||||
#include "ilxqtpanelplugin.h"
|
||||
#include "lxqtpanel.h"
|
||||
#include <QDebug>
|
||||
#include <QProcessEnvironment>
|
||||
#include <QStringList>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QPluginLoader>
|
||||
#include <QGridLayout>
|
||||
#include <QDialog>
|
||||
#include <QEvent>
|
||||
#include <QMenu>
|
||||
#include <QMouseEvent>
|
||||
#include <QApplication>
|
||||
#include <QCryptographicHash>
|
||||
#include <memory>
|
||||
|
||||
#include <LXQt/Settings>
|
||||
#include <LXQt/Translator>
|
||||
#include <XdgIcon>
|
||||
|
||||
// statically linked built-in plugins
|
||||
#include "../plugin-clock/lxqtclock.h" // clock
|
||||
#include "../plugin-desktopswitch/desktopswitch.h" // desktopswitch
|
||||
#include "../plugin-mainmenu/lxqtmainmenu.h" // mainmenu
|
||||
#include "../plugin-quicklaunch/lxqtquicklaunchplugin.h" // quicklaunch
|
||||
#include "../plugin-showdesktop/showdesktop.h" // showdesktop
|
||||
#include "../plugin-spacer/spacer.h" // spacer
|
||||
#include "../plugin-statusnotifier/statusnotifier.h" // statusnotifier
|
||||
#include "../plugin-taskbar/lxqttaskbarplugin.h" // taskbar
|
||||
#include "../plugin-tray/lxqttrayplugin.h" // tray
|
||||
#include "../plugin-worldclock/lxqtworldclock.h" // worldclock
|
||||
|
||||
QColor Plugin::mMoveMarkerColor= QColor(255, 0, 0, 255);
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
Plugin::Plugin(const LxQt::PluginInfo &desktopFile, const QString &settingsFile, const QString &settingsGroup, LxQtPanel *panel) :
|
||||
QFrame(panel),
|
||||
mDesktopFile(desktopFile),
|
||||
mPluginLoader(0),
|
||||
mPlugin(0),
|
||||
mPluginWidget(0),
|
||||
mAlignment(AlignLeft),
|
||||
mSettingsGroup(settingsGroup),
|
||||
mPanel(panel)
|
||||
{
|
||||
|
||||
mSettings = new LxQt::Settings(settingsFile, QSettings::IniFormat, this);
|
||||
connect(mSettings, SIGNAL(settingsChanged()), this, SLOT(settingsChanged()));
|
||||
mSettings->beginGroup(settingsGroup);
|
||||
|
||||
mSettingsHash = calcSettingsHash();
|
||||
|
||||
setWindowTitle(desktopFile.name());
|
||||
mName = desktopFile.name();
|
||||
|
||||
QStringList dirs;
|
||||
dirs << QProcessEnvironment::systemEnvironment().value("LXQTPANEL_PLUGIN_PATH").split(":");
|
||||
dirs << PLUGIN_DIR;
|
||||
|
||||
bool found = false;
|
||||
if(ILxQtPanelPluginLibrary const * pluginLib = findStaticPlugin(desktopFile.id()))
|
||||
{
|
||||
// this is a static plugin
|
||||
found = true;
|
||||
loadLib(pluginLib);
|
||||
}
|
||||
else {
|
||||
// this plugin is a dynamically loadable module
|
||||
QString baseName = QString("lib%1.so").arg(desktopFile.id());
|
||||
foreach(QString dirName, dirs)
|
||||
{
|
||||
QFileInfo fi(QDir(dirName), baseName);
|
||||
if (fi.exists())
|
||||
{
|
||||
found = true;
|
||||
if (loadModule(fi.absoluteFilePath()))
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!isLoaded())
|
||||
{
|
||||
if (!found)
|
||||
qWarning() << QString("Plugin %1 not found in the").arg(desktopFile.id()) << dirs;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// Load plugin translations
|
||||
LxQt::Translator::translatePlugin(desktopFile.id(), QLatin1String("lxqt-panel"));
|
||||
|
||||
setObjectName(mPlugin->themeId() + "Plugin");
|
||||
|
||||
// plugin handle for easy context menu
|
||||
setProperty("NeedsHandle", mPlugin->flags().testFlag(ILxQtPanelPlugin::NeedsHandle));
|
||||
|
||||
QString s = mSettings->value("alignment").toString();
|
||||
|
||||
// Retrun default value
|
||||
if (s.isEmpty())
|
||||
{
|
||||
mAlignment = (mPlugin->flags().testFlag(ILxQtPanelPlugin::PreferRightAlignment)) ?
|
||||
Plugin::AlignRight :
|
||||
Plugin::AlignLeft;
|
||||
}
|
||||
else
|
||||
{
|
||||
mAlignment = (s.toUpper() == "RIGHT") ?
|
||||
Plugin::AlignRight :
|
||||
Plugin::AlignLeft;
|
||||
|
||||
}
|
||||
|
||||
if (mPluginWidget)
|
||||
{
|
||||
QGridLayout* layout = new QGridLayout(this);
|
||||
layout->setSpacing(0);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
setLayout(layout);
|
||||
layout->addWidget(mPluginWidget, 0, 0);
|
||||
}
|
||||
|
||||
saveSettings();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
Plugin::~Plugin()
|
||||
{
|
||||
delete mPlugin;
|
||||
if (mPluginLoader)
|
||||
{
|
||||
mPluginLoader->unload();
|
||||
delete mPluginLoader;
|
||||
}
|
||||
}
|
||||
|
||||
void Plugin::setAlignment(Plugin::Alignment alignment)
|
||||
{
|
||||
mAlignment = alignment;
|
||||
saveSettings();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
namespace
|
||||
{
|
||||
//helper types for static plugins storage & binary search
|
||||
typedef std::unique_ptr<ILxQtPanelPluginLibrary> plugin_ptr_t;
|
||||
typedef std::pair<QString, plugin_ptr_t > plugin_pair_t;
|
||||
|
||||
//NOTE: Please keep the plugins sorted by name while adding new plugins.
|
||||
static plugin_pair_t const static_plugins[] = {
|
||||
#if defined(WITH_CLOCK_PLUGIN)
|
||||
{ QStringLiteral("clock"), plugin_ptr_t{new LxQtClockPluginLibrary} },// clock
|
||||
#endif
|
||||
#if defined(WITH_DESKTOPSWITCH_PLUGIN)
|
||||
{ QStringLiteral("desktopswitch"), plugin_ptr_t{new DesktopSwitchPluginLibrary} },// desktopswitch
|
||||
#endif
|
||||
#if defined(WITH_MAINMENU_PLUGIN)
|
||||
{ QStringLiteral("mainmenu"), plugin_ptr_t{new LxQtMainMenuPluginLibrary} },// mainmenu
|
||||
#endif
|
||||
#if defined(WITH_QUICKLAUNCH_PLUGIN)
|
||||
{ QStringLiteral("quicklaunch"), plugin_ptr_t{new LxQtQuickLaunchPluginLibrary} },// quicklaunch
|
||||
#endif
|
||||
#if defined(WITH_SHOWDESKTOP_PLUGIN)
|
||||
{ QStringLiteral("showdesktop"), plugin_ptr_t{new ShowDesktopLibrary} },// showdesktop
|
||||
#endif
|
||||
#if defined(WITH_SPACER_PLUGIN)
|
||||
{ QStringLiteral("spacer"), plugin_ptr_t{new SpacerPluginLibrary} },// spacer
|
||||
#endif
|
||||
#if defined(WITH_STATUSNOTIFIER_PLUGIN)
|
||||
{ QStringLiteral("statusnotifier"), plugin_ptr_t{new StatusNotifierLibrary} },// statusnotifier
|
||||
#endif
|
||||
#if defined(WITH_TASKBAR_PLUGIN)
|
||||
{ QStringLiteral("taskbar"), plugin_ptr_t{new LxQtTaskBarPluginLibrary} },// taskbar
|
||||
#endif
|
||||
#if defined(WITH_TRAY_PLUGIN)
|
||||
{ QStringLiteral("tray"), plugin_ptr_t{new LxQtTrayPluginLibrary} },// tray
|
||||
#endif
|
||||
#if defined(WITH_WORLDCLOCK_PLUGIN)
|
||||
{ QStringLiteral("worldclock"), plugin_ptr_t{new LxQtWorldClockLibrary} },// worldclock
|
||||
#endif
|
||||
};
|
||||
static constexpr plugin_pair_t const * const plugins_begin = static_plugins;
|
||||
static constexpr plugin_pair_t const * const plugins_end = static_plugins + sizeof (static_plugins) / sizeof (static_plugins[0]);
|
||||
|
||||
struct assert_helper
|
||||
{
|
||||
assert_helper()
|
||||
{
|
||||
Q_ASSERT(std::is_sorted(plugins_begin, plugins_end
|
||||
, [] (plugin_pair_t const & p1, plugin_pair_t const & p2) -> bool { return p1.first < p2.first; }));
|
||||
}
|
||||
};
|
||||
static assert_helper h;
|
||||
}
|
||||
|
||||
ILxQtPanelPluginLibrary const * Plugin::findStaticPlugin(const QString &libraryName)
|
||||
{
|
||||
// find a static plugin library by name -> binary search
|
||||
plugin_pair_t const * plugin = std::lower_bound(plugins_begin, plugins_end, libraryName
|
||||
, [] (plugin_pair_t const & plugin, QString const & name) -> bool { return plugin.first < name; });
|
||||
if (plugins_end != plugin && libraryName == plugin->first)
|
||||
return plugin->second.get();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// load a plugin from a library
|
||||
bool Plugin::loadLib(ILxQtPanelPluginLibrary const * pluginLib)
|
||||
{
|
||||
ILxQtPanelPluginStartupInfo startupInfo;
|
||||
startupInfo.settings = mSettings;
|
||||
startupInfo.desktopFile = &mDesktopFile;
|
||||
startupInfo.lxqtPanel = mPanel;
|
||||
|
||||
mPlugin = pluginLib->instance(startupInfo);
|
||||
if (!mPlugin)
|
||||
{
|
||||
qWarning() << QString("Can't load plugin \"%1\". Plugin can't build ILxQtPanelPlugin.").arg(mPluginLoader->fileName());
|
||||
return false;
|
||||
}
|
||||
|
||||
mPluginWidget = mPlugin->widget();
|
||||
if (mPluginWidget)
|
||||
{
|
||||
mPluginWidget->setObjectName(mPlugin->themeId());
|
||||
}
|
||||
this->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
return true;
|
||||
}
|
||||
|
||||
// load dynamic plugin from a *.so module
|
||||
bool Plugin::loadModule(const QString &libraryName)
|
||||
{
|
||||
mPluginLoader = new QPluginLoader(libraryName);
|
||||
|
||||
if (!mPluginLoader->load())
|
||||
{
|
||||
qWarning() << mPluginLoader->errorString();
|
||||
return false;
|
||||
}
|
||||
|
||||
QObject *obj = mPluginLoader->instance();
|
||||
if (!obj)
|
||||
{
|
||||
qWarning() << mPluginLoader->errorString();
|
||||
return false;
|
||||
}
|
||||
|
||||
ILxQtPanelPluginLibrary* pluginLib= qobject_cast<ILxQtPanelPluginLibrary*>(obj);
|
||||
if (!pluginLib)
|
||||
{
|
||||
qWarning() << QString("Can't load plugin \"%1\". Plugin is not a ILxQtPanelPluginLibrary.").arg(mPluginLoader->fileName());
|
||||
delete obj;
|
||||
return false;
|
||||
}
|
||||
return loadLib(pluginLib);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
QByteArray Plugin::calcSettingsHash()
|
||||
{
|
||||
QCryptographicHash hash(QCryptographicHash::Md5);
|
||||
QStringList keys = mSettings->allKeys();
|
||||
foreach (const QString &key, keys)
|
||||
{
|
||||
hash.addData(key.toUtf8());
|
||||
hash.addData(mSettings->value(key).toByteArray());
|
||||
}
|
||||
return hash.result();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::settingsChanged()
|
||||
{
|
||||
QByteArray hash = calcSettingsHash();
|
||||
if (mSettingsHash != hash)
|
||||
{
|
||||
mSettingsHash = hash;
|
||||
mPlugin->settingsChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::saveSettings()
|
||||
{
|
||||
mSettings->setValue("alignment", (mAlignment == AlignLeft) ? "Left" : "Right");
|
||||
mSettings->setValue("type", mDesktopFile.id());
|
||||
mSettings->sync();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::contextMenuEvent(QContextMenuEvent *event)
|
||||
{
|
||||
mPanel->showPopupMenu(this);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
switch (event->button())
|
||||
{
|
||||
case Qt::LeftButton:
|
||||
mPlugin->activated(ILxQtPanelPlugin::Trigger);
|
||||
break;
|
||||
|
||||
case Qt::MidButton:
|
||||
mPlugin->activated(ILxQtPanelPlugin::MiddleClick);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::mouseDoubleClickEvent(QMouseEvent*)
|
||||
{
|
||||
mPlugin->activated(ILxQtPanelPlugin::DoubleClick);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::showEvent(QShowEvent *)
|
||||
{
|
||||
if (mPluginWidget)
|
||||
mPluginWidget->adjustSize();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
QMenu *Plugin::popupMenu() const
|
||||
{
|
||||
QString name = this->name().replace("&", "&&");
|
||||
QMenu* menu = new QMenu(windowTitle());
|
||||
|
||||
if (mPlugin->flags().testFlag(ILxQtPanelPlugin::HaveConfigDialog))
|
||||
{
|
||||
QAction* configAction = new QAction(
|
||||
XdgIcon::fromTheme(QStringLiteral("preferences-other")),
|
||||
tr("Configure \"%1\"").arg(name), menu);
|
||||
menu->addAction(configAction);
|
||||
connect(configAction, SIGNAL(triggered()), this, SLOT(showConfigureDialog()));
|
||||
}
|
||||
|
||||
QAction* moveAction = new QAction(XdgIcon::fromTheme("transform-move"), tr("Move \"%1\"").arg(name), menu);
|
||||
menu->addAction(moveAction);
|
||||
connect(moveAction, SIGNAL(triggered()), this, SIGNAL(startMove()));
|
||||
|
||||
menu->addSeparator();
|
||||
|
||||
QAction* removeAction = new QAction(
|
||||
XdgIcon::fromTheme(QStringLiteral("list-remove")),
|
||||
tr("Remove \"%1\"").arg(name), menu);
|
||||
menu->addAction(removeAction);
|
||||
connect(removeAction, SIGNAL(triggered()), this, SLOT(requestRemove()));
|
||||
|
||||
return menu;
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
bool Plugin::isSeparate() const
|
||||
{
|
||||
return mPlugin->isSeparate();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
bool Plugin::isExpandable() const
|
||||
{
|
||||
return mPlugin->isExpandable();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::realign()
|
||||
{
|
||||
if (mPlugin)
|
||||
mPlugin->realign();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::showConfigureDialog()
|
||||
{
|
||||
// store a pointer to each plugin using the plugins' names
|
||||
static QHash<QString, QPointer<QDialog> > refs;
|
||||
QDialog *dialog = refs[name()].data();
|
||||
|
||||
if (!dialog)
|
||||
{
|
||||
dialog = mPlugin->configureDialog();
|
||||
refs[name()] = dialog;
|
||||
connect(this, SIGNAL(destroyed()), dialog, SLOT(close()));
|
||||
}
|
||||
|
||||
if (!dialog)
|
||||
return;
|
||||
|
||||
dialog->show();
|
||||
dialog->raise();
|
||||
dialog->activateWindow();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void Plugin::requestRemove()
|
||||
{
|
||||
emit remove();
|
||||
deleteLater();
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef PLUGIN_H
|
||||
#define PLUGIN_H
|
||||
|
||||
#include <QFrame>
|
||||
#include <QString>
|
||||
#include <LXQt/PluginInfo>
|
||||
#include "ilxqtpanel.h"
|
||||
#include "lxqtpanelglobals.h"
|
||||
|
||||
class QPluginLoader;
|
||||
class QSettings;
|
||||
class ILxQtPanelPlugin;
|
||||
class ILxQtPanelPluginLibrary;
|
||||
class LxQtPanel;
|
||||
class QMenu;
|
||||
|
||||
|
||||
class LXQT_PANEL_API Plugin : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PROPERTY(QColor moveMarkerColor READ moveMarkerColor WRITE setMoveMarkerColor)
|
||||
public:
|
||||
enum Alignment {
|
||||
AlignLeft,
|
||||
AlignRight
|
||||
};
|
||||
|
||||
|
||||
explicit Plugin(const LxQt::PluginInfo &desktopFile, const QString &settingsFile, const QString &settingsGroup, LxQtPanel *panel);
|
||||
~Plugin();
|
||||
|
||||
bool isLoaded() const { return mPlugin != 0; }
|
||||
Alignment alignment() const { return mAlignment; }
|
||||
void setAlignment(Alignment alignment);
|
||||
|
||||
QString settingsGroup() const { return mSettingsGroup; }
|
||||
|
||||
void saveSettings();
|
||||
|
||||
QMenu* popupMenu() const;
|
||||
const ILxQtPanelPlugin * iPlugin() const { return mPlugin; }
|
||||
|
||||
const LxQt::PluginInfo desktopFile() const { return mDesktopFile; }
|
||||
|
||||
bool isSeparate() const;
|
||||
bool isExpandable() const;
|
||||
|
||||
QWidget *widget() { return mPluginWidget; }
|
||||
|
||||
QString name() const { return mName; }
|
||||
|
||||
// For QSS properties ..................
|
||||
static QColor moveMarkerColor() { return mMoveMarkerColor; }
|
||||
static void setMoveMarkerColor(QColor color) { mMoveMarkerColor = color; }
|
||||
|
||||
public slots:
|
||||
void realign();
|
||||
void showConfigureDialog();
|
||||
void requestRemove();
|
||||
|
||||
signals:
|
||||
void startMove();
|
||||
void remove();
|
||||
|
||||
protected:
|
||||
void contextMenuEvent(QContextMenuEvent *event);
|
||||
void mousePressEvent(QMouseEvent *event);
|
||||
void mouseDoubleClickEvent(QMouseEvent *event);
|
||||
void showEvent(QShowEvent *event);
|
||||
|
||||
private:
|
||||
bool loadLib(ILxQtPanelPluginLibrary const * pluginLib);
|
||||
bool loadModule(const QString &libraryName);
|
||||
ILxQtPanelPluginLibrary const * findStaticPlugin(const QString &libraryName);
|
||||
|
||||
const LxQt::PluginInfo mDesktopFile;
|
||||
QByteArray calcSettingsHash();
|
||||
QPluginLoader *mPluginLoader;
|
||||
ILxQtPanelPlugin *mPlugin;
|
||||
QWidget *mPluginWidget;
|
||||
Alignment mAlignment;
|
||||
QSettings *mSettings;
|
||||
QString mSettingsGroup;
|
||||
LxQtPanel *mPanel;
|
||||
QByteArray mSettingsHash;
|
||||
static QColor mMoveMarkerColor;
|
||||
QString mName;
|
||||
|
||||
private slots:
|
||||
void settingsChanged();
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif // PLUGIN_H
|
@ -0,0 +1,314 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "pluginmoveprocessor.h"
|
||||
#include "plugin.h"
|
||||
#include "lxqtpanellayout.h"
|
||||
#include <QMouseEvent>
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
PluginMoveProcessor::PluginMoveProcessor(LxQtPanelLayout *layout, Plugin *plugin):
|
||||
QWidget(plugin),
|
||||
mLayout(layout),
|
||||
mPlugin(plugin)
|
||||
{
|
||||
mDestIndex = mLayout->indexOf(plugin);
|
||||
|
||||
grabKeyboard();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
PluginMoveProcessor::~PluginMoveProcessor()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PluginMoveProcessor::start()
|
||||
{
|
||||
// We have not memoryleaks there.
|
||||
// The animation will be automatically deleted when stopped.
|
||||
CursorAnimation *cursorAnimation = new CursorAnimation();
|
||||
connect(cursorAnimation, SIGNAL(finished()), this, SLOT(doStart()));
|
||||
cursorAnimation->setEasingCurve(QEasingCurve::InOutQuad);
|
||||
cursorAnimation->setDuration(150);
|
||||
|
||||
cursorAnimation->setStartValue(QCursor::pos());
|
||||
cursorAnimation->setEndValue(mPlugin->mapToGlobal(mPlugin->rect().center()));
|
||||
cursorAnimation->start(QAbstractAnimation::DeleteWhenStopped);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PluginMoveProcessor::doStart()
|
||||
{
|
||||
setMouseTracking(true);
|
||||
show(); // Only visible widgets can grab mouse input.
|
||||
grabMouse(mLayout->isHorizontal() ? Qt::SizeHorCursor : Qt::SizeVerCursor);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PluginMoveProcessor::mouseMoveEvent(QMouseEvent *event)
|
||||
{
|
||||
QPoint mouse = mLayout->parentWidget()->mapFromGlobal(event->globalPos());
|
||||
|
||||
MousePosInfo pos = itemByMousePos(mouse);
|
||||
|
||||
QLayoutItem *prevItem = 0;
|
||||
QLayoutItem *nextItem = 0;
|
||||
if (pos.after)
|
||||
{
|
||||
mDestIndex = pos.index + 1;
|
||||
prevItem = pos.item;
|
||||
nextItem = mLayout->itemAt(pos.index + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
prevItem = mLayout->itemAt(pos.index - 1);
|
||||
nextItem = pos.item;
|
||||
mDestIndex = pos.index;
|
||||
}
|
||||
|
||||
bool plugSep = mPlugin->isSeparate();
|
||||
bool prevSep = LxQtPanelLayout::itemIsSeparate(prevItem);
|
||||
bool nextSep = LxQtPanelLayout::itemIsSeparate(nextItem);
|
||||
|
||||
if (!nextItem)
|
||||
{
|
||||
if (mLayout->isHorizontal())
|
||||
drawMark(prevItem, prevSep ? RightMark : BottomMark);
|
||||
else
|
||||
drawMark(prevItem, prevSep ? BottomMark : RightMark);
|
||||
return;
|
||||
}
|
||||
|
||||
if (mLayout->lineCount() == 1)
|
||||
{
|
||||
if (mLayout->isHorizontal())
|
||||
drawMark(nextItem, LeftMark);
|
||||
else
|
||||
drawMark(nextItem, TopMark);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (!prevItem)
|
||||
{
|
||||
if (mLayout->isHorizontal())
|
||||
drawMark(nextItem, nextSep ? LeftMark : TopMark);
|
||||
else
|
||||
drawMark(nextItem, nextSep ? TopMark : LeftMark);
|
||||
return;
|
||||
}
|
||||
|
||||
// We prefer to draw line at the top/left of next item.
|
||||
// But if next item and moved plugin have different types (separate an not) and
|
||||
// previous item hase same type as moved plugin we draw line at the end of previous one.
|
||||
if (plugSep != nextSep && plugSep == prevSep)
|
||||
{
|
||||
if (mLayout->isHorizontal())
|
||||
drawMark(prevItem, prevSep ? RightMark : BottomMark);
|
||||
else
|
||||
drawMark(prevItem, prevSep ? BottomMark : RightMark);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (mLayout->isHorizontal())
|
||||
drawMark(nextItem, nextSep ? LeftMark : TopMark);
|
||||
else
|
||||
drawMark(nextItem, nextSep ? TopMark : LeftMark);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
PluginMoveProcessor::MousePosInfo PluginMoveProcessor::itemByMousePos(const QPoint mouse) const
|
||||
{
|
||||
MousePosInfo ret;
|
||||
|
||||
for (int i = mLayout->count()-1; i > -1; --i)
|
||||
{
|
||||
QLayoutItem *item = mLayout->itemAt(i);
|
||||
QRect itemRect = item->geometry();
|
||||
if (mouse.x() > itemRect.left() &&
|
||||
mouse.y() > itemRect.top())
|
||||
{
|
||||
|
||||
ret.index = i;
|
||||
ret.item = item;
|
||||
if (mLayout->isHorizontal())
|
||||
{
|
||||
ret.after = LxQtPanelLayout::itemIsSeparate(item) ?
|
||||
mouse.x() > itemRect.center().x() :
|
||||
mouse.y() > itemRect.center().y() ;
|
||||
}
|
||||
else
|
||||
{
|
||||
ret.after = LxQtPanelLayout::itemIsSeparate(item) ?
|
||||
mouse.y() > itemRect.center().y() :
|
||||
mouse.x() > itemRect.center().x() ;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
ret.index = 0;
|
||||
ret.item = mLayout->itemAt(0);
|
||||
ret.after = false;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PluginMoveProcessor::drawMark(QLayoutItem *item, MarkType markType)
|
||||
{
|
||||
QWidget *widget = (item) ? item->widget() : 0;
|
||||
|
||||
static QWidget *prevWidget = 0;
|
||||
if (prevWidget && prevWidget != widget)
|
||||
prevWidget->setStyleSheet("");
|
||||
|
||||
prevWidget = widget;
|
||||
|
||||
if (!widget)
|
||||
return;
|
||||
|
||||
QString border1;
|
||||
QString border2;
|
||||
switch(markType)
|
||||
{
|
||||
case TopMark:
|
||||
border1 = "top";
|
||||
border2 = "bottom";
|
||||
break;
|
||||
|
||||
case BottomMark:
|
||||
border1 = "bottom";
|
||||
border2 = "top";
|
||||
break;
|
||||
|
||||
case LeftMark:
|
||||
border1 = "left";
|
||||
border2 = "right";
|
||||
break;
|
||||
|
||||
case RightMark:
|
||||
border1 = "right";
|
||||
border2 = "left";
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
widget->setStyleSheet(QString("#%1 {"
|
||||
"border-%2: 2px solid rgba(%4, %5, %6, %7); "
|
||||
"border-%3: -2px solid; "
|
||||
"background-color: transparent; }")
|
||||
.arg(widget->objectName())
|
||||
.arg(border1)
|
||||
.arg(border2)
|
||||
.arg(Plugin::moveMarkerColor().red())
|
||||
.arg(Plugin::moveMarkerColor().green())
|
||||
.arg(Plugin::moveMarkerColor().blue())
|
||||
.arg(Plugin::moveMarkerColor().alpha())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PluginMoveProcessor::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
event->accept();
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PluginMoveProcessor::mouseReleaseEvent(QMouseEvent *event)
|
||||
{
|
||||
event->accept();
|
||||
releaseMouse();
|
||||
setMouseTracking(false);
|
||||
doFinish(false);
|
||||
}
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PluginMoveProcessor::keyPressEvent(QKeyEvent *event)
|
||||
{
|
||||
if (event->key() == Qt::Key_Escape) {
|
||||
doFinish(true);
|
||||
return;
|
||||
}
|
||||
QWidget::keyPressEvent(event);
|
||||
}
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PluginMoveProcessor::doFinish(bool cancel)
|
||||
{
|
||||
releaseKeyboard();
|
||||
|
||||
drawMark(0, TopMark);
|
||||
|
||||
if (!cancel)
|
||||
{
|
||||
int currentIdx = mLayout->indexOf(mPlugin);
|
||||
if (currentIdx == mDestIndex)
|
||||
return;
|
||||
|
||||
if (mDestIndex > currentIdx)
|
||||
mDestIndex--;
|
||||
|
||||
mLayout->moveItem(currentIdx, mDestIndex, true);
|
||||
}
|
||||
|
||||
emit finished();
|
||||
deleteLater();
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef PLUGINMOVEPROCESSOR_H
|
||||
#define PLUGINMOVEPROCESSOR_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QVariantAnimation>
|
||||
#include <QEvent>
|
||||
#include "plugin.h"
|
||||
#include "lxqtpanelglobals.h"
|
||||
|
||||
class LxQtPanelLayout;
|
||||
class QLayoutItem;
|
||||
|
||||
|
||||
class LXQT_PANEL_API PluginMoveProcessor : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PluginMoveProcessor(LxQtPanelLayout *layout, Plugin *plugin);
|
||||
~PluginMoveProcessor();
|
||||
|
||||
Plugin *plugin() const { return mPlugin; }
|
||||
|
||||
signals:
|
||||
void finished();
|
||||
|
||||
public slots:
|
||||
void start();
|
||||
|
||||
protected:
|
||||
void mouseMoveEvent(QMouseEvent *event);
|
||||
void mousePressEvent(QMouseEvent *event);
|
||||
void mouseReleaseEvent(QMouseEvent *event);
|
||||
void keyPressEvent(QKeyEvent *event);
|
||||
|
||||
private slots:
|
||||
void doStart();
|
||||
void doFinish(bool cancel);
|
||||
|
||||
private:
|
||||
enum MarkType
|
||||
{
|
||||
TopMark,
|
||||
BottomMark,
|
||||
LeftMark,
|
||||
RightMark
|
||||
};
|
||||
|
||||
struct MousePosInfo
|
||||
{
|
||||
int index;
|
||||
QLayoutItem *item;
|
||||
bool after;
|
||||
};
|
||||
|
||||
LxQtPanelLayout *mLayout;
|
||||
Plugin *mPlugin;
|
||||
int mDestIndex;
|
||||
|
||||
MousePosInfo itemByMousePos(const QPoint mouse) const;
|
||||
void drawMark(QLayoutItem *item, MarkType markType);
|
||||
};
|
||||
|
||||
|
||||
class LXQT_PANEL_API CursorAnimation: public QVariantAnimation
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
void updateCurrentValue(const QVariant &value) { QCursor::setPos(value.toPoint()); }
|
||||
};
|
||||
|
||||
#endif // PLUGINMOVEPROCESSOR_H
|
@ -0,0 +1,123 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "popupmenu.h"
|
||||
#include <QWidgetAction>
|
||||
#include <QToolButton>
|
||||
#include <QEvent>
|
||||
#include <QKeyEvent>
|
||||
|
||||
static const char POPUPMENU_TITLE[] = "POPUP_MENU_TITLE_OBJECT_NAME";
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
QAction* PopupMenu::addTitle(const QIcon &icon, const QString &text)
|
||||
{
|
||||
QAction *buttonAction = new QAction(this);
|
||||
QFont font = buttonAction->font();
|
||||
font.setBold(true);
|
||||
buttonAction->setText(QString(text).replace("&", "&&"));
|
||||
buttonAction->setFont(font);
|
||||
buttonAction->setIcon(icon);
|
||||
|
||||
QWidgetAction *action = new QWidgetAction(this);
|
||||
action->setObjectName(POPUPMENU_TITLE);
|
||||
QToolButton *titleButton = new QToolButton(this);
|
||||
titleButton->installEventFilter(this); // prevent clicks on the title of the menu
|
||||
titleButton->setDefaultAction(buttonAction);
|
||||
titleButton->setDown(true); // prevent hover style changes in some styles
|
||||
titleButton->setCheckable(true);
|
||||
titleButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||||
action->setDefaultWidget(titleButton);
|
||||
|
||||
addAction(action);
|
||||
return action;
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
QAction* PopupMenu::addTitle(const QString &text)
|
||||
{
|
||||
return addTitle(QIcon(), text);
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
bool PopupMenu::eventFilter(QObject *object, QEvent *event)
|
||||
{
|
||||
Q_UNUSED(object);
|
||||
|
||||
if (event->type() == QEvent::Paint ||
|
||||
event->type() == QEvent::KeyPress ||
|
||||
event->type() == QEvent::KeyRelease
|
||||
)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
event->accept();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/************************************************
|
||||
|
||||
************************************************/
|
||||
void PopupMenu::keyPressEvent(QKeyEvent* e)
|
||||
{
|
||||
if (e->key() == Qt::Key_Up || e->key() == Qt::Key_Down)
|
||||
{
|
||||
QMenu::keyPressEvent(e);
|
||||
|
||||
QWidgetAction *action = qobject_cast<QWidgetAction*>(this->activeAction());
|
||||
QWidgetAction *firstAction = action;
|
||||
|
||||
while (action && action->objectName() == POPUPMENU_TITLE)
|
||||
{
|
||||
this->keyPressEvent(e);
|
||||
action = qobject_cast<QWidgetAction*>(this->activeAction());
|
||||
|
||||
if (firstAction == action) // we looped and only found titles
|
||||
{
|
||||
this->setActiveAction(0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
QMenu::keyPressEvent(e);
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,50 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2012 Razor team
|
||||
* Authors:
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef POPUPMENU_H
|
||||
#define POPUPMENU_H
|
||||
|
||||
#include <QMenu>
|
||||
#include "lxqtpanelglobals.h"
|
||||
|
||||
class LXQT_PANEL_API PopupMenu: public QMenu
|
||||
{
|
||||
public:
|
||||
explicit PopupMenu(QWidget *parent = 0): QMenu(parent) {}
|
||||
explicit PopupMenu(const QString &title, QWidget *parent = 0): QMenu(title, parent) {}
|
||||
|
||||
QAction* addTitle(const QIcon &icon, const QString &text);
|
||||
QAction* addTitle(const QString &text);
|
||||
|
||||
bool eventFilter(QObject *object, QEvent *event);
|
||||
|
||||
protected:
|
||||
virtual void keyPressEvent(QKeyEvent* e);
|
||||
};
|
||||
|
||||
#endif // POPUPMENU_H
|
@ -0,0 +1,44 @@
|
||||
panels=panel1
|
||||
|
||||
[panel1]
|
||||
plugins=mainmenu,desktopswitch,quicklaunch,taskbar,tray,statusnotifier,mount,volume,clock,showdesktop
|
||||
position=Bottom
|
||||
desktop=0
|
||||
|
||||
[mainmenu]
|
||||
type=mainmenu
|
||||
|
||||
[desktopswitch]
|
||||
type=desktopswitch
|
||||
|
||||
[quicklaunch]
|
||||
type=quicklaunch
|
||||
apps/size=5
|
||||
apps/1/desktop=firefox.desktop
|
||||
apps/2/desktop=chromium-browser.desktop
|
||||
apps/3/desktop=pcmanfm-qt.desktop
|
||||
apps/5/desktop=lxqt-config.desktop
|
||||
|
||||
[taskbar]
|
||||
type=taskbar
|
||||
|
||||
[tray]
|
||||
type=tray
|
||||
|
||||
[mount]
|
||||
type=mount
|
||||
|
||||
[clock]
|
||||
type=clock
|
||||
|
||||
[volume]
|
||||
device=0
|
||||
type=volume
|
||||
|
||||
[showdesktop]
|
||||
alignment=Right
|
||||
type=showdesktop
|
||||
|
||||
[statusnotifier]
|
||||
alignment=Right
|
||||
type=statusnotifier
|
@ -0,0 +1,346 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
<context>
|
||||
<name>AddPluginDialog</name>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.ui" line="14"/>
|
||||
<source>Add Plugins</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.ui" line="22"/>
|
||||
<source>Search:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.ui" line="98"/>
|
||||
<source>Add Widget</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.ui" line="105"/>
|
||||
<source>Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.cpp" line="114"/>
|
||||
<source>(only one instance can run at a time)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="31"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="38"/>
|
||||
<source>Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="42"/>
|
||||
<source>Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="44"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="68"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="81"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="88"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="96"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="101"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="109"/>
|
||||
<location filename="../config/configpanelwidget.ui" line="153"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="166"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="173"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="202"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="208"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="218"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="244"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="190"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="249"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="191"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="197"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="254"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="192"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="284"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="303"/>
|
||||
<source>Custom styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="324"/>
|
||||
<source>Font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="364"/>
|
||||
<source>Background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="403"/>
|
||||
<source>Background opacity:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="435"/>
|
||||
<source><small>Compositing is required for panel transparency.</small></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="463"/>
|
||||
<source>Background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="156"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="157"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="158"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="159"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="168"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="169"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="170"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="171"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="196"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="198"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="354"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="370"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="388"/>
|
||||
<source>Pick image</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="388"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPluginsWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="14"/>
|
||||
<source>Configure Plugins</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="84"/>
|
||||
<source>Note: changes made in this page cannot be reset.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="112"/>
|
||||
<source>Move up</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="115"/>
|
||||
<location filename="../config/configpluginswidget.ui" line="129"/>
|
||||
<location filename="../config/configpluginswidget.ui" line="150"/>
|
||||
<location filename="../config/configpluginswidget.ui" line="164"/>
|
||||
<location filename="../config/configpluginswidget.ui" line="185"/>
|
||||
<source>...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="126"/>
|
||||
<source>Move down</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="147"/>
|
||||
<source>Add</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="161"/>
|
||||
<source>Remove</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="182"/>
|
||||
<source>Configure</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="912"/>
|
||||
<location filename="../lxqtpanel.cpp" line="931"/>
|
||||
<source>Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="934"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="939"/>
|
||||
<source>Manage Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="945"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="952"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="403"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="416"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanelapplication.cpp" line="52"/>
|
||||
<source>Use alternate configuration file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanelapplication.cpp" line="53"/>
|
||||
<source>Configuration file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="cs">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Nastavit panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Velikost panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Velikost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Použít automatickou velikost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Délka &a poloha panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Zarovnat vlevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Zarovnat na střed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Zarovnat vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Zarovnání:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Délka:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Poloha:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Horní strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Levá strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Pravá strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Dolní strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Horní strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Levá strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Pravá strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Dolní strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Nastavit panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Velikost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Délka:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Zarovnat vlevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Zarovnat na střed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Zarovnat vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Zarovnání:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Poloha:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Horní strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Levá strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Pravá strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Dolní strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Horní strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Levá strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Pravá strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Dolní strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Nastavit panel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Přidat přídavné moduly...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Nastavit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Přesunout</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Odstranit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Nastavit panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="cs_CZ">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Nastavit panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Velikost panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Velikost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Použít automatickou velikost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Délka &a poloha panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Zarovnat vlevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Zarovnat na střed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Zarovnat vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Zarovnání:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Délka:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Poloha:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Horní strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Levá strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Pravá strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Dolní strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Horní strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Levá strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Pravá strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Dolní strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Nastavit panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Velikost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Délka:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Zarovnat vlevo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Zarovnat na střed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Zarovnat vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Zarovnání:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Poloha:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Horní strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Levá strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Pravá strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Dolní strana pracovní plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Horní strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Levá strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Pravá strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Dolní strana pracovní plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Nastavit panel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Přidat přídavné moduly...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Nastavit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Přesunout</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Odstranit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Nastavit panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,377 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="da">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Indstil panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Panelstørrelse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Størrelse:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">pkt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use theme size</source>
|
||||
<translation type="vanished">Brug tema-størrelse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel lenght & position</source>
|
||||
<translation type="vanished">Panel længde & position</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Længde:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Placering:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Midtpå</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Højre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Indstil panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Størrelse:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Længde:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">pkt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Venstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Midtpå</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Højre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Placering:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Toppen af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Venstre side af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Højre side af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Bunden af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Toppen af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Venstre side af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Højre side af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Bunden af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation type="unfinished">Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPluginPrivate</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Indstil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Flyt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation type="vanished">Slet</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Panel</source>
|
||||
<translation type="vanished">Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Plugins</source>
|
||||
<translation type="vanished">Udvidelsesmoduler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Tilføj udvidelsesmoduler ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move plugin</source>
|
||||
<translation type="vanished">Flyt udvidelsesmodul</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure plugin</source>
|
||||
<translation type="vanished">Indstil udvidelsesmodul</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete plugin</source>
|
||||
<translation type="vanished">Fjern udvidelsesmodul</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show this panel at</source>
|
||||
<translation type="vanished">Vis dette panel ved</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Indstil panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PositionAction</name>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Toppen af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Bunden af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Venstre side af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Højre side af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Toppen af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Bunden af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Venstre side af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Højre side af skrivebord %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="da_DK">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Panelindstillinger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Panelstørrelse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Størrelse:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Brug automatisk dimensionering</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Panel længde && position</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Venstrestillet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Midterstillet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Højrestillet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Tilpasning:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Længde:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Position:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Toppen af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Venstre side af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Højre side af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Bunden af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Toppen af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Venstre side af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Højre side af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Bunden af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Størrelse:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Længde:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Venstrestillet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Midterstillet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Højrestillet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Tilpasning:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Position:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Toppen af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Venstre side af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Højre side af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Bunden af skrivebordet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Toppen af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Venstre side af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Højre side af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Bunden af skrivebord %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Hej Verden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Indstil panelet...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Tilføj plugins ...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Indstil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Flyt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Fjern</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Indstil panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,346 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de">
|
||||
<context>
|
||||
<name>AddPluginDialog</name>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.ui" line="14"/>
|
||||
<source>Add Plugins</source>
|
||||
<translation>Plugins hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.ui" line="22"/>
|
||||
<source>Search:</source>
|
||||
<translation>Suchen:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.ui" line="98"/>
|
||||
<source>Add Widget</source>
|
||||
<translation>Widget hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.ui" line="105"/>
|
||||
<source>Close</source>
|
||||
<translation>Schließen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/addplugindialog.cpp" line="114"/>
|
||||
<source>(only one instance can run at a time)</source>
|
||||
<translation>(es kann nur eine Instanz gleichzeitig ausgeführt werden)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="31"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>Leiste konfigurieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="38"/>
|
||||
<source>Panel</source>
|
||||
<translation>Leiste</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="42"/>
|
||||
<source>Widgets</source>
|
||||
<translation>Widgets</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>Leiste konfigurieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="44"/>
|
||||
<source>Size</source>
|
||||
<translation>Größe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="68"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>Negative Pixelwerte setzen die Leistenlänge auf den Wert verfügbare Größe minus angegebener Größe.</p><p/><p><i>Z.B. bei "Länge" gesetzt auf -100px und einer Bildschirmgröße von 1000px hat die Leiste eine Größe von 900 px.</i></p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="81"/>
|
||||
<source>Size:</source>
|
||||
<translation>Größe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="88"/>
|
||||
<source>Length:</source>
|
||||
<translation>Länge:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="96"/>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="101"/>
|
||||
<source>px</source>
|
||||
<translation>px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="109"/>
|
||||
<location filename="../config/configpanelwidget.ui" line="153"/>
|
||||
<source> px</source>
|
||||
<translation> px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="166"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>Symbolgröße:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="173"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>Zeilenzahl:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="202"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>Ausrichtung und Position</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="208"/>
|
||||
<source>Position:</source>
|
||||
<translation>Position:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="218"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>Ausrichtung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="244"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="190"/>
|
||||
<source>Left</source>
|
||||
<translation>Links</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="249"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="191"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="197"/>
|
||||
<source>Center</source>
|
||||
<translation>Mitte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="254"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="192"/>
|
||||
<source>Right</source>
|
||||
<translation>Rechts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="284"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation>Automatisch ausblenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="303"/>
|
||||
<source>Custom styling</source>
|
||||
<translation>Eigener Stil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="324"/>
|
||||
<source>Font color:</source>
|
||||
<translation>Schriftfarbe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="364"/>
|
||||
<source>Background color:</source>
|
||||
<translation>Hintergrundfarbe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="403"/>
|
||||
<source>Background opacity:</source>
|
||||
<translation>Deckkraft:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="435"/>
|
||||
<source><small>Compositing is required for panel transparency.</small></source>
|
||||
<translation><small>Für Transparenzeffekt wird Compositing benötigt.</small></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.ui" line="463"/>
|
||||
<source>Background image:</source>
|
||||
<translation>Hintergrundbild:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="156"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Oben auf der Arbeitsfläche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="157"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Links auf der Arbeitsfläche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="158"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Rechts auf der Arbeitsfläche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="159"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Unten auf der Arbeitsfläche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="168"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>Oben auf Arbeitsfläche %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="169"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>Links auf Arbeitsfläche %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="170"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>Rechts auf Arbeitsfläche %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="171"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>Unten auf Arbeitsfläche %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="196"/>
|
||||
<source>Top</source>
|
||||
<translation>Oben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="198"/>
|
||||
<source>Bottom</source>
|
||||
<translation>Unten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="354"/>
|
||||
<location filename="../config/configpanelwidget.cpp" line="370"/>
|
||||
<source>Pick color</source>
|
||||
<translation>Farbe auswählen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="388"/>
|
||||
<source>Pick image</source>
|
||||
<translation>Bild auswählen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpanelwidget.cpp" line="388"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>Bilder (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPluginsWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="14"/>
|
||||
<source>Configure Plugins</source>
|
||||
<translation>Plugins konfigurieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="84"/>
|
||||
<source>Note: changes made in this page cannot be reset.</source>
|
||||
<translation>Hinweis: Hier gemachte Änderungen können nicht rückgängig gemacht werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="112"/>
|
||||
<source>Move up</source>
|
||||
<translation>Nach oben schieben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="115"/>
|
||||
<location filename="../config/configpluginswidget.ui" line="129"/>
|
||||
<location filename="../config/configpluginswidget.ui" line="150"/>
|
||||
<location filename="../config/configpluginswidget.ui" line="164"/>
|
||||
<location filename="../config/configpluginswidget.ui" line="185"/>
|
||||
<source>...</source>
|
||||
<translation>...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="126"/>
|
||||
<source>Move down</source>
|
||||
<translation>Nach unten schieben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="147"/>
|
||||
<source>Add</source>
|
||||
<translation>Hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="161"/>
|
||||
<source>Remove</source>
|
||||
<translation>Entfernen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpluginswidget.ui" line="182"/>
|
||||
<source>Configure</source>
|
||||
<translation>Konfigurieren</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="912"/>
|
||||
<location filename="../lxqtpanel.cpp" line="931"/>
|
||||
<source>Panel</source>
|
||||
<translation>Leiste</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="934"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>Leiste konfigurieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="939"/>
|
||||
<source>Manage Widgets</source>
|
||||
<translation>Widgets verwalten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="945"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>Leiste hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="952"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>Leiste entfernen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="403"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>"%1" konfigurieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>"%1" verschieben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="416"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>"%1" entfernen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>main</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanelapplication.cpp" line="52"/>
|
||||
<source>Use alternate configuration file.</source>
|
||||
<translation>Alternative Konfigurationsdatei verwenden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanelapplication.cpp" line="53"/>
|
||||
<source>Configuration file</source>
|
||||
<translation>Konfigurationsdatei</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="eo">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Agordi panelon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Grando de panelo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Grando:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">rastr</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Uzi aŭtomatan grandigon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Longo kaj loko de panelo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Maldekstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Dekstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Loko:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Longo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Loko:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Supre de labortablo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Maldekstre de labortablo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Dekstre de labortablo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Malsupre de labortablo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Supre de labortablo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Maldekstre de labortablo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Dekstre de labortablo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Malsupre de labortablo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Agordi panelon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Grando:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Longo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">rastr</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Maldekstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Centre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Dekstre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Loko:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Loko:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Supre de labortablo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Maldekstre de labortablo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Dekstre de labortablo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Malsupre de labortablo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Supre de labortablo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Maldekstre de labortablo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Dekstre de labortablo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Malsupre de labortablo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Agordoj de muso por LxQto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Agordi panelon...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Aldoni kromprogramojn...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Agordi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Movi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Forigi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Agordi panelon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="es">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurar panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Tamaño del panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Tamaño:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Usar tamaño automático</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Largo y posición del panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Izquierda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Derecha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Alineación:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Largo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Posición:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Extremo superior del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Extremo izquierdo del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Extremo derecho del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Extremo inferior del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Extremo superior del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Extremo izquierdo del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Extremo derecho del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Extremo inferior del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>Configurar Panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>Configurar panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation>Tamaño</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation>Tamaño:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation>px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>Tamaño de ícono:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation>Largo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>Un largo negativo en píxeles configura el largo del panel a esa cantidad de píxeles menos que el espacio disponible en la pantalla.</p><p/><p><i>E.j. "Largo" configurado a -100px, el tamaño de la pantalla es 1000px, entonces el largo real del panel será de 900 px.</i></p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation>px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>Cantidad de filas:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>Alineación y posición</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation>Izquierda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation>Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation>Derecha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>Alineación:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation>Posición:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation>Ocultar automáticamente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation>Estilo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation>Color de fuente personalizado:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation>Imagen de fondo personalizada:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation>Color de fondo personalizado:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation>Opacidad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Extremo superior del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Extremo izquierdo del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Extremo derecho del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Extremo inferior del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>Extremo superior del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>Extremo izquierdo del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>Extremo derecho del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>Extremo inferior del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation>Arriba</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation>Abajo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation>Seleccione un color</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>Imágenes (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation>Agregar Widgets al Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>Configurar Panel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation>Agregar Widgets al Panel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>Agregar Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>Eliminar Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configuración del panel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Añadir extensiones...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configurar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Mover</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Quitar</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurar panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>Configurar "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>Mover "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>Eliminar "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="es_UY">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Arriba del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">A la izquierda del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">A la derecha del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Abajo del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Arriba del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">A la izquierda del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">A la derecha del excritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Abajo del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation type="unfinished">Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Panel</source>
|
||||
<translation type="vanished">Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Plugins</source>
|
||||
<translation type="vanished">Complementos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Agregar complemento ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move plugin</source>
|
||||
<translation type="vanished">Mover complemento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure plugin</source>
|
||||
<translation type="vanished">Configurar complemento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete plugin</source>
|
||||
<translation type="vanished">Borrar complemento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show this panel at</source>
|
||||
<translation type="vanished">Mostrar este complemento</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PositionAction</name>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Arriba del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Abajo del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">A la izquierda del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">A la derecha del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Arriba del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Abajo del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">A la izquierda del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">A la derecha del excritorio %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="es_VE">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurar panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Tamaño de panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Tamaño:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Tamaño automatico</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Tamaño & posicion el panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Izquierda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centrado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Derecha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Alineacion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Largo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Posicion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Tope del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Izquierda del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Derecha del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Inferior del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Tope del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Izquierda del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Derecha del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Inferior del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Configurar panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Tamaño:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Largo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Izquierda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Centrado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Derecha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Alineacion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Posicion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Tope del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Izquierda del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Derecha del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Inferior del escritorio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Tope del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Izquierda del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Derecha del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Inferior del escritorio %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configura el panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Agregar plugins</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configurar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Mover</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Remover</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurar panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="eu">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Konfiguratu panela</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Panelaren tamaina</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Tamaina:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Erabili tamaina automatikoa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Panelaren luzera eta posizioa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Ezkerra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Erdia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Eskuina</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Lerrokatzea:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Luzera:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Posizioa:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Mahaigainaren goialdea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Mahaigainaren ezkerraldea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Mahaigainaren eskuinaldea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Mahaigainaren behealdea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">%1 mahaigainaren goialdea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">%1 mahaigainaren ezkerraldea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">%1 mahaigainaren eskuinaldea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">%1 mahaigainaren behealdea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Konfiguratu panela</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Tamaina:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Luzera:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Ezkerra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Erdia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Eskuina</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Lerrokatzea:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Posizioa:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Mahaigainaren goialdea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Mahaigainaren ezkerraldea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Mahaigainaren eskuinaldea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Mahaigainaren behealdea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">%1 mahaigainaren goialdea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">%1 mahaigainaren ezkerraldea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">%1 mahaigainaren eskuinaldea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">%1 mahaigainaren behealdea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panela</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Konfiguratu panela...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Gehitu pluginak...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Konfiguratu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Mugitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Kendu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Konfiguratu panela</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="fi">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Muokkaa paneelia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Paneelin koko</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Koko:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">pikseliä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Käytä automaattista kokoa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Paneelin pituus && sijainti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Vasemmalla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Keskellä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Oikealla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Kohdistus:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Leveys:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Sijainti:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Työpöydän yläosassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Työpöydän vasemmassa laidassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Työpöydän oikeassa laidassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Työpöydän alaosassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Työpöydän %1 yläosassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Työpöydän %1 vasemmassa laidassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Työpöydän %1 oikeassa laidassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Työpöydän %1 alaosassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Muokkaa paneelia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Koko:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Leveys:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">pikseliä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Vasemmalla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Keskellä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Oikealla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Kohdistus:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Sijainti:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Työpöydän yläosassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Työpöydän vasemmassa laidassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Työpöydän oikeassa laidassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Työpöydän alaosassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Työpöydän %1 yläosassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Työpöydän %1 vasemmassa laidassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Työpöydän %1 oikeassa laidassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Työpöydän %1 alaosassa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Paneeli</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Muokkaa paneelia...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Lisää liitännäisiä...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Muokkaa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Siirrä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Poista</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Muokkaa paneelia</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="fr_FR">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurer le tableau de bord</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Taille du tableau de bord</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Taille :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Utiliser le dimensionnement automatique</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Longueur et position du tableau de bord</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Gauche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Droite</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Alignement :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Longueur :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Position :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Haut du bureau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Gauche du bureau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Droite du bureau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Bas du bureau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Haut du bureau %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Gauche du bureau %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Droite du bureau %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Bas du bureau %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Configurer le tableau de bord</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Taille :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Longueur :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Gauche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Centre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Droite</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Alignement :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Position :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Haut du bureau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Gauche du bureau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Droite du bureau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Bas du bureau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Haut du bureau %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Gauche du bureau %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Droite du bureau %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Bas du bureau %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Bloc-notes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configurer le tableau de bord...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Ajouter des extensions...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configurer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Déplacer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Supprimer</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurer le tableau de bord</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,280 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="hu">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Az asztal tetejére</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Az asztal bal oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Az asztal jobb oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Az asztal aljára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>A(z) %1. asztal tetejére</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>A(z) %1. asztal bal oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>A(z) %1. asztal jobb oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>A(z) %1. asztal aljára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>Panelbeállítás</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>Panelbeállítás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation>Méret</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation>Méret:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation> pixel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>Ikonméret:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation>Hossz:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>Negatív pixel érték azt jelöli, hogy mennyivel rövidebb a panel a képernyőnél.</p><p/><p><i>Például -100px érték esetén az 1000px széles képernyőnél a panel hossza 900px.</i></p</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation>pixel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>Sorszámláló:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>Igazítás && helyzet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation>Balra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation>Középre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation>Jobbra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>Igazítás:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation>Pozíció:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation>Automata elrejtés</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation>Hangolás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation>Egyéni betűszín:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation>Egyéni háttérkép:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation>Egyéni háttérszín:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation>Áttetszőség</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Az asztal tetejére</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Az asztal bal oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Az asztal jobb oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Az asztal aljára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>A(z) %1. asztal tetejére</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>A(z) %1. asztal bal oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>A(z) %1. asztal jobb oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>A(z) %1. asztal aljára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation>Fenn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation>Lenn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation>Színválasztás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>Képek (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation>Panelelem hozzáadás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>Panel beállítása…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation>Panelelem hozzáadás...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>Panel hozzáadás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>Panel törlése</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation>Bővítmények hozzáadása…</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>"%1" beállítása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>"%1" mozgatása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>"%1" törlése</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,280 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="hu_HU">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Az asztal tetejére</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Az asztal bal oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Az asztal jobb oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Az asztal aljára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>A(z) %1. asztal tetejére</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>A(z) %1. asztal bal oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>A(z) %1. asztal jobb oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>A(z) %1. asztal aljára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>Panelbeállítás</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>Panelbeállítás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation>Méret</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation>Méret:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation> pixel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>Ikonméret:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation>Hossz:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>Negatív pixel érték azt jelöli, hogy mennyivel rövidebb a panel a képernyőnél.</p><p/><p><i>Például -100px érték esetén az 1000px széles képernyőnél a panel hossza 900px.</i></p</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation>pixel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>Sorszámláló:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>Igazítás && helyzet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation>Balra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation>Középre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation>Jobbra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>Igazítás:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation>Pozíció:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation>Automata elrejtés</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation>Hangolás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation>Egyéni betűszín:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation>Egyéni háttérkép:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation>Egyéni háttérszín:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation>Áttetszőség</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Az asztal tetejére</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Az asztal bal oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Az asztal jobb oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Az asztal aljára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>A(z) %1. asztal tetejére</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>A(z) %1. asztal bal oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>A(z) %1. asztal jobb oldalára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>A(z) %1. asztal aljára</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation>Fenn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation>Lenn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation>Színválasztás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>Képek (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation>Panelelem hozzáadás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>Panel beállítása…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation>Panelelem hozzáadás...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>Panel hozzáadás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>Panel törlése</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation>Bővítmények hozzáadása…</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>"%1" beállítása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>"%1" mozgatása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>"%1" törlése</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,252 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ia">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Dimension de pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Dimension</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Dimension</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="id_ID">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Hell World</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,359 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configura il pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Dimensione pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Dimensione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Usa dimensionamento automatico</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Lunghezza e posizione del pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Allineamento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Lunghezza:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Posizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Alto del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Sinistra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Destra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Basso del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Alto del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Sinistra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Destra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Basso del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>Configura panello</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>Configura panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation>Dimensione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation>Dimensione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>Dimensione icone:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation>Lunghezza:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>Valori negativi impongano una lunghezza del panello di quel numero di pixel meno dello spazio disponibile. </p><p/><p><i>Esempio: -100px e schermo di 1280px = 1180px</i></p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation>px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>Numero righe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>Allineamento e posizione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation>Sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation>Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation>Destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>Allineamento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation>Posizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation>Aspetto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation>Colore carattere personalizzato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation>Immagine sfondo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation>Colore sfondo personalizzato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation>Trasparenza</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Alto del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Sinistra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Destra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Basso del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>Alto del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>Sinistra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>Destra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>Basso del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation>In cima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation>In fondo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation>Scegli colore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>Immagini (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation>Aggiungi elementi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>Configura pannello...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translatorcomment>Call them "plugins" better?</translatorcomment>
|
||||
<translation>Aggiungi elementi...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>Aggiungi panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>Rimuovi panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configura pannello...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Aggiungi plugin...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configura</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Sposta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Rimuovi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configura pannello</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>Configura "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>Sposta "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>Rimuovi "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,359 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configura il pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Dimensione pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Dimensione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Usa dimensionamento automatico</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Lunghezza e posizione del pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Allineamento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Lunghezza:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Posizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Alto del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Sinistra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Destra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Basso del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Alto del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Sinistra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Destra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Basso del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>Configura panello</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>Configura panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation>Dimensione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation>Dimensione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>Dimensione icone:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation>Lunghezza:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>Valori negativi impongano una lunghezza del panello di quel numero di pixel meno dello spazio disponibile. </p><p/><p><i>Esempio: -100px e schermo di 1280px = 1180px</i></p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation>px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>Numero righe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>Allineamento e posizione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation>Sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation>Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation>Destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>Allineamento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation>Posizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation>Aspetto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation>Colore carattere personalizzato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation>Immagine sfondo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation>Colore sfondo personalizzato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation>Trasparenza</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Alto del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Sinistra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Destra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Basso del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>Alto del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>Sinistra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>Destra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>Basso del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation>In cima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation>In fondo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation>Scegli colore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>Immagini (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation>Aggiungi elementi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>Configura pannello...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translatorcomment>Call them "plugins" better?</translatorcomment>
|
||||
<translation>Aggiungi elementi...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>Aggiungi panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>Rimuovi panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configura pannello...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Aggiungi plugin...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configura</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Sposta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Rimuovi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configura pannello</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>Configura "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>Sposta "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>Rimuovi "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ja">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>パネルを設定</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>パネルを設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation>大きさ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation>幅:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation> ピクセル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>アイコンの大きさ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation>長さ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>負のピクセル値を設定すると、スクリーンの最大領域からその値を差し引いた長さになります。</p><p/><p><i>例: スクリーンの大きさが 1000 ピクセルである場合に -100 ピクセルを設定すると、パネルの長さは 900 ピクセルになります。</i></p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation>ピクセル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>列の数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>位置寄せと場所</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation>左寄せ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation>中央</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation>右寄せ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>位置寄せ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">場所:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation>見た目</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation>フォントの色を変更:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation>背景画像を指定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation>背景の色を変更:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation>透明度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>デスクトップの上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>デスクトップの左</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>デスクトップの右</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>デスクトップの下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>デスクトップ %1 の上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>デスクトップ %1 の左</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>デスクトップ %1 の右</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>デスクトップ %1 の下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation>上</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation>下</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation>色を選ぶ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>画像 (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation>パネルウィジェットを追加</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>パネル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>パネルの設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation>ウィジェットを追加</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>パネルを追加</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>パネルを削除</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>"%1" を設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>"%1" を移動</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>"%1" を削除</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ko">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="lt">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Skydelio konfigūravimas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Skydelio dydis</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Dydis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">taškeliai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Automatinis dydis</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Skydelio ilgis ir padėtis</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Kairinė</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centrinė</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Dešininė</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Lygiuotė:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Ilgis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Padėtis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Darbalaukio viršuje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Darbalaukio kairėje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Darbalaukio dešinėje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Darbalaukio apačioje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">%1 darbalaukio viršuje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">%1 darbalaukio kairėje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">%1 darbalaukio dešinėje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">%1 darbalaukio apačioje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Skydelio konfigūravimas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Dydis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Ilgis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">taškeliai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Kairinė</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Centrinė</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Dešininė</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Lygiuotė:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Padėtis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Darbalaukio viršuje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Darbalaukio kairėje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Darbalaukio dešinėje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Darbalaukio apačioje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">%1 darbalaukio viršuje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">%1 darbalaukio kairėje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">%1 darbalaukio dešinėje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">%1 darbalaukio apačioje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Qlipper</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Konfigūruoti skydelį...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Įdėti papildinių...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Konfigūruoti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Perkelti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Pašalinti</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Skydelio konfigūravimas</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pl">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Menu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pl_PL">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Konfiguruj panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Rozmiar panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Rozmiar:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Użyj automatycznego dopasowywania</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Długość i położenie panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Lewa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Środek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Prawa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Wyrównanie:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Długość:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Pozycja:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Górna krawędź pulpitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Lewa krawędź pulpitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Prawa krawędź pulpitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Dolna krawędź pulpitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Górna krawędź pulpitu %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Lewa krawędź pulpitu %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Prawa krawędź pulpitu %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Dolna krawędź pulpitu %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>KOnfiguruj Panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>Konfiguruj panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation>Rozmiar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation>Rozmiar:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation> px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>Rozmiar ikon:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation>Długość:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>Ujemna ilość pikseli powoduje zmniejszenie panelu .</p><p/><p><i>Np. "Długość" ustawiona na -100px, rozmiar ekranu 1000px, długość panelu wyniesie 900 px.</i></p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation>px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>Ilość wierszy:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>Wyrównanie i pozycja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation>Lewa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation>Środek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation>Prawa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>Wyrównanie:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation>Pozycja:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation>Wygląd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation>Własny kolor czcionki:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation>Własny obrazek tła:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation>Własny kolor tła:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation>Przezroczystość</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Górna krawędź pulpitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Lewa krawędź pulpitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Prawa krawędź pulpitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Dolna krawędź pulpitu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>Górna krawędź pulpitu %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>Lewa krawędź pulpitu %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>Prawa krawędź pulpitu %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>Dolna krawędź pulpitu %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation>Góra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation>Dół</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation>Wybierz kolor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>Obrazki (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation>DOdaj Widgety</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>Konfiguruj Panel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation>Dodaj Widgety...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>Dodaj Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>Usuń panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Konfiguruj panel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Dodaj wtyczkę ...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Konfiguruj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Przesuń</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Usuń</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Konfiguruj panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>Konfiguruj "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>Przesuń "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>Usuń "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pt">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurar painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Tamanho do painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Tamanho:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Tamanho automático</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Posição e comprimento do painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">À esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Ao centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">À direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Alinhamento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Comprimento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Posição:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Em cima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">À esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">À direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Em baixo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Em cima, área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">À esquerda, área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">À direita, área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Em baixo, área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Configurar painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Tamanho:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Comprimento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">À esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Ao centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">À direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Alinhamento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Posição:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Em cima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">À esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">À direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Em baixo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Em cima, área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">À esquerda, área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">À direita, área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Em baixo, área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configurar painel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Adicionar extras...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configurar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Mover</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Remover</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurar painel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pt_BR">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurar painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Tamanho do painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Tamanho:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Usar dimensionamento automático</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Comprimento e posição do painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Alinhamento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Comprimento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Posição:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Na parte superior da área de trabalho</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">À esquerda da área de trabalho</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">À direita da área de trabalho</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Na parte inferior da área de trabalho</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Na parte superior da área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">A esquerda da área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">À direita da área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Na parte inferior da área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Configurar painel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Tamanho:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Comprimento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Esquerda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Direita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Alinhamento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Posição:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Na parte superior da área de trabalho</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">À esquerda da área de trabalho</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">À direita da área de trabalho</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Na parte inferior da área de trabalho</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Na parte superior da área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">A esquerda da área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">À direita da área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Na parte inferior da área de trabalho %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Suspender Automaticamente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configurar painel...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Adicionar plug-ins...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configurar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Mover</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Remover</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurar painel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ro_RO">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurează panoul</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Dimensiune panou</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Dimensiune:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Utilizează dimensionarea automată</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Lungime && poziție panou</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Stânga</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centru</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Dreapta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Aliniere:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Lungime:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Poziție:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Partea de sus a ecranului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Stânga ecranului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Dreapta ecranului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Partea de jos a ecranului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Partea de sus a ecranului %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Stânga ecranului %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Dreapta ecranului %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Partea de jos a ecranului %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished">Configurează panoul</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Configurează panoul</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished">Dimensiune</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Dimensiune:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"> px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished">Dimensiune pictograme:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Lungime:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"><p>Pentru valori negative, dimensiunea panoului va fi calculată ca diferenta dintre marimea disponibilă a ecranului și valoarea introdusă.</p><p/><p><i>De ex. introducând o "lungime" de -100 px si o dimensiune a ecranului de 1000 px, dimensiunea reala a panoului va fi de 900 px.</i></p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished">Număr coloane:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished">Aliniere și poziție</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Stânga</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Centru</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Dreapta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Aliniere:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Poziție:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished">Auto-ascundere</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished">Stil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished">Culoare de font personalizată</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished">Imagine de fundal personalizată</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished">Culoare de fundal personalizată</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished">Opacitate</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Partea de sus a ecranului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Stânga ecranului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Dreapta ecranului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Partea de jos a ecranului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Partea de sus a ecranului %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Stânga ecranului %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Dreapta ecranului %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Partea de jos a ecranului %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished">Sus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished">Jos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished">Alege culoare</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished">Imagini (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panou</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished">Configurează panoul...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished">Adaugă widget de panou</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished">Adaugă panou</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished">Îndepărtează panou</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configurează panoul...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Adaugă module....</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configurează</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Mută</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Îndepărtează</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configurează panoul</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished">Configurează "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished">Mută "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished">Îndepărtează "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,311 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sk_SK">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Nastaviť panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Vľavo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Stred</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Vrch plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Ľavá strana plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Pravá strana plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Spodok plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Vrch plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Ľavá strana plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Pravá strana plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Spodok plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Nastaviť panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Vľavo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Stred</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Vpravo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Vrch plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Ľavá strana plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Pravá strana plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Spodok plochy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Vrch plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Ľavá strana plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Pravá strana plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Spodok plochy %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Pridať moduly...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Nastaviť panel</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sl">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Nastavitev pulta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Velikost pulta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Velikost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">pik</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Uporabi samodejno prilagajanje velikosti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Dolžina in položaj pulta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Levo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Na sredini</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished"> %</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Poravnava:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Dolžina:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Položaj:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Vrh namizja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Leva stran namizja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Desna stran namizja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Dno namizja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Vrh namizja %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Leva stran namizja %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Desna stran namizja %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Dno namizja %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">Nastavitev pulta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">Velikost:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">Dolžina:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished"> %</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">pik</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">Levo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">Na sredini</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">Desno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">Poravnava:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">Položaj:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">Vrh namizja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">Leva stran namizja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">Desna stran namizja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">Dno namizja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">Vrh namizja %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">Leva stran namizja %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">Desna stran namizja %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">Dno namizja %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Pult</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Nastavitev pulta ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Dodaj vstavke ...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Nastavitev</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Premakni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Odstrani</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Nastavitev pulta</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sr@latin">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Automatsko suspendovanje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,358 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="th_TH">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">ปรับแต่งพาเนล</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">ขนาดพาเนล</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">ขนาด:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">ใช้การปรับขนาดอัตโนมัติ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">ความยาว && ตำแหน่งพาเนล</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">ทางซ้าย</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">ตรงกลาง</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">ทางขวา</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">การจัดวาง:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">ความยาว:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">ตำแหน่ง:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">ด้านบนของหน้าจอ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">ด้านซ้ายของหน้าจอ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">ด้านขวาของหน้าจอ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">ด้านล่างของหน้าจอ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">ด้านบนของหน้าจอ %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">ด้านซ้ายของหน้าจอ %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">ด้านขวาของหน้าจอ %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">ด้านล่างของหน้าจอ %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation type="unfinished">ปรับแต่งพาเนล</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation type="unfinished">ขนาด:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation type="unfinished">ความยาว:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation type="unfinished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation type="unfinished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation type="unfinished">ทางซ้าย</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation type="unfinished">ตรงกลาง</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation type="unfinished">ทางขวา</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation type="unfinished">การจัดวาง:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation type="unfinished">ตำแหน่ง:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="unfinished">ด้านบนของหน้าจอ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="unfinished">ด้านซ้ายของหน้าจอ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="unfinished">ด้านขวาของหน้าจอ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="unfinished">ด้านล่างของหน้าจอ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="unfinished">ด้านบนของหน้าจอ %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="unfinished">ด้านซ้ายของหน้าจอ %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="unfinished">ด้านขวาของหน้าจอ %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="unfinished">ด้านล่างของหน้าจอ %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>พาเนล</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">ปรับแต่งพาเนล...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">เพิ่มปลั๊กอิน</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">ปรับแต่ง</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">ย้าย</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">ลบทิ้ง</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">ปรับแต่งพาเนล</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,19 @@
|
||||
set(PLUGIN "clock")
|
||||
|
||||
set(HEADERS
|
||||
lxqtclock.h
|
||||
lxqtclockconfiguration.h
|
||||
calendarpopup.h
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
lxqtclock.cpp
|
||||
lxqtclockconfiguration.cpp
|
||||
calendarpopup.cpp
|
||||
)
|
||||
|
||||
set(UIS
|
||||
lxqtclockconfiguration.ui
|
||||
)
|
||||
|
||||
BUILD_LXQT_PLUGIN(${PLUGIN})
|
@ -0,0 +1,65 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2014 LXQt team
|
||||
* Authors:
|
||||
* Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "calendarpopup.h"
|
||||
#include <QHBoxLayout>
|
||||
#include <QEvent>
|
||||
|
||||
CalendarPopup::CalendarPopup(QWidget *parent):
|
||||
QDialog(parent, Qt::Dialog | Qt::WindowStaysOnTopHint | Qt::CustomizeWindowHint | Qt::Popup | Qt::X11BypassWindowManagerHint)
|
||||
{
|
||||
setLayout(new QHBoxLayout(this));
|
||||
layout()->setMargin(1);
|
||||
|
||||
cal = new QCalendarWidget(this);
|
||||
layout()->addWidget(cal);
|
||||
adjustSize();
|
||||
}
|
||||
|
||||
CalendarPopup::~CalendarPopup()
|
||||
{
|
||||
}
|
||||
|
||||
void CalendarPopup::show()
|
||||
{
|
||||
cal->setSelectedDate(QDate::currentDate());
|
||||
activateWindow();
|
||||
QDialog::show();
|
||||
}
|
||||
|
||||
bool CalendarPopup::event(QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::WindowDeactivate)
|
||||
hide();
|
||||
|
||||
return QDialog::event(event);
|
||||
}
|
||||
|
||||
void CalendarPopup::setFirstDayOfWeek(Qt::DayOfWeek wday)
|
||||
{
|
||||
cal->setFirstDayOfWeek(wday);
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2014 LXQt team
|
||||
* Authors:
|
||||
* Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef CALENDARPOPUP_H
|
||||
#define CALENDARPOPUP_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QCalendarWidget>
|
||||
|
||||
class CalendarPopup : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CalendarPopup(QWidget *parent = 0);
|
||||
~CalendarPopup();
|
||||
void setFirstDayOfWeek(Qt::DayOfWeek wday);
|
||||
|
||||
void show();
|
||||
|
||||
protected:
|
||||
virtual bool event(QEvent* );
|
||||
|
||||
private:
|
||||
QCalendarWidget *cal;
|
||||
};
|
||||
|
||||
#endif // CALENDARPOPUP_H
|
@ -0,0 +1,313 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2013 Razor team
|
||||
* Authors:
|
||||
* Christopher "VdoP" Regali
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
* Maciej Płaza <plaza.maciej@gmail.com>
|
||||
* Kuzma Shapran <kuzma.shapran@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include "lxqtclock.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QLabel>
|
||||
#include <QVBoxLayout>
|
||||
#include <QMouseEvent>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QTimer>
|
||||
#include <QPoint>
|
||||
#include <QRect>
|
||||
#include <QProxyStyle>
|
||||
#include <QPainter>
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
/**
|
||||
* @file lxqtclock.cpp
|
||||
* @brief implements LxQtclock and LxQtclockgui
|
||||
* @author Christopher "VdoP" Regali
|
||||
* @author Kuzma Shapran
|
||||
*/
|
||||
|
||||
class DownscaleFontStyle : public QProxyStyle
|
||||
{
|
||||
using QProxyStyle::QProxyStyle;
|
||||
public:
|
||||
|
||||
virtual void drawItemText(QPainter * painter, const QRect & rect, int flags
|
||||
, const QPalette & pal, bool enabled, const QString & text
|
||||
, QPalette::ColorRole textRole = QPalette::NoRole) const override
|
||||
{
|
||||
while (1 < painter->font().pointSize()
|
||||
&& !(rect.size() - painter->fontMetrics().boundingRect(text).size()).isValid())
|
||||
{
|
||||
QFont f{painter->font()};
|
||||
f.setPointSize(f.pointSize() - 1);
|
||||
painter->setFont(f);
|
||||
}
|
||||
return QProxyStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief constructor
|
||||
*/
|
||||
LxQtClock::LxQtClock(const ILxQtPanelPluginStartupInfo &startupInfo):
|
||||
QObject(),
|
||||
ILxQtPanelPlugin(startupInfo),
|
||||
mAutoRotate(true),
|
||||
mTextStyle{new DownscaleFontStyle},
|
||||
mCurrentCharCount(0)
|
||||
{
|
||||
mMainWidget = new QWidget();
|
||||
mRotatedWidget = new LxQt::RotatedWidget(*(new QWidget()), mMainWidget);
|
||||
mContent = mRotatedWidget->content();
|
||||
mContent->setStyle(mTextStyle.data());
|
||||
mTimeLabel = new QLabel(mContent);
|
||||
mDateLabel = new QLabel(mContent);
|
||||
|
||||
QVBoxLayout *borderLayout = new QVBoxLayout(mMainWidget);
|
||||
borderLayout->setContentsMargins(0, 0, 0, 0);
|
||||
borderLayout->setSpacing(0);
|
||||
borderLayout->addWidget(mRotatedWidget, 0, Qt::AlignCenter);
|
||||
|
||||
mTimeLabel->setObjectName("TimeLabel");
|
||||
mDateLabel->setObjectName("DateLabel");
|
||||
|
||||
mTimeLabel->setAlignment(Qt::AlignCenter);
|
||||
mDateLabel->setAlignment(Qt::AlignCenter);
|
||||
|
||||
mContent->setLayout(new QVBoxLayout{mContent});
|
||||
mContent->layout()->setContentsMargins(0, 0, 0, 0);
|
||||
mContent->layout()->setSpacing(0);
|
||||
mContent->layout()->addWidget(mTimeLabel);
|
||||
mContent->layout()->addWidget(mDateLabel);
|
||||
|
||||
mClockTimer = new QTimer(this);
|
||||
mClockTimer->setTimerType(Qt::PreciseTimer);
|
||||
connect (mClockTimer, SIGNAL(timeout()), SLOT(updateTime()));
|
||||
|
||||
mClockFormat = "hh:mm";
|
||||
|
||||
mCalendarPopup = new CalendarPopup(mContent);
|
||||
|
||||
mMainWidget->installEventFilter(this);
|
||||
settingsChanged();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief destructor
|
||||
*/
|
||||
LxQtClock::~LxQtClock()
|
||||
{
|
||||
delete mMainWidget;
|
||||
}
|
||||
|
||||
QDateTime LxQtClock::currentDateTime()
|
||||
{
|
||||
return QDateTime(mUseUTC ? QDateTime::currentDateTimeUtc() : QDateTime::currentDateTime());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief updates the time
|
||||
* Color and font settings can be configured in Qt CSS
|
||||
*/
|
||||
void LxQtClock::updateTime()
|
||||
{
|
||||
//XXX: do we need this with PreciseTimer ?
|
||||
if (currentDateTime().time().msec() > 500)
|
||||
restartTimer();
|
||||
|
||||
showTime();
|
||||
}
|
||||
|
||||
void LxQtClock::showTime()
|
||||
{
|
||||
QDateTime now{currentDateTime()};
|
||||
int new_char_count;
|
||||
if (mDateOnNewLine)
|
||||
{
|
||||
QString new_time = QLocale::system().toString(now, mTimeFormat);
|
||||
QString new_date = QLocale::system().toString(now, mDateFormat);
|
||||
new_char_count = qMax(new_time.size(), new_date.size());
|
||||
mTimeLabel->setText(new_time);
|
||||
mDateLabel->setText(new_date);
|
||||
}
|
||||
else
|
||||
{
|
||||
QString new_time = QLocale::system().toString(now, mClockFormat);
|
||||
new_char_count = new_time.size();
|
||||
mTimeLabel->setText(new_time);
|
||||
}
|
||||
|
||||
if (mCurrentCharCount != new_char_count)
|
||||
{
|
||||
mCurrentCharCount = new_char_count;
|
||||
realign();
|
||||
}
|
||||
}
|
||||
|
||||
void LxQtClock::restartTimer()
|
||||
{
|
||||
if (mClockTimer->isActive())
|
||||
mClockTimer->stop();
|
||||
int updateInterval = mClockTimer->interval();
|
||||
QDateTime now{currentDateTime()};
|
||||
int delay = updateInterval - ((now.time().msec() + now.time().second() * 1000) % updateInterval);
|
||||
QTimer::singleShot(delay, Qt::PreciseTimer, mClockTimer, SLOT(start()));
|
||||
QTimer::singleShot(delay, Qt::PreciseTimer, this, SLOT(updateTime()));
|
||||
}
|
||||
|
||||
void LxQtClock::settingsChanged()
|
||||
{
|
||||
mFirstDayOfWeek = settings()->value("firstDayOfWeek", -1).toInt();
|
||||
if (-1 == mFirstDayOfWeek)
|
||||
mCalendarPopup->setFirstDayOfWeek(QLocale::system().firstDayOfWeek());
|
||||
else
|
||||
mCalendarPopup->setFirstDayOfWeek(static_cast<Qt::DayOfWeek>(mFirstDayOfWeek));
|
||||
|
||||
mTimeFormat = settings()->value("timeFormat", QLocale::system().timeFormat(QLocale::ShortFormat).toUpper().contains("AP") ? "h:mm AP" : "HH:mm").toString();
|
||||
|
||||
mUseUTC = settings()->value("UTC", false).toBool();
|
||||
if (mUseUTC)
|
||||
mTimeFormat += "' Z'";
|
||||
|
||||
mDateFormat = settings()->value("dateFormat", Qt::SystemLocaleShortDate).toString();
|
||||
|
||||
bool dateBeforeTime = (settings()->value("showDate", "no").toString().toLower() == "before");
|
||||
bool dateAfterTime = (settings()->value("showDate", "no").toString().toLower() == "after");
|
||||
mDateOnNewLine = (settings()->value("showDate", "no").toString().toLower() == "below");
|
||||
|
||||
mAutoRotate = settings()->value("autoRotate", true).toBool();
|
||||
|
||||
if (dateBeforeTime)
|
||||
mClockFormat = QString("%1 %2").arg(mDateFormat).arg(mTimeFormat);
|
||||
else if (dateAfterTime)
|
||||
mClockFormat = QString("%1 %2").arg(mTimeFormat).arg(mDateFormat);
|
||||
else
|
||||
mClockFormat = mTimeFormat;
|
||||
|
||||
mDateLabel->setHidden(!mDateOnNewLine);
|
||||
|
||||
// mDateFormat usually does not contain time portion, but since it's possible to use custom date format - it has to be supported. [Kuzma Shapran]
|
||||
int updateInterval = QString(mTimeFormat + " " + mDateFormat).replace(QRegExp("'[^']*'"),"").contains("s") ? 1000 : 60000;
|
||||
|
||||
QDateTime now = currentDateTime();
|
||||
|
||||
showTime();
|
||||
|
||||
if (mClockTimer->interval() != updateInterval)
|
||||
{
|
||||
mClockTimer->setInterval(updateInterval);
|
||||
|
||||
restartTimer();
|
||||
}
|
||||
}
|
||||
|
||||
void LxQtClock::realign()
|
||||
{
|
||||
QSize size{QWIDGETSIZE_MAX, QWIDGETSIZE_MAX};
|
||||
Qt::Corner origin = Qt::TopLeftCorner;
|
||||
if (mAutoRotate || panel()->isHorizontal())
|
||||
{
|
||||
switch (panel()->position())
|
||||
{
|
||||
case ILxQtPanel::PositionTop:
|
||||
case ILxQtPanel::PositionBottom:
|
||||
origin = Qt::TopLeftCorner;
|
||||
break;
|
||||
|
||||
case ILxQtPanel::PositionLeft:
|
||||
origin = Qt::BottomLeftCorner;
|
||||
break;
|
||||
|
||||
case ILxQtPanel::PositionRight:
|
||||
origin = Qt::TopRightCorner;
|
||||
break;
|
||||
}
|
||||
|
||||
//set minwidth
|
||||
QFontMetrics metrics{mTimeLabel->font()};
|
||||
//Note: using a constant string of reasonably wide characters for computing the width
|
||||
// (not the current text as width of text can differ for each particular string (based on font))
|
||||
size.setWidth(metrics.boundingRect(QString{mCurrentCharCount, 'A'}).width());
|
||||
} else if (!panel()->isHorizontal())
|
||||
{
|
||||
size.setWidth(panel()->globalGometry().width());
|
||||
}
|
||||
|
||||
mTimeLabel->setFixedWidth(size.width());
|
||||
mDateLabel->setFixedWidth(size.width());
|
||||
|
||||
int label_height = mTimeLabel->sizeHint().height();
|
||||
size.setHeight(mDateOnNewLine ? label_height * 2 : label_height);
|
||||
|
||||
const bool changed = mContent->maximumSize() != size || mRotatedWidget->origin() != origin;
|
||||
|
||||
mContent->setFixedSize(size);
|
||||
mRotatedWidget->setOrigin(origin);
|
||||
|
||||
if (changed)
|
||||
{
|
||||
mRotatedWidget->adjustContentSize();
|
||||
mRotatedWidget->update();
|
||||
}
|
||||
}
|
||||
|
||||
void LxQtClock::activated(ActivationReason reason)
|
||||
{
|
||||
if (reason != ILxQtPanelPlugin::Trigger)
|
||||
return;
|
||||
|
||||
if (!mCalendarPopup->isVisible())
|
||||
{
|
||||
QRect pos = calculatePopupWindowPos(mCalendarPopup->size());
|
||||
mCalendarPopup->move(pos.topLeft());
|
||||
mCalendarPopup->show();
|
||||
}
|
||||
else
|
||||
{
|
||||
mCalendarPopup->hide();
|
||||
}
|
||||
}
|
||||
|
||||
QDialog * LxQtClock::configureDialog()
|
||||
{
|
||||
return new LxQtClockConfiguration(*settings());
|
||||
}
|
||||
|
||||
bool LxQtClock::eventFilter(QObject *watched, QEvent *event)
|
||||
{
|
||||
if (watched == mMainWidget)
|
||||
{
|
||||
if (event->type() == QEvent::ToolTip)
|
||||
mMainWidget->setToolTip(QDateTime::currentDateTime().toString(Qt::DefaultLocaleLongDate));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2010-2013 Razor team
|
||||
* Authors:
|
||||
* Christopher "VdoP" Regali
|
||||
* Alexander Sokoloff <sokoloff.a@gmail.com>
|
||||
* Maciej Płaza <plaza.maciej@gmail.com>
|
||||
* Kuzma Shapran <kuzma.shapran@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#ifndef LXQTCLOCK_H
|
||||
#define LXQTCLOCK_H
|
||||
|
||||
#include "../panel/ilxqtpanelplugin.h"
|
||||
#include "lxqtclockconfiguration.h"
|
||||
#include "calendarpopup.h"
|
||||
#include <LXQt/RotatedWidget>
|
||||
|
||||
#include <QString>
|
||||
|
||||
class QLabel;
|
||||
class QDialog;
|
||||
class QTimer;
|
||||
class QProxyStyle;
|
||||
|
||||
class LxQtClock : public QObject, public ILxQtPanelPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
LxQtClock(const ILxQtPanelPluginStartupInfo &startupInfo);
|
||||
~LxQtClock();
|
||||
|
||||
virtual Flags flags() const { return PreferRightAlignment | HaveConfigDialog ; }
|
||||
QString themeId() const { return "Clock"; }
|
||||
QWidget *widget() { return mMainWidget; }
|
||||
QDialog *configureDialog();
|
||||
void settingsChanged();
|
||||
|
||||
void activated(ActivationReason reason);
|
||||
bool isSeparate() const { return true; }
|
||||
|
||||
void realign();
|
||||
|
||||
public slots:
|
||||
void updateTime();
|
||||
|
||||
protected:
|
||||
bool eventFilter(QObject *watched, QEvent *event);
|
||||
|
||||
private:
|
||||
QTimer* mClockTimer;
|
||||
QWidget *mMainWidget;
|
||||
QWidget *mContent;
|
||||
LxQt::RotatedWidget* mRotatedWidget;
|
||||
QLabel* mTimeLabel;
|
||||
QLabel* mDateLabel;
|
||||
QString mClockFormat;
|
||||
QString mToolTipFormat;
|
||||
CalendarPopup* mCalendarPopup;
|
||||
QString mTimeFormat;
|
||||
QString mDateFormat;
|
||||
bool mDateOnNewLine;
|
||||
bool mUseUTC;
|
||||
int mFirstDayOfWeek;
|
||||
bool mAutoRotate;
|
||||
QScopedPointer<QProxyStyle> mTextStyle;
|
||||
int mCurrentCharCount;
|
||||
|
||||
QDateTime currentDateTime();
|
||||
void showTime();
|
||||
void restartTimer();
|
||||
};
|
||||
|
||||
|
||||
class LxQtClockPluginLibrary: public QObject, public ILxQtPanelPluginLibrary
|
||||
{
|
||||
Q_OBJECT
|
||||
// Q_PLUGIN_METADATA(IID "lxde-qt.org/Panel/PluginInterface/3.0")
|
||||
Q_INTERFACES(ILxQtPanelPluginLibrary)
|
||||
public:
|
||||
ILxQtPanelPlugin *instance(const ILxQtPanelPluginStartupInfo &startupInfo) const { return new LxQtClock(startupInfo);}
|
||||
};
|
||||
|
||||
|
||||
#endif
|
@ -0,0 +1,317 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2011 Razor team
|
||||
* Authors:
|
||||
* Maciej Płaza <plaza.maciej@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#include <QInputDialog>
|
||||
#include <QStandardItemModel>
|
||||
#include <QStandardItem>
|
||||
|
||||
#include "lxqtclockconfiguration.h"
|
||||
#include "ui_lxqtclockconfiguration.h"
|
||||
|
||||
|
||||
namespace
|
||||
{
|
||||
class FirstDayCombo : public QStandardItemModel
|
||||
{
|
||||
public:
|
||||
FirstDayCombo()
|
||||
{
|
||||
QStandardItem* item = 0;
|
||||
int row = 0;
|
||||
item = new QStandardItem;
|
||||
item->setData(-1, Qt::UserRole);
|
||||
setItem(row, 0, item);
|
||||
item = new QStandardItem;
|
||||
item->setData(tr("<locale based>"), Qt::DisplayRole);
|
||||
setItem(row, 1, item);
|
||||
++row;
|
||||
for (int wday = Qt::Monday; Qt::Sunday >= wday; ++wday, ++row)
|
||||
{
|
||||
item = new QStandardItem;
|
||||
item->setData(wday, Qt::UserRole);
|
||||
setItem(row, 0, item);
|
||||
item = new QStandardItem;
|
||||
item->setData(QLocale::system().dayName(wday), Qt::DisplayRole);
|
||||
setItem(row, 1, item);
|
||||
}
|
||||
}
|
||||
|
||||
int findIndex(int wday)
|
||||
{
|
||||
int i = rowCount() - 1;
|
||||
for ( ; 0 <= i; --i)
|
||||
{
|
||||
if (item(i)->data(Qt::UserRole).toInt() == wday)
|
||||
break;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
LxQtClockConfiguration::LxQtClockConfiguration(QSettings &settings, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::LxQtClockConfiguration),
|
||||
mSettings(settings),
|
||||
oldSettings(settings),
|
||||
mOldIndex(1)
|
||||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setObjectName("ClockConfigurationWindow");
|
||||
ui->setupUi(this);
|
||||
|
||||
connect(ui->buttons, SIGNAL(clicked(QAbstractButton*)), SLOT(dialogButtonsAction(QAbstractButton*)));
|
||||
|
||||
ui->firstDayOfWeekCB->setModel(new FirstDayCombo);
|
||||
ui->firstDayOfWeekCB->setModelColumn(1);
|
||||
|
||||
loadSettings();
|
||||
/* We use clicked() and activated(int) because these signals aren't emitting after programmaticaly
|
||||
change of state */
|
||||
|
||||
connect(ui->dateFormatCOB, SIGNAL(activated(int)), SLOT(dateFormatActivated(int)));
|
||||
|
||||
connect(ui->showSecondsCB, SIGNAL(clicked()), SLOT(saveSettings()));
|
||||
connect(ui->ampmClockCB, SIGNAL(clicked()), SLOT(saveSettings()));
|
||||
connect(ui->useUtcCB, SIGNAL(clicked()), SLOT(saveSettings()));
|
||||
connect(ui->dontShowDateRB, SIGNAL(clicked()), SLOT(saveSettings()));
|
||||
connect(ui->showDateBeforeTimeRB, SIGNAL(clicked()), SLOT(saveSettings()));
|
||||
connect(ui->showDateAfterTimeRB, SIGNAL(clicked()), SLOT(saveSettings()));
|
||||
connect(ui->showDateBelowTimeRB, SIGNAL(clicked()), SLOT(saveSettings()));
|
||||
|
||||
connect(ui->autorotateCB, SIGNAL(clicked()), SLOT(saveSettings()));
|
||||
connect(ui->firstDayOfWeekCB, SIGNAL(activated(int)), SLOT(saveSettings()));
|
||||
}
|
||||
|
||||
LxQtClockConfiguration::~LxQtClockConfiguration()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
static int currentYear = QDate::currentDate().year();
|
||||
|
||||
void LxQtClockConfiguration::addDateFormat(const QString &format)
|
||||
{
|
||||
if (ui->dateFormatCOB->findData(QVariant(format)) == -1)
|
||||
ui->dateFormatCOB->addItem(QDate(currentYear, 1, 1).toString(format), QVariant(format));
|
||||
}
|
||||
|
||||
void LxQtClockConfiguration::createDateFormats()
|
||||
{
|
||||
ui->dateFormatCOB->clear();
|
||||
|
||||
QString systemDateLocale = QLocale::system().dateFormat(QLocale::ShortFormat).toUpper();
|
||||
|
||||
if (systemDateLocale.indexOf("Y") < systemDateLocale.indexOf("D"))
|
||||
// Big-endian (year, month, day) -> in some Asia countires like China or Japan
|
||||
{
|
||||
addDateFormat("MMM d");
|
||||
addDateFormat("MMMM d");
|
||||
addDateFormat("MMM d, ddd");
|
||||
addDateFormat("MMMM d, dddd");
|
||||
addDateFormat("yyyy MMM d");
|
||||
addDateFormat("yyyy MMMM d");
|
||||
addDateFormat("yyyy MMM d, ddd");
|
||||
addDateFormat("yyyy MMMM d, dddd");
|
||||
addDateFormat("MMM dd");
|
||||
addDateFormat("MMMM dd");
|
||||
addDateFormat("MMM dd, ddd");
|
||||
addDateFormat("MMMM dd, dddd");
|
||||
addDateFormat("yyyy MMM dd");
|
||||
addDateFormat("yyyy MMMM dd");
|
||||
addDateFormat("yyyy MMM dd, ddd");
|
||||
addDateFormat("yyyy MMMM dd, dddd");
|
||||
}
|
||||
else if (systemDateLocale.indexOf("M") < systemDateLocale.indexOf("D"))
|
||||
// Middle-endian (month, day, year) -> USA
|
||||
{
|
||||
addDateFormat("MMM d");
|
||||
addDateFormat("MMMM d");
|
||||
addDateFormat("ddd, MMM d");
|
||||
addDateFormat("dddd, MMMM d");
|
||||
addDateFormat("MMM d yyyy");
|
||||
addDateFormat("MMMM d yyyy");
|
||||
addDateFormat("ddd, MMM d yyyy");
|
||||
addDateFormat("dddd, MMMM d yyyy");
|
||||
addDateFormat("MMM dd");
|
||||
addDateFormat("MMMM dd");
|
||||
addDateFormat("ddd, MMM dd");
|
||||
addDateFormat("dddd, MMMM dd");
|
||||
addDateFormat("MMM dd yyyy");
|
||||
addDateFormat("MMMM dd yyyy");
|
||||
addDateFormat("ddd, MMM dd yyyy");
|
||||
addDateFormat("dddd, MMMM dd yyyy");
|
||||
}
|
||||
else
|
||||
// Little-endian (day, month, year) -> most of Europe
|
||||
{
|
||||
addDateFormat("d MMM");
|
||||
addDateFormat("d MMMM");
|
||||
addDateFormat("ddd, d MMM");
|
||||
addDateFormat("dddd, d MMMM");
|
||||
addDateFormat("d MMM yyyy");
|
||||
addDateFormat("d MMMM yyyy");
|
||||
addDateFormat("ddd, d MMM yyyy");
|
||||
addDateFormat("dddd, d MMMM yyyy");
|
||||
addDateFormat("dd MMM");
|
||||
addDateFormat("dd MMMM");
|
||||
addDateFormat("ddd, dd MMM");
|
||||
addDateFormat("dddd, dd MMMM");
|
||||
addDateFormat("dd MMM yyyy");
|
||||
addDateFormat("dd MMMM yyyy");
|
||||
addDateFormat("ddd, dd MMM yyyy");
|
||||
addDateFormat("dddd, dd MMMM yyyy");
|
||||
}
|
||||
|
||||
addDateFormat(QLocale::system().dateFormat(QLocale::ShortFormat));
|
||||
addDateFormat(QLocale::system().dateFormat(QLocale::LongFormat));
|
||||
|
||||
addDateFormat("yyyy-MM-dd"); // ISO
|
||||
|
||||
if (mCustomDateFormat.isEmpty())
|
||||
ui->dateFormatCOB->addItem("Custom ...", QVariant(mCustomDateFormat));
|
||||
else
|
||||
ui->dateFormatCOB->addItem(QString("Custom (%1) ...").arg(QDate(currentYear, 1, 1).toString(mCustomDateFormat)), QVariant(mCustomDateFormat));
|
||||
}
|
||||
|
||||
void LxQtClockConfiguration::loadSettings()
|
||||
{
|
||||
QString systemDateLocale = QLocale::system().dateFormat(QLocale::ShortFormat).toUpper();
|
||||
QString systemTimeLocale = QLocale::system().timeFormat(QLocale::ShortFormat).toUpper();
|
||||
|
||||
QString timeFormat = mSettings.value("timeFormat", systemTimeLocale.contains("AP") ? "h:mm AP" : "HH:mm").toString();
|
||||
|
||||
ui->showSecondsCB->setChecked(timeFormat.indexOf("ss") > -1);
|
||||
|
||||
ui->ampmClockCB->setChecked(timeFormat.toUpper().indexOf("AP") > -1);
|
||||
|
||||
ui->useUtcCB->setChecked(mSettings.value("UTC", false).toBool());
|
||||
|
||||
ui->dontShowDateRB->setChecked(true);
|
||||
ui->showDateBeforeTimeRB->setChecked(mSettings.value("showDate", "no").toString().toLower() == "before");
|
||||
ui->showDateAfterTimeRB->setChecked(mSettings.value("showDate", "no").toString().toLower() == "after");
|
||||
ui->showDateBelowTimeRB->setChecked(mSettings.value("showDate", "no").toString().toLower() == "below");
|
||||
|
||||
mCustomDateFormat = mSettings.value("customDateFormat", QString()).toString();
|
||||
QString dateFormat = mSettings.value("dateFormat", QLocale::system().dateFormat(QLocale::ShortFormat)).toString();
|
||||
|
||||
createDateFormats();
|
||||
|
||||
if (mCustomDateFormat == dateFormat)
|
||||
ui->dateFormatCOB->setCurrentIndex(ui->dateFormatCOB->count() - 1);
|
||||
else
|
||||
{
|
||||
ui->dateFormatCOB->setCurrentIndex(ui->dateFormatCOB->findData(dateFormat));
|
||||
if (ui->dateFormatCOB->currentIndex() < 0)
|
||||
ui->dateFormatCOB->setCurrentIndex(1);
|
||||
}
|
||||
mOldIndex = ui->dateFormatCOB->currentIndex();
|
||||
|
||||
ui->autorotateCB->setChecked(mSettings.value("autoRotate", true).toBool());
|
||||
ui->firstDayOfWeekCB->setCurrentIndex(dynamic_cast<FirstDayCombo&>(*(ui->firstDayOfWeekCB->model())).findIndex(mSettings.value("firstDayOfWeek", -1).toInt()));
|
||||
}
|
||||
|
||||
void LxQtClockConfiguration::saveSettings()
|
||||
{
|
||||
QString timeFormat(ui->ampmClockCB->isChecked() ? "h:mm AP" : "HH:mm");
|
||||
|
||||
if (ui->showSecondsCB->isChecked())
|
||||
timeFormat.insert(timeFormat.indexOf("mm") + 2, ":ss");
|
||||
|
||||
mSettings.setValue("timeFormat", timeFormat);
|
||||
|
||||
mSettings.setValue("UTC", ui->useUtcCB->isChecked());
|
||||
|
||||
mSettings.setValue("showDate",
|
||||
ui->showDateBeforeTimeRB->isChecked() ? "before" :
|
||||
(ui->showDateAfterTimeRB->isChecked() ? "after" :
|
||||
(ui->showDateBelowTimeRB->isChecked() ? "below" : "no" )));
|
||||
|
||||
mSettings.setValue("customDateFormat", mCustomDateFormat);
|
||||
if (ui->dateFormatCOB->currentIndex() == (ui->dateFormatCOB->count() - 1))
|
||||
mSettings.setValue("dateFormat", mCustomDateFormat);
|
||||
else
|
||||
mSettings.setValue("dateFormat", ui->dateFormatCOB->itemData(ui->dateFormatCOB->currentIndex()));
|
||||
|
||||
mSettings.setValue("autoRotate", ui->autorotateCB->isChecked());
|
||||
mSettings.setValue("firstDayOfWeek", dynamic_cast<QStandardItemModel&>(*ui->firstDayOfWeekCB->model()).item(ui->firstDayOfWeekCB->currentIndex(), 0)->data(Qt::UserRole));
|
||||
}
|
||||
|
||||
void LxQtClockConfiguration::dialogButtonsAction(QAbstractButton *btn)
|
||||
{
|
||||
if (ui->buttons->buttonRole(btn) == QDialogButtonBox::ResetRole)
|
||||
{
|
||||
oldSettings.loadToSettings();
|
||||
loadSettings();
|
||||
}
|
||||
else
|
||||
{
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
void LxQtClockConfiguration::dateFormatActivated(int index)
|
||||
{
|
||||
if (index == ui->dateFormatCOB->count() - 1)
|
||||
{
|
||||
bool ok;
|
||||
QString newCustomDateFormat = QInputDialog::getText(this, tr("Input custom date format"), tr(
|
||||
"Interpreted sequences of date format are:\n"
|
||||
"\n"
|
||||
"d\tthe day as number without a leading zero (1 to 31)\n"
|
||||
"dd\tthe day as number with a leading zero (01 to 31)\n"
|
||||
"ddd\tthe abbreviated localized day name (e.g. 'Mon' to 'Sun').\n"
|
||||
"dddd\tthe long localized day name (e.g. 'Monday' to 'Sunday').\n"
|
||||
"M\tthe month as number without a leading zero (1-12)\n"
|
||||
"MM\tthe month as number with a leading zero (01-12)\n"
|
||||
"MMM\tthe abbreviated localized month name (e.g. 'Jan' to 'Dec').\n"
|
||||
"MMMM\tthe long localized month name (e.g. 'January' to 'December').\n"
|
||||
"yy\tthe year as two digit number (00-99)\n"
|
||||
"yyyy\tthe year as four digit number\n"
|
||||
"\n"
|
||||
"All other input characters will be treated as text.\n"
|
||||
"Any sequence of characters that are enclosed in single quotes (')\n"
|
||||
"will also be treated as text and not be used as an expression.\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"Custom date format:"
|
||||
), QLineEdit::Normal, mCustomDateFormat, &ok);
|
||||
if (ok)
|
||||
{
|
||||
mCustomDateFormat = newCustomDateFormat;
|
||||
mOldIndex = index;
|
||||
createDateFormats();
|
||||
}
|
||||
ui->dateFormatCOB->setCurrentIndex(mOldIndex);
|
||||
}
|
||||
else
|
||||
mOldIndex = index;
|
||||
|
||||
saveSettings();
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXDE-Qt - a lightweight, Qt based, desktop toolset
|
||||
* http://razor-qt.org
|
||||
*
|
||||
* Copyright: 2011 Razor team
|
||||
* Authors:
|
||||
* Maciej Płaza <plaza.maciej@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
|
||||
#ifndef LXQTCLOCKCONFIGURATION_H
|
||||
#define LXQTCLOCKCONFIGURATION_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QAbstractButton>
|
||||
#include <QButtonGroup>
|
||||
#include <QLocale>
|
||||
#include <QDateTime>
|
||||
|
||||
#include <LXQt/Settings>
|
||||
|
||||
namespace Ui {
|
||||
class LxQtClockConfiguration;
|
||||
}
|
||||
|
||||
class LxQtClockConfiguration : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit LxQtClockConfiguration(QSettings &settings, QWidget *parent = 0);
|
||||
~LxQtClockConfiguration();
|
||||
|
||||
private:
|
||||
Ui::LxQtClockConfiguration *ui;
|
||||
QSettings &mSettings;
|
||||
LxQt::SettingsCache oldSettings;
|
||||
|
||||
/*
|
||||
Read settings from conf file and put data into controls.
|
||||
*/
|
||||
void loadSettings();
|
||||
|
||||
/*
|
||||
Creates a date formats consistent with the region read from locale.
|
||||
*/
|
||||
void createDateFormats();
|
||||
|
||||
private slots:
|
||||
/*
|
||||
Saves settings in conf file.
|
||||
*/
|
||||
void saveSettings();
|
||||
void dialogButtonsAction(QAbstractButton *btn);
|
||||
void dateFormatActivated(int);
|
||||
|
||||
private:
|
||||
int mOldIndex;
|
||||
QString mCustomDateFormat;
|
||||
|
||||
void addDateFormat(const QString &format);
|
||||
};
|
||||
|
||||
#endif // LXQTCLOCKCONFIGURATION_H
|
@ -0,0 +1,232 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>LxQtClockConfiguration</class>
|
||||
<widget class="QDialog" name="LxQtClockConfiguration">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>330</width>
|
||||
<height>447</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Clock Settings</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="timeGB">
|
||||
<property name="title">
|
||||
<string>Time</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="showSecondsCB">
|
||||
<property name="text">
|
||||
<string>&Show seconds</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="ampmClockCB">
|
||||
<property name="text">
|
||||
<string>12 &hour style</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="useUtcCB">
|
||||
<property name="text">
|
||||
<string>&Use UTC</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="dateGB">
|
||||
<property name="title">
|
||||
<string>Date</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1">
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="dateFormatL">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Date &format</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>dateFormatCOB</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QComboBox" name="dateFormatCOB">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0" colspan="2">
|
||||
<widget class="QRadioButton" name="dontShowDateRB">
|
||||
<property name="text">
|
||||
<string>&Do not show date</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2">
|
||||
<widget class="QRadioButton" name="showDateBeforeTimeRB">
|
||||
<property name="text">
|
||||
<string>Show date &before time</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2">
|
||||
<widget class="QRadioButton" name="showDateAfterTimeRB">
|
||||
<property name="text">
|
||||
<string>Show date &after time</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" colspan="2">
|
||||
<widget class="QRadioButton" name="showDateBelowTimeRB">
|
||||
<property name="text">
|
||||
<string>Show date below time on new &line</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="firstDayOfWeekL">
|
||||
<property name="text">
|
||||
<string>First day of week in calendar</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>firstDayOfWeekCB</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QComboBox" name="firstDayOfWeekCB">
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="orientationGB">
|
||||
<property name="title">
|
||||
<string>Orientation</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="autorotateCB">
|
||||
<property name="text">
|
||||
<string>Auto&rotate when the panel is vertical</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDialogButtonBox" name="buttons">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttons</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>LxQtClockConfiguration</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>214</x>
|
||||
<y>350</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>157</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>buttons</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>LxQtClockConfiguration</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>214</x>
|
||||
<y>350</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>196</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>dontShowDateRB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>dateFormatL</receiver>
|
||||
<slot>setDisabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>68</x>
|
||||
<y>166</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>63</x>
|
||||
<y>267</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>dontShowDateRB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>dateFormatCOB</receiver>
|
||||
<slot>setDisabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>174</x>
|
||||
<y>167</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>239</x>
|
||||
<y>275</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LxQtPanel/Plugin
|
||||
Name=Date & time
|
||||
Comment=Displays the current time. Comes with a calendar.
|
||||
Icon=preferences-system-time
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
@ -0,0 +1,113 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>FirstDayCombo</name>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="50"/>
|
||||
<source><locale based></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtClockConfiguration</name>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="14"/>
|
||||
<source>Clock Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="20"/>
|
||||
<source>Time</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="26"/>
|
||||
<source>&Show seconds</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="33"/>
|
||||
<source>12 &hour style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="40"/>
|
||||
<source>&Use UTC</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="76"/>
|
||||
<source>&Do not show date</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="86"/>
|
||||
<source>Show date &before time</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="93"/>
|
||||
<source>Show date &after time</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="100"/>
|
||||
<source>Show date below time on new &line</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="107"/>
|
||||
<source>First day of week in calendar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="124"/>
|
||||
<source>Orientation</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="130"/>
|
||||
<source>Auto&rotate when the panel is vertical</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="50"/>
|
||||
<source>Date</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="59"/>
|
||||
<source>Date &format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="284"/>
|
||||
<source>Input custom date format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="284"/>
|
||||
<source>Interpreted sequences of date format are:
|
||||
|
||||
d the day as number without a leading zero (1 to 31)
|
||||
dd the day as number with a leading zero (01 to 31)
|
||||
ddd the abbreviated localized day name (e.g. 'Mon' to 'Sun').
|
||||
dddd the long localized day name (e.g. 'Monday' to 'Sunday').
|
||||
M the month as number without a leading zero (1-12)
|
||||
MM the month as number with a leading zero (01-12)
|
||||
MMM the abbreviated localized month name (e.g. 'Jan' to 'Dec').
|
||||
MMMM the long localized month name (e.g. 'January' to 'December').
|
||||
yy the year as two digit number (00-99)
|
||||
yyyy the year as four digit number
|
||||
|
||||
All other input characters will be treated as text.
|
||||
Any sequence of characters that are enclosed in single quotes (')
|
||||
will also be treated as text and not be used as an expression.
|
||||
|
||||
|
||||
Custom date format:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LxQtPanel/Plugin
|
||||
Name=Date & time
|
||||
Comment=Displays the current time. Comes with a calendar.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[ar]=السَّاعة والتَّقويم
|
||||
Name[ar]=السَّاعة
|
@ -0,0 +1,181 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="cs">
|
||||
<context>
|
||||
<name>FirstDayCombo</name>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="50"/>
|
||||
<source><locale based></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtClockConfiguration</name>
|
||||
<message>
|
||||
<source>LxQt Clock Settings</source>
|
||||
<translation type="vanished">Nastavení hodin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="14"/>
|
||||
<source>Clock Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="20"/>
|
||||
<source>Time</source>
|
||||
<translation>Čas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="26"/>
|
||||
<source>&Show seconds</source>
|
||||
<translation>&Ukázat sekundy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="33"/>
|
||||
<source>12 &hour style</source>
|
||||
<translation>12 &hodinový styl</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="40"/>
|
||||
<source>&Use UTC</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="59"/>
|
||||
<source>Date &format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="76"/>
|
||||
<source>&Do not show date</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="86"/>
|
||||
<source>Show date &before time</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="93"/>
|
||||
<source>Show date &after time</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="100"/>
|
||||
<source>Show date below time on new &line</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="107"/>
|
||||
<source>First day of week in calendar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="124"/>
|
||||
<source>Orientation</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="130"/>
|
||||
<source>Auto&rotate when the panel is vertical</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Font</source>
|
||||
<translation type="vanished">&Písmo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation type="vanished">Písmo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="50"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show &date</source>
|
||||
<translation type="vanished">Ukázat &datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>D&ate format</source>
|
||||
<translation type="vanished">Formát d&ata</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Fon&t</source>
|
||||
<translation type="vanished">Pí&smo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show date in &new line</source>
|
||||
<translation type="vanished">Ukázat datum na &novém řádku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Use theme fonts</source>
|
||||
<translation type="vanished">&Použít písma motivu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Time font</source>
|
||||
<translation type="vanished">Písmo pro čas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Date font</source>
|
||||
<translation type="vanished">Písmo pro datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ultra light</source>
|
||||
<translation type="vanished">Hodně světlé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Light</source>
|
||||
<translation type="vanished">Světlé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ultra black</source>
|
||||
<translation type="vanished">Hodně černé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Black</source>
|
||||
<translation type="vanished">Černé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation type="vanished">Tučné</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Demi bold</source>
|
||||
<translation type="vanished">Polotučné</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Italic</source>
|
||||
<translation type="vanished">Kurzíva</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="284"/>
|
||||
<source>Input custom date format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="284"/>
|
||||
<source>Interpreted sequences of date format are:
|
||||
|
||||
d the day as number without a leading zero (1 to 31)
|
||||
dd the day as number with a leading zero (01 to 31)
|
||||
ddd the abbreviated localized day name (e.g. 'Mon' to 'Sun').
|
||||
dddd the long localized day name (e.g. 'Monday' to 'Sunday').
|
||||
M the month as number without a leading zero (1-12)
|
||||
MM the month as number with a leading zero (01-12)
|
||||
MMM the abbreviated localized month name (e.g. 'Jan' to 'Dec').
|
||||
MMMM the long localized month name (e.g. 'January' to 'December').
|
||||
yy the year as two digit number (00-99)
|
||||
yyyy the year as four digit number
|
||||
|
||||
All other input characters will be treated as text.
|
||||
Any sequence of characters that are enclosed in single quotes (')
|
||||
will also be treated as text and not be used as an expression.
|
||||
|
||||
|
||||
Custom date format:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LxQtPanel/Plugin
|
||||
Name=Date & time
|
||||
Comment=Displays the current time. Comes with a calendar.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[cs_CZ]=Hodiny a kalendář
|
||||
Name[cs_CZ]=Hodiny
|
@ -0,0 +1,181 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="cs_CZ">
|
||||
<context>
|
||||
<name>FirstDayCombo</name>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="50"/>
|
||||
<source><locale based></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtClockConfiguration</name>
|
||||
<message>
|
||||
<source>LxQt Clock Settings</source>
|
||||
<translation type="vanished">Nastavení hodin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="14"/>
|
||||
<source>Clock Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="20"/>
|
||||
<source>Time</source>
|
||||
<translation>Čas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="26"/>
|
||||
<source>&Show seconds</source>
|
||||
<translation>&Ukázat sekundy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="33"/>
|
||||
<source>12 &hour style</source>
|
||||
<translation>12 &hodinový styl</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="40"/>
|
||||
<source>&Use UTC</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="59"/>
|
||||
<source>Date &format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="76"/>
|
||||
<source>&Do not show date</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="86"/>
|
||||
<source>Show date &before time</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="93"/>
|
||||
<source>Show date &after time</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="100"/>
|
||||
<source>Show date below time on new &line</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="107"/>
|
||||
<source>First day of week in calendar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="124"/>
|
||||
<source>Orientation</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="130"/>
|
||||
<source>Auto&rotate when the panel is vertical</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Font</source>
|
||||
<translation type="vanished">&Písmo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation type="vanished">Písmo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="50"/>
|
||||
<source>Date</source>
|
||||
<translation>Datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show &date</source>
|
||||
<translation type="vanished">Ukázat &datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>D&ate format</source>
|
||||
<translation type="vanished">Formát d&ata</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Fon&t</source>
|
||||
<translation type="vanished">Pí&smo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show date in &new line</source>
|
||||
<translation type="vanished">Ukázat datum na &novém řádku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Use theme fonts</source>
|
||||
<translation type="vanished">&Použít písma motivu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Time font</source>
|
||||
<translation type="vanished">Písmo pro čas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Date font</source>
|
||||
<translation type="vanished">Písmo pro datum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ultra light</source>
|
||||
<translation type="vanished">Hodně světlé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Light</source>
|
||||
<translation type="vanished">Světlé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ultra black</source>
|
||||
<translation type="vanished">Hodně černé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Black</source>
|
||||
<translation type="vanished">Černé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation type="vanished">Tučné</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Demi bold</source>
|
||||
<translation type="vanished">Polotučné</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Italic</source>
|
||||
<translation type="vanished">Kurzíva</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="284"/>
|
||||
<source>Input custom date format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="284"/>
|
||||
<source>Interpreted sequences of date format are:
|
||||
|
||||
d the day as number without a leading zero (1 to 31)
|
||||
dd the day as number with a leading zero (01 to 31)
|
||||
ddd the abbreviated localized day name (e.g. 'Mon' to 'Sun').
|
||||
dddd the long localized day name (e.g. 'Monday' to 'Sunday').
|
||||
M the month as number without a leading zero (1-12)
|
||||
MM the month as number with a leading zero (01-12)
|
||||
MMM the abbreviated localized month name (e.g. 'Jan' to 'Dec').
|
||||
MMMM the long localized month name (e.g. 'January' to 'December').
|
||||
yy the year as two digit number (00-99)
|
||||
yyyy the year as four digit number
|
||||
|
||||
All other input characters will be treated as text.
|
||||
Any sequence of characters that are enclosed in single quotes (')
|
||||
will also be treated as text and not be used as an expression.
|
||||
|
||||
|
||||
Custom date format:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue