Merge branch 'master' into about-dialog

pull/1/head
Johan Smith Agudelo Rodriguez 8 years ago
commit fedb872e4a

@ -229,7 +229,7 @@ int DockCorona::docksCount(int screen) const
}
}
qDebug() << docks << "docks on screen:" << screen;
// qDebug() << docks << "docks on screen:" << screen;
return docks;
}

@ -300,7 +300,7 @@ inline void DockView::syncGeometry()
resizeWindow();
updatePosition();
updateAbsDockGeometry();
qDebug() << "dock geometry:" << qRectToStr(geometry());
// qDebug() << "dock geometry:" << qRectToStr(geometry());
}
void DockView::statusChanged(Plasma::Types::ItemStatus status)
@ -538,6 +538,7 @@ void DockView::mousePressEvent(QMouseEvent *event)
//by the qml incubator when plasma is loading, so we need to guard there
if (m_contextMenu) {
m_contextMenu->close();
m_contextMenu = 0;
PlasmaQuick::ContainmentView::mousePressEvent(event);
return;
}

@ -1,11 +1,14 @@
[Desktop Entry]
Name=Latte
Name[de]=Latte
Name[el]=Latte
Name[es]=Latte
Comment=Dock for the masses
Comment[de]=Dock für die Massen
Comment[el]=Πίνακας για όλον τον κόσμο
Comment[es]=Dock para las masas
GenericName=Dock
GenericName[de]=Leiste
GenericName[el]=Πίνακας
GenericName[es]=Dock

@ -23,6 +23,7 @@
#include <memory>
#include <QApplication>
#include <QDebug>
#include <QQuickWindow>
#include <QCommandLineParser>
#include <QCommandLineOption>
@ -40,9 +41,15 @@
#define CIRED "\e[1;31m"
#define CRED "\e[0;31m"
inline void configureAboutData();
void noMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg)
{
Q_UNUSED(type);
Q_UNUSED(context);
Q_UNUSED(msg);
}
int main(int argc, char **argv)
{
QQuickWindow::setDefaultAlphaBuffer(true);
@ -61,7 +68,11 @@ int main(int argc, char **argv)
CICYAN " - " CNORMAL "%{message}"
CIRED "%{if-fatal}\n%{backtrace depth=8 separator=\"\n\"}%{endif}"
"%{if-critical}\n%{backtrace depth=8 separator=\"\n\"}%{endif}" CNORMAL));
// qputenv("QT_QUICK_CONTROLS_1_STYLE", "Desktop");
if (!app.arguments().contains(QLatin1String("--debug"))) {
qInstallMessageHandler(noMessageOutput);
}
Latte::DockCorona corona;
return app.exec();

@ -45,13 +45,13 @@ VisibilityManagerPrivate::VisibilityManagerPrivate(PlasmaQuick::ContainmentView
connect(&timerCheckWindows, &QTimer::timeout, this, &VisibilityManagerPrivate::checkAllWindows);
connect(&timerShow, &QTimer::timeout, this, [this]() {
if (isHidden) {
qDebug() << "must be shown";
// qDebug() << "must be shown";
emit this->q->mustBeShown();
}
});
connect(&timerHide, &QTimer::timeout, this, [this]() {
if (!blockHiding && !isHidden && !dragEnter) {
qDebug() << "must be hide";
// qDebug() << "must be hide";
emit this->q->mustBeHide();
}
});
@ -181,7 +181,7 @@ void VisibilityManagerPrivate::setBlockHiding(bool blockHiding)
return;
this->blockHiding = blockHiding;
qDebug() << "blockHiding:" << blockHiding;
// qDebug() << "blockHiding:" << blockHiding;
if (this->blockHiding) {
timerHide.stop();

@ -52,6 +52,9 @@
</choices>
<default>1</default>
</entry>
<entry name="maxLength" type="Int">
<default>100</default>
</entry>
<!-- Config properties -->
<entry name="configurationSticker" type="Bool">
<default>false</default>

@ -25,8 +25,8 @@ import QtGraphicalEffects 1.0
Image{
id: editVisual
width: root.isHorizontal ? parent.width : visibilityManager.thicknessNormalOriginalValue
height: root.isVertical ? parent.height : visibilityManager.thicknessNormalOriginalValue
width: root.isHorizontal ? root.maxLength : visibilityManager.thicknessNormalOriginalValue
height: root.isVertical ? root.maxLength : visibilityManager.thicknessNormalOriginalValue
fillMode: Image.Tile
source: "../icons/blueprint.jpg"
@ -48,6 +48,17 @@ Image{
color: "#ee080808"
}
/*Behavior on width {
NumberAnimation { duration: 300 }
enabled: root.isHorizontal
}
Behavior on height {
NumberAnimation { duration: 300 }
enabled: root.isVertical
}*/
Connections{
target: plasmoid
onLocationChanged: initializeEditPosition();
@ -70,9 +81,21 @@ Image{
}
}
onWidthChanged: {
if (root.isHorizontal) {
initializeEditPosition();
}
}
onHeightChanged: {
if (root.isVertical) {
initializeEditPosition();
}
}
function initializeNormalPosition() {
if (plasmoid.location === PlasmaCore.Types.BottomEdge) {
x = 0;
x = root.width/2 - root.maxLength/2;
y = rootThickness;
} else if (plasmoid.location === PlasmaCore.Types.RightEdge) {
x = rootThickness;
@ -81,22 +104,25 @@ Image{
x = -editVisual.thickness;
y = 0;
} else if (plasmoid.location === PlasmaCore.Types.TopEdge) {
x = 0;
x = root.width/2 - root.maxLength/2;
y = -editVisual.thickness;
}
}
function initializeEditPosition() {
if (root.editMode) {
if ((plasmoid.location === PlasmaCore.Types.LeftEdge) || (plasmoid.location === PlasmaCore.Types.TopEdge)){
if (plasmoid.location === PlasmaCore.Types.LeftEdge){
x = 0;
y = root.height/2 - editVisual.height/2;
} else if (plasmoid.location === PlasmaCore.Types.TopEdge) {
x = root.width/2 - editVisual.width/2;
y = 0;
} else if (plasmoid.location === PlasmaCore.Types.BottomEdge) {
x = 0;
x = root.width/2 - editVisual.width/2;
y = rootThickness - thickness + shadowSize;
} else if (plasmoid.location === PlasmaCore.Types.RightEdge) {
x = rootThickness - thickness + shadowSize;
y = 0;
y = root.height/2 - editVisual.height/2;
}
}
}

@ -138,15 +138,18 @@ Item{
var tempLength = root.isHorizontal ? width : height;
var tempThickness = root.isHorizontal ? height : width;
var space = root.useThemePanel ? root.panelEdgeSpacing + 2*root.shadowsSize : 2;
var space = root.useThemePanel ? (plasmoid.configuration.panelPosition === Latte.Dock.Justify) ?
2*root.panelEdgeSpacing + 2*root.shadowsSize : root.panelEdgeSpacing + 2*root.shadowsSize : 2;
if (normalState) {
//console.log("entered normal state...");
//count panel length
if(root.isHorizontal) {
tempLength = plasmoid.configuration.panelPosition === Latte.Dock.Justify ? layoutsContainer.width + 0.5*space : mainLayout.width + space;
tempLength = plasmoid.configuration.panelPosition === Latte.Dock.Justify ?
layoutsContainer.width + space : mainLayout.width + space;
} else {
tempLength = plasmoid.configuration.panelPosition === Latte.Dock.Justify ? layoutsContainer.height + 0.5*space : mainLayout.height + space;
tempLength = plasmoid.configuration.panelPosition === Latte.Dock.Justify ?
layoutsContainer.height + space : mainLayout.height + space;
}
tempThickness = thicknessNormalOriginal;
@ -168,11 +171,11 @@ Item{
}
if (plasmoid.configuration.panelPosition === Latte.Dock.Justify) {
localX = (dock.width/2) - (layoutsContainer.width/2) - 0.25*space;
localX = (dock.width/2) - tempLength/2;
} else if (root.panelAlignment === Latte.Dock.Left) {
localX = 0;
} else if (root.panelAlignment === Latte.Dock.Center) {
localX = (dock.width/2) - (mainLayout.width/2) - (space/2);
localX = (dock.width/2) - tempLength/2;
} else if (root.panelAlignment === Latte.Dock.Right) {
localX = dock.width - mainLayout.width - (space/2);
}
@ -184,11 +187,11 @@ Item{
}
if (plasmoid.configuration.panelPosition === Latte.Dock.Justify) {
localY = (dock.height/2) - (layoutsContainer.height/2) - 0.25*space;
localY = (dock.height/2) - tempLength/2;
} else if (root.panelAlignment === Latte.Dock.Top) {
localY = 0;
} else if (root.panelAlignment === Latte.Dock.Center) {
localY = (dock.height/2) - (mainLayout.height/2) - (space/2);
localY = (dock.height/2) - tempLength/2;
} else if (root.panelAlignment === Latte.Dock.Bottom) {
localY = dock.height - mainLayout.height - (space/2);
}
@ -261,21 +264,20 @@ Item{
dock.maskArea = newMaskArea;
//console.log("update mask area:"+newMaskArea);
if((normalState || plasmoid.userConfiguring) && !dock.visibility.isHidden){
if(normalState && !dock.visibility.isHidden){
//the shadows size must be removed from the maskArea
//before updating the localDockGeometry
if (plasmoid.userConfiguring || (dock.visibility.mode === Latte.Dock.AlwaysVisible) ) {
if (plasmoid.formFactor === PlasmaCore.Types.Vertical) {
newMaskArea.width = newMaskArea.width - editModeVisual.shadowSize;
} else {
newMaskArea.height = newMaskArea.height - editModeVisual.shadowSize;
}
if (plasmoid.location === PlasmaCore.Types.BottomEdge) {
newMaskArea.y = newMaskArea.y + editModeVisual.shadowSize;
} else if (plasmoid.location === PlasmaCore.Types.RightEdge) {
newMaskArea.x = newMaskArea.x + editModeVisual.shadowSize;
}
if (plasmoid.formFactor === PlasmaCore.Types.Vertical) {
newMaskArea.width = newMaskArea.width - editModeVisual.shadowSize - 1;
} else {
newMaskArea.height = newMaskArea.height - editModeVisual.shadowSize - 1;
}
if (plasmoid.location === PlasmaCore.Types.BottomEdge) {
newMaskArea.y = newMaskArea.y + editModeVisual.shadowSize;
} else if (plasmoid.location === PlasmaCore.Types.RightEdge) {
newMaskArea.x = newMaskArea.x + editModeVisual.shadowSize;
}
dock.setLocalDockGeometry(newMaskArea);

@ -71,6 +71,9 @@ DragDrop.DropArea {
plasmoid.configuration.iconSize
property int iconStep: 8
property int latteAppletPos: -1
property int maxLength: root.isHorizontal ? width * (plasmoid.configuration.maxLength/100)
: height * (plasmoid.configuration.maxLength/100)
property int panelEdgeSpacing: iconSize / 3
//FIXME: this is not needed any more probably
property int previousAllTasks: -1 //is used to forbit updateAutomaticIconSize when hovering
@ -561,7 +564,7 @@ DragDrop.DropArea {
return;
}
console.debug("user configuring", plasmoid.userConfiguring)
// console.debug("user configuring", plasmoid.userConfiguring)
if (plasmoid.userConfiguring) {
dock.visibility.blockHiding = true;
@ -873,11 +876,10 @@ DragDrop.DropArea {
}
function updateAutomaticIconSize() {
if ((visibilityManager.normalState || root.editMode)
if ((visibilityManager.normalState && !root.editMode)
&& (iconSize===plasmoid.configuration.iconSize || iconSize === automaticIconSizeBasedSize) ) {
var layoutLength;
var maxLength = dock.maxLength;
var maxLength = root.maxLength;
//console.log("------Entered check-----");
//console.log("max length: "+ maxLength);
@ -1059,14 +1061,14 @@ DragDrop.DropArea {
x: (plasmoid.configuration.panelPosition === Latte.Dock.Justify) && root.isHorizontal
&& !root.editMode && windowSystem.compositingActive ?
(dock.width/2) - (dock.maxLength/2): 0
(dock.width/2) - (root.maxLength/2): 0
y: (plasmoid.configuration.panelPosition === Latte.Dock.Justify) && root.isVertical
&& !root.editMode && windowSystem.compositingActive ?
(dock.height/2) - (dock.maxLength/2): 0
(dock.height/2) - (root.maxLength/2): 0
width: (plasmoid.configuration.panelPosition === Latte.Dock.Justify) && root.isHorizontal && !root.editMode ?
dock.maxLength : parent.width
root.maxLength : parent.width
height: (plasmoid.configuration.panelPosition === Latte.Dock.Justify) && root.isVertical && !root.editMode ?
dock.maxLength : parent.height
root.maxLength : parent.height
Loader{
anchors.fill: parent
@ -1089,7 +1091,6 @@ DragDrop.DropArea {
rows: root.isHorizontal ? 1 : 0
rowSpacing: 0
Layout.preferredWidth: width
Layout.preferredHeight: height
@ -1097,7 +1098,7 @@ DragDrop.DropArea {
onWidthChanged: {
if (root.isHorizontal
&& ( (dock && (width+secondLayout.width >= dock.maxLength))
&& ( (dock && (width+secondLayout.width >= root.maxLength))
|| (root.editMode)) ){
updateAutomaticIconSize();
}
@ -1105,7 +1106,7 @@ DragDrop.DropArea {
onHeightChanged: {
if (root.isVertical
&& ( (dock && (height+secondLayout.height >= dock.maxLength))
&& ( (dock && (height+secondLayout.height >= root.maxLength))
|| (root.editMode)) ){
updateAutomaticIconSize();
}

@ -1,7 +1,9 @@
[Desktop Entry]
Name=Latte Plasmoid
Name[de]=Latte Plasmoid
Name[el]=Latte
Comment=Plasmoid from the Latte Dock
Comment[de]=Latte Dock Plasmoid
Comment[el]=Ένα πλασμoϊδές από τη σουίτα Latte

@ -7,16 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-24 09:37+0100\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2017-01-24 15:58+0100\n"
"Last-Translator: \n"
"Language-Team: Jan Neumann <neumdotjaatgmaildotcom>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.11\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: de_DE\n"
#: ../../shell/contents/configuration/AppearanceConfig.qml:59
msgid "Applets Size"
@ -35,7 +35,7 @@ msgid "Animations"
msgstr "Animation"
#: ../../shell/contents/configuration/AppearanceConfig.qml:183
#: ../../shell/contents/configuration/AppearanceConfig.qml:310
#: ../../shell/contents/configuration/AppearanceConfig.qml:362
msgid "None"
msgstr "Keine"
@ -60,14 +60,19 @@ msgid "Show Panel Background"
msgstr "Zeige Hintergrund der Leiste"
#: ../../shell/contents/configuration/AppearanceConfig.qml:286
#: ../../shell/contents/configuration/AppearanceConfig.qml:299
msgid "Length"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:338
msgid "Shadows"
msgstr "Schatten"
#: ../../shell/contents/configuration/AppearanceConfig.qml:316
#: ../../shell/contents/configuration/AppearanceConfig.qml:370
msgid "Only for locked applets"
msgstr "Nur gesperrte Anwendungen"
#: ../../shell/contents/configuration/AppearanceConfig.qml:322
#: ../../shell/contents/configuration/AppearanceConfig.qml:376
msgid "All applets"
msgstr "Alle Anwendungen"
@ -258,7 +263,7 @@ msgstr "Zeige nur Aufgaben dieses Arbeitsplatzes"
msgid "Show only tasks from the current activity"
msgstr "Zeige nur Aufgaben dieser Aktivität"
#: ../../app/dockview.cpp:784
#: ../../app/dockview.cpp:718
msgctxt "%1 is the name of the containment"
msgid "%1 Options"
msgstr "%1 Optionen"

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"PO-Revision-Date: 2017-01-15 10:38+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2017-01-28 20:47+0200\n"
"Last-Translator: Michail Vοurlakos <mvourlakos@gmail.com>\n"
"Language-Team: Greek <kde-i18n-doc@kde.org>\n"
"Language: el_GR\n"
@ -34,7 +34,7 @@ msgid "Animations"
msgstr "Γραφικά"
#: ../../shell/contents/configuration/AppearanceConfig.qml:183
#: ../../shell/contents/configuration/AppearanceConfig.qml:310
#: ../../shell/contents/configuration/AppearanceConfig.qml:362
msgid "None"
msgstr "Καμία"
@ -59,14 +59,19 @@ msgid "Show Panel Background"
msgstr "Εμφάνιση Παρασκηνίου"
#: ../../shell/contents/configuration/AppearanceConfig.qml:286
#: ../../shell/contents/configuration/AppearanceConfig.qml:299
msgid "Length"
msgstr "Μήκος"
#: ../../shell/contents/configuration/AppearanceConfig.qml:338
msgid "Shadows"
msgstr "Σκιές"
#: ../../shell/contents/configuration/AppearanceConfig.qml:316
#: ../../shell/contents/configuration/AppearanceConfig.qml:370
msgid "Only for locked applets"
msgstr "Μόνο κλειδωμένες εφαρμογές"
#: ../../shell/contents/configuration/AppearanceConfig.qml:322
#: ../../shell/contents/configuration/AppearanceConfig.qml:376
msgid "All applets"
msgstr "Παντού"
@ -258,7 +263,7 @@ msgstr "Εργασίες μόνο της τρέχουσας επιφάνειας
msgid "Show only tasks from the current activity"
msgstr "Εργασίες μόνο της τρέχουσας δραστηριότητας"
#: ../../app/dockview.cpp:784
#: ../../app/dockview.cpp:718
msgctxt "%1 is the name of the containment"
msgid "%1 Options"
msgstr "Επιλογές του %1"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2017-01-14 20:22-0500\n"
"Last-Translator: Smith Ar <audoban@openmailbox.org>\n"
"Language-Team: Spanish <kde-i18n-doc@kde.org>\n"
@ -34,7 +34,7 @@ msgid "Animations"
msgstr "Animaciones"
#: ../../shell/contents/configuration/AppearanceConfig.qml:183
#: ../../shell/contents/configuration/AppearanceConfig.qml:310
#: ../../shell/contents/configuration/AppearanceConfig.qml:362
msgid "None"
msgstr "Ninguno"
@ -59,14 +59,19 @@ msgid "Show Panel Background"
msgstr "Mostrar el fondo del panel"
#: ../../shell/contents/configuration/AppearanceConfig.qml:286
#: ../../shell/contents/configuration/AppearanceConfig.qml:299
msgid "Length"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:338
msgid "Shadows"
msgstr "Sombras"
#: ../../shell/contents/configuration/AppearanceConfig.qml:316
#: ../../shell/contents/configuration/AppearanceConfig.qml:370
msgid "Only for locked applets"
msgstr "Solo para elementos gráficos bloqueados"
#: ../../shell/contents/configuration/AppearanceConfig.qml:322
#: ../../shell/contents/configuration/AppearanceConfig.qml:376
msgid "All applets"
msgstr "Todos los elementos gráficos"
@ -258,7 +263,7 @@ msgstr "Mostrar solo las tareas del escritorio actual"
msgid "Show only tasks from the current activity"
msgstr "Mostrar solo las tareas de la actividad actual"
#: ../../app/dockview.cpp:784
#: ../../app/dockview.cpp:718
msgctxt "%1 is the name of the containment"
msgid "%1 Options"
msgstr "Preferencias de %1"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -34,7 +34,7 @@ msgid "Animations"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:183
#: ../../shell/contents/configuration/AppearanceConfig.qml:310
#: ../../shell/contents/configuration/AppearanceConfig.qml:362
msgid "None"
msgstr ""
@ -59,14 +59,19 @@ msgid "Show Panel Background"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:286
#: ../../shell/contents/configuration/AppearanceConfig.qml:299
msgid "Length"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:338
msgid "Shadows"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:316
#: ../../shell/contents/configuration/AppearanceConfig.qml:370
msgid "Only for locked applets"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:322
#: ../../shell/contents/configuration/AppearanceConfig.qml:376
msgid "All applets"
msgstr ""
@ -257,7 +262,7 @@ msgstr ""
msgid "Show only tasks from the current activity"
msgstr ""
#: ../../app/dockview.cpp:784
#: ../../app/dockview.cpp:718
msgctxt "%1 is the name of the containment"
msgid "%1 Options"
msgstr ""

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2016-10-14 14:20+0100\n"
"Last-Translator: Damian Kopeć <damikope@gmail.com>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@ -34,7 +34,7 @@ msgid "Animations"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:183
#: ../../shell/contents/configuration/AppearanceConfig.qml:310
#: ../../shell/contents/configuration/AppearanceConfig.qml:362
msgid "None"
msgstr ""
@ -59,15 +59,20 @@ msgid "Show Panel Background"
msgstr "Pokaż Tło Panelu"
#: ../../shell/contents/configuration/AppearanceConfig.qml:286
#: ../../shell/contents/configuration/AppearanceConfig.qml:299
msgid "Length"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:338
msgid "Shadows"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:316
#: ../../shell/contents/configuration/AppearanceConfig.qml:370
#, fuzzy
msgid "Only for locked applets"
msgstr "Cień dla zablokowanych apletów"
#: ../../shell/contents/configuration/AppearanceConfig.qml:322
#: ../../shell/contents/configuration/AppearanceConfig.qml:376
#, fuzzy
msgid "All applets"
msgstr "Wielkość Apletów"
@ -269,7 +274,7 @@ msgstr ""
msgid "Show only tasks from the current activity"
msgstr ""
#: ../../app/dockview.cpp:784
#: ../../app/dockview.cpp:718
msgctxt "%1 is the name of the containment"
msgid "%1 Options"
msgstr ""

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2016-09-25 04:15+0300\n"
"Last-Translator: Viorel-Cătălin Răpițeanu <rapiteanu DOT catalin AT gmail "
"DOT com>\n"
@ -36,7 +36,7 @@ msgid "Animations"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:183
#: ../../shell/contents/configuration/AppearanceConfig.qml:310
#: ../../shell/contents/configuration/AppearanceConfig.qml:362
msgid "None"
msgstr ""
@ -61,14 +61,19 @@ msgid "Show Panel Background"
msgstr "Arată fundalul panoului"
#: ../../shell/contents/configuration/AppearanceConfig.qml:286
#: ../../shell/contents/configuration/AppearanceConfig.qml:299
msgid "Length"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:338
msgid "Shadows"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:316
#: ../../shell/contents/configuration/AppearanceConfig.qml:370
msgid "Only for locked applets"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:322
#: ../../shell/contents/configuration/AppearanceConfig.qml:376
#, fuzzy
msgid "All applets"
msgstr "Dimensiunea miniaplicațiilor"
@ -270,7 +275,7 @@ msgstr ""
msgid "Show only tasks from the current activity"
msgstr ""
#: ../../app/dockview.cpp:784
#: ../../app/dockview.cpp:718
msgctxt "%1 is the name of the containment"
msgid "%1 Options"
msgstr ""

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2016-11-26 17:31+0800\n"
"Last-Translator: Jeff Huang <s8321414@gmail.com>\n"
"Language-Team: Chinese <kde-i18n-doc@kde.org>\n"
@ -34,7 +34,7 @@ msgid "Animations"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:183
#: ../../shell/contents/configuration/AppearanceConfig.qml:310
#: ../../shell/contents/configuration/AppearanceConfig.qml:362
msgid "None"
msgstr "無"
@ -59,14 +59,19 @@ msgid "Show Panel Background"
msgstr "顯示面板背景"
#: ../../shell/contents/configuration/AppearanceConfig.qml:286
#: ../../shell/contents/configuration/AppearanceConfig.qml:299
msgid "Length"
msgstr ""
#: ../../shell/contents/configuration/AppearanceConfig.qml:338
msgid "Shadows"
msgstr "陰影"
#: ../../shell/contents/configuration/AppearanceConfig.qml:316
#: ../../shell/contents/configuration/AppearanceConfig.qml:370
msgid "Only for locked applets"
msgstr "僅鎖定小程式"
#: ../../shell/contents/configuration/AppearanceConfig.qml:322
#: ../../shell/contents/configuration/AppearanceConfig.qml:376
msgid "All applets"
msgstr "所有小程式"
@ -270,7 +275,7 @@ msgstr ""
msgid "Show only tasks from the current activity"
msgstr ""
#: ../../app/dockview.cpp:784
#: ../../app/dockview.cpp:718
msgctxt "%1 is the name of the containment"
msgid "%1 Options"
msgstr ""

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -7,16 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-24 10:22+0100\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2017-01-24 15:55+0100\n"
"Last-Translator: \n"
"Language-Team: Jan Neumann <neumdotjaatgmaildotcom>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.11\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: de_DE\n"
#: ../../plasmoid/contents/config/config.qml:27
msgid "Appearance"
@ -84,8 +84,11 @@ msgstr "Rote Linie für minimalen Platzbedarf"
#: ../../plasmoid/contents/ui/ConfigAppearance.qml.cmake:325
#: ../../plasmoid/contents/ui/ConfigPanel.qml:171
msgid "For the disabled settings you should use the Latte Dock Configuration Window"
msgstr "Für die Ausgeblendeten Einstellungen bitte das Latte Dock Kofigurationsfenster benutzen."
msgid ""
"For the disabled settings you should use the Latte Dock Configuration Window"
msgstr ""
"Für die Ausgeblendeten Einstellungen bitte das Latte Dock "
"Kofigurationsfenster benutzen."
#: ../../plasmoid/contents/ui/ConfigInteraction.qml:59
msgid "Cycle through tasks with mouse wheel"
@ -308,21 +311,21 @@ msgstr "Entferne Starter"
msgid "Close"
msgstr "Schließen"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:773
#: ../../plasmoid/contents/ui/TaskDelegate.qml:777
msgid "On %1"
msgstr "Auf %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:782
#: ../../plasmoid/contents/ui/TaskDelegate.qml:786
msgctxt "Which virtual desktop a window is currently on"
msgid "Available on all activities"
msgstr "Sichtbar in allen Aktivitäten"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:801
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
msgctxt "Activities a window is currently on (apart from the current one)"
msgid "Also available on %1"
msgstr "Auch sichtbar in %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
#: ../../plasmoid/contents/ui/TaskDelegate.qml:809
msgctxt "Which activities a window is currently on"
msgid "Available on %1"
msgstr "Sichtbar in %1"
@ -359,4 +362,3 @@ msgstr "Latte Plasmoid"
#: rc.cpp:2
msgid "Plasmoid from the Latte Dock"
msgstr "Latte Dock Plasmoid"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2017-01-15 10:42+0200\n"
"Last-Translator: Michail Vοurlakos <mvourlakos@gmail.com>\n"
"Language-Team: Greek <kde-i18n-doc@kde.org>\n"
@ -310,21 +310,21 @@ msgstr "Αφαίρεση Εκκινητή"
msgid "Close"
msgstr "Κλείσιμο"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:773
#: ../../plasmoid/contents/ui/TaskDelegate.qml:777
msgid "On %1"
msgstr "Σε %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:782
#: ../../plasmoid/contents/ui/TaskDelegate.qml:786
msgctxt "Which virtual desktop a window is currently on"
msgid "Available on all activities"
msgstr "Σε όλες τις δραστηριότητες"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:801
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
msgctxt "Activities a window is currently on (apart from the current one)"
msgid "Also available on %1"
msgstr "Διαθέσιμο επίσης σε %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
#: ../../plasmoid/contents/ui/TaskDelegate.qml:809
msgctxt "Which activities a window is currently on"
msgid "Available on %1"
msgstr "Διαθέσιμο σε %1"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2017-01-14 20:23-0500\n"
"Last-Translator: Smith Ar <audoban@openmailbox.org>\n"
"Language-Team: Spanish <kde-i18n-doc@kde.org>\n"
@ -308,21 +308,21 @@ msgstr "Remover lanzador"
msgid "Close"
msgstr "Cerrar"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:773
#: ../../plasmoid/contents/ui/TaskDelegate.qml:777
msgid "On %1"
msgstr "En %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:782
#: ../../plasmoid/contents/ui/TaskDelegate.qml:786
msgctxt "Which virtual desktop a window is currently on"
msgid "Available on all activities"
msgstr "Disponible en todas las actividades"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:801
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
msgctxt "Activities a window is currently on (apart from the current one)"
msgid "Also available on %1"
msgstr "También disponible en %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
#: ../../plasmoid/contents/ui/TaskDelegate.qml:809
msgctxt "Which activities a window is currently on"
msgid "Available on %1"
msgstr "Disponible en %1"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2016-10-16 13:14+0100\n"
"Last-Translator: Damian Kopeć <damikope@gmail.com>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@ -313,21 +313,21 @@ msgstr "Usuń Skrót"
msgid "Close"
msgstr "Zamknij"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:773
#: ../../plasmoid/contents/ui/TaskDelegate.qml:777
msgid "On %1"
msgstr "Na %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:782
#: ../../plasmoid/contents/ui/TaskDelegate.qml:786
msgctxt "Which virtual desktop a window is currently on"
msgid "Available on all activities"
msgstr "Dostępne We Wszystkich Aktywnościach"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:801
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
msgctxt "Activities a window is currently on (apart from the current one)"
msgid "Also available on %1"
msgstr "Dostępne Także na %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
#: ../../plasmoid/contents/ui/TaskDelegate.qml:809
msgctxt "Which activities a window is currently on"
msgid "Available on %1"
msgstr "Dostępne na %1"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -308,21 +308,21 @@ msgstr ""
msgid "Close"
msgstr ""
#: ../../plasmoid/contents/ui/TaskDelegate.qml:773
#: ../../plasmoid/contents/ui/TaskDelegate.qml:777
msgid "On %1"
msgstr ""
#: ../../plasmoid/contents/ui/TaskDelegate.qml:782
#: ../../plasmoid/contents/ui/TaskDelegate.qml:786
msgctxt "Which virtual desktop a window is currently on"
msgid "Available on all activities"
msgstr ""
#: ../../plasmoid/contents/ui/TaskDelegate.qml:801
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
msgctxt "Activities a window is currently on (apart from the current one)"
msgid "Also available on %1"
msgstr ""
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
#: ../../plasmoid/contents/ui/TaskDelegate.qml:809
msgctxt "Which activities a window is currently on"
msgid "Available on %1"
msgstr ""

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: 2016-11-26 17:34+0800\n"
"Last-Translator: Jeff Huang <s8321414@gmail.com>\n"
"Language-Team: Chinese <kde-i18n-doc@kde.org>\n"
@ -311,21 +311,21 @@ msgstr "移除啟動器"
msgid "Close"
msgstr "關閉"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:773
#: ../../plasmoid/contents/ui/TaskDelegate.qml:777
msgid "On %1"
msgstr "於 %1"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:782
#: ../../plasmoid/contents/ui/TaskDelegate.qml:786
msgctxt "Which virtual desktop a window is currently on"
msgid "Available on all activities"
msgstr "所有活動都可使用"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:801
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
msgctxt "Activities a window is currently on (apart from the current one)"
msgid "Also available on %1"
msgstr "也可在 %1 上使用"
#: ../../plasmoid/contents/ui/TaskDelegate.qml:805
#: ../../plasmoid/contents/ui/TaskDelegate.qml:809
msgctxt "Which activities a window is currently on"
msgid "Available on %1"
msgstr "於 %1 上使用"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/psifidotos/latte-dock/\n"
"POT-Creation-Date: 2017-01-15 10:41+0200\n"
"POT-Creation-Date: 2017-01-28 20:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -32,10 +32,10 @@ import org.kde.latte 0.1 as Latte
PlasmaComponents.Page {
Layout.maximumWidth: content.width + content.Layout.leftMargin * 2
Layout.maximumHeight: content.height + units.smallSpacing * 2
Timer {
id: syncGeometry
running: false
repeat: false
interval: 400
@ -72,7 +72,7 @@ PlasmaComponents.Page {
minimumValue: 16
maximumValue: 128
stepSize: 8
function updateIconSize() {
if (!pressed) {
if (panelSizeSlider.value > value + units.smallSpacing)
@ -81,11 +81,11 @@ PlasmaComponents.Page {
syncGeometry.restart()
}
}
onPressedChanged: {
updateIconSize()
}
Component.onCompleted: {
valueChanged.connect(updateIconSize)
}
@ -134,11 +134,11 @@ PlasmaComponents.Page {
plasmoid.configuration.zoomLevel = result
}
}
onPressedChanged: {
updateZoomLevel()
}
Component.onCompleted: {
valueChanged.connect(updateZoomLevel)
}
@ -261,7 +261,7 @@ PlasmaComponents.Page {
onPressedChanged: {
updatePanelSize()
}
Component.onCompleted: {
valueChanged.connect(updatePanelSize)
}
@ -277,6 +277,58 @@ PlasmaComponents.Page {
}
//! END: Background
//! BEGIN: Max Length
ColumnLayout {
Layout.fillWidth: true
spacing: units.smallSpacing
Header {
text: i18n("Length")
}
RowLayout {
Layout.fillWidth: true
Layout.leftMargin: units.smallSpacing * 2
Layout.rightMargin: units.smallSpacing * 2
spacing: units.smallSpacing
PlasmaComponents.Slider {
Layout.fillWidth: true
id: maxLengthSlider
valueIndicatorText: i18n("Length")
valueIndicatorVisible: true
value: plasmoid.configuration.maxLength
minimumValue: 30
maximumValue: 100
stepSize: 5
function updateMaxLength() {
if (!pressed) {
plasmoid.configuration.maxLength = value;
}
}
onPressedChanged: {
updateMaxLength();
}
Component.onCompleted: {
valueChanged.connect(updateMaxLength)
}
}
PlasmaComponents.Label {
text: maxLengthSlider.value + "%"
horizontalAlignment: Text.AlignRight
Layout.minimumWidth: theme.mSize(theme.defaultFont).width * 4
}
}
}
//! END: Zoom On Hover
//! BEGIN: Shadows
Column {
Layout.fillWidth: true
@ -293,7 +345,7 @@ PlasmaComponents.Page {
width: units.smallSpacing / 2
}
PlasmaComponents.ButtonColumn {
PlasmaComponents.ButtonRow {
Layout.fillWidth: true
spacing: units.smallSpacing
@ -313,6 +365,8 @@ PlasmaComponents.Page {
readonly property int shadow: 0
}
PlasmaComponents.RadioButton {
Layout.fillWidth: true
text: i18n("Only for locked applets")
checked: parent.shadows === shadow

Loading…
Cancel
Save