diff --git a/autotests/test_builtin_effectloader.cpp b/autotests/test_builtin_effectloader.cpp --- a/autotests/test_builtin_effectloader.cpp +++ b/autotests/test_builtin_effectloader.cpp @@ -112,7 +112,6 @@ QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << true; QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << true; QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << true; - QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true; QTest::newRow("Touchpoints") << QStringLiteral("touchpoints") << true; QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true; QTest::newRow("WindowGeometry") << QStringLiteral("windowgeometry") << true; @@ -166,7 +165,6 @@ << QStringLiteral("slidingpopups") << QStringLiteral("snaphelper") << QStringLiteral("startupfeedback") - << QStringLiteral("thumbnailaside") << QStringLiteral("touchpoints") << QStringLiteral("trackmouse") << QStringLiteral("windowgeometry") @@ -245,7 +243,6 @@ QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << true << xc << true; QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << false << xc << true; QTest::newRow("StartupFeedback-GL") << QStringLiteral("startupfeedback") << true << oc << true; - QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true << xc << true; QTest::newRow("TouchPoints") << QStringLiteral("touchpoints") << true << xc << true; QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true << xc << true; QTest::newRow("WindowGeometry") << QStringLiteral("windowgeometry") << true << xc << true; @@ -332,7 +329,6 @@ QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << false << xc; // Tries to load shader and makes our test abort // QTest::newRow("StartupFeedback-GL") << QStringLiteral("startupfeedback") << true << oc; - QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true << xc; QTest::newRow("Touchpoints") << QStringLiteral("touchpoints") << true << xc; QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true << xc; // TODO: Accesses EffectFrame and crashes diff --git a/autotests/test_plugin_effectloader.cpp b/autotests/test_plugin_effectloader.cpp --- a/autotests/test_plugin_effectloader.cpp +++ b/autotests/test_plugin_effectloader.cpp @@ -103,7 +103,6 @@ QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << false; QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << false; QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << false; - QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << false; QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << false; QTest::newRow("WindowGeometry") << QStringLiteral("windowgeometry") << false; QTest::newRow("WobblyWindows") << QStringLiteral("wobblywindows") << false; diff --git a/autotests/test_scripted_effectloader.cpp b/autotests/test_scripted_effectloader.cpp --- a/autotests/test_scripted_effectloader.cpp +++ b/autotests/test_scripted_effectloader.cpp @@ -134,7 +134,6 @@ QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << false; QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << false; QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << false; - QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << false; QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << false; QTest::newRow("WindowGeometry") << QStringLiteral("windowgeometry") << false; QTest::newRow("WobblyWindows") << QStringLiteral("wobblywindows") << false; diff --git a/effects/CMakeLists.txt b/effects/CMakeLists.txt --- a/effects/CMakeLists.txt +++ b/effects/CMakeLists.txt @@ -93,7 +93,6 @@ showfps/showfps.cpp showpaint/showpaint.cpp slide/slide.cpp - thumbnailaside/thumbnailaside.cpp touchpoints/touchpoints.cpp trackmouse/trackmouse.cpp windowgeometry/windowgeometry.cpp @@ -123,7 +122,6 @@ showfps/showfpsconfig.kcfgc slide/slideconfig.kcfgc slidingpopups/slidingpopupsconfig.kcfgc - thumbnailaside/thumbnailasideconfig.kcfgc trackmouse/trackmouseconfig.kcfgc windowgeometry/windowgeometryconfig.kcfgc wobblywindows/wobblywindowsconfig.kcfgc @@ -165,7 +163,6 @@ add_subdirectory( slide ) include( slideback/CMakeLists.txt ) include( slidingpopups/CMakeLists.txt ) -add_subdirectory( thumbnailaside ) add_subdirectory( windowgeometry ) add_subdirectory( zoom ) diff --git a/effects/effect_builtins.h b/effects/effect_builtins.h --- a/effects/effect_builtins.h +++ b/effects/effect_builtins.h @@ -65,7 +65,6 @@ SlidingPopups, SnapHelper, StartupFeedback, - ThumbnailAside, TouchPoints, TrackMouse, WindowGeometry, diff --git a/effects/effect_builtins.cpp b/effects/effect_builtins.cpp --- a/effects/effect_builtins.cpp +++ b/effects/effect_builtins.cpp @@ -39,7 +39,6 @@ #include "showpaint/showpaint.h" #include "slide/slide.h" #include "slideback/slideback.h" -#include "thumbnailaside/thumbnailaside.h" #include "touchpoints/touchpoints.h" #include "windowgeometry/windowgeometry.h" #include "zoom/zoom.h" @@ -561,21 +560,6 @@ &StartupFeedbackEffect::supported, nullptr #endif -EFFECT_FALLBACK - }, { - QStringLiteral("thumbnailaside"), - i18ndc("kwin_effects", "Name of a KWin Effect", "Thumbnail Aside"), - i18ndc("kwin_effects", "Comment describing the KWin Effect", "Display window thumbnails on the edge of the screen"), - QStringLiteral("Appearance"), - QString(), - QUrl(), - false, - false, -#ifdef EFFECT_BUILTINS - &createHelper, - nullptr, - nullptr -#endif EFFECT_FALLBACK }, { QStringLiteral("touchpoints"), diff --git a/effects/thumbnailaside/CMakeLists.txt b/effects/thumbnailaside/CMakeLists.txt deleted file mode 100644 --- a/effects/thumbnailaside/CMakeLists.txt +++ /dev/null @@ -1,25 +0,0 @@ -####################################### -# Config -set(kwin_thumbnailaside_config_SRCS thumbnailaside_config.cpp) -ki18n_wrap_ui(kwin_thumbnailaside_config_SRCS thumbnailaside_config.ui) -qt5_add_dbus_interface(kwin_thumbnailaside_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface) -kconfig_add_kcfg_files(kwin_thumbnailaside_config_SRCS thumbnailasideconfig.kcfgc) - -add_library(kwin_thumbnailaside_config MODULE ${kwin_thumbnailaside_config_SRCS}) - -target_link_libraries(kwin_thumbnailaside_config - KF5::ConfigWidgets - KF5::GlobalAccel - KF5::I18n - KF5::Service - KF5::XmlGui -) - -kcoreaddons_desktop_to_json(kwin_thumbnailaside_config thumbnailaside_config.desktop SERVICE_TYPES kcmodule.desktop) - -install( - TARGETS - kwin_thumbnailaside_config - DESTINATION - ${PLUGIN_INSTALL_DIR}/kwin/effects/configs -) diff --git a/effects/thumbnailaside/thumbnailaside.h b/effects/thumbnailaside/thumbnailaside.h deleted file mode 100644 --- a/effects/thumbnailaside/thumbnailaside.h +++ /dev/null @@ -1,91 +0,0 @@ -/******************************************************************** - KWin - the KDE window manager - This file is part of the KDE project. - -Copyright (C) 2007 Lubos Lunak -Copyright (C) 2007 Christian Nitschkowski - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*********************************************************************/ - -/* - - Testing of painting a window more than once. - -*/ - -#ifndef KWIN_THUMBNAILASIDE_H -#define KWIN_THUMBNAILASIDE_H - -#include - -#include - -namespace KWin -{ - -class ThumbnailAsideEffect - : public Effect -{ - Q_OBJECT - Q_PROPERTY(int maxWidth READ configuredMaxWidth) - Q_PROPERTY(int spacing READ configuredSpacing) - Q_PROPERTY(qreal opacity READ configuredOpacity) - Q_PROPERTY(int screen READ configuredScreen) -public: - ThumbnailAsideEffect(); - virtual void reconfigure(ReconfigureFlags); - virtual void paintScreen(int mask, QRegion region, ScreenPaintData& data); - virtual void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data); - - // for properties - int configuredMaxWidth() const { - return maxwidth; - } - int configuredSpacing() const { - return spacing; - } - qreal configuredOpacity() const { - return opacity; - } - int configuredScreen() const { - return screen; - } -private Q_SLOTS: - void toggleCurrentThumbnail(); - void slotWindowClosed(KWin::EffectWindow *w); - void slotWindowGeometryShapeChanged(KWin::EffectWindow *w, const QRect &old); - void slotWindowDamaged(KWin::EffectWindow* w, const QRect& damage); - virtual bool isActive() const; - void repaintAll(); -private: - void addThumbnail(EffectWindow* w); - void removeThumbnail(EffectWindow* w); - void arrange(); - struct Data { - EffectWindow* window; // the same like the key in the hash (makes code simpler) - int index; - QRect rect; - }; - QHash< EffectWindow*, Data > windows; - int maxwidth; - int spacing; - double opacity; - int screen; - QRegion painted; -}; - -} // namespace - -#endif diff --git a/effects/thumbnailaside/thumbnailaside.cpp b/effects/thumbnailaside/thumbnailaside.cpp deleted file mode 100644 --- a/effects/thumbnailaside/thumbnailaside.cpp +++ /dev/null @@ -1,192 +0,0 @@ -/******************************************************************** - KWin - the KDE window manager - This file is part of the KDE project. - -Copyright (C) 2007 Lubos Lunak -Copyright (C) 2007 Christian Nitschkowski - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*********************************************************************/ - -#include "thumbnailaside.h" -// KConfigSkeleton -#include "thumbnailasideconfig.h" - -#include -#include -#include - -namespace KWin -{ - -ThumbnailAsideEffect::ThumbnailAsideEffect() -{ - initConfig(); - QAction* a = new QAction(this); - a->setObjectName(QStringLiteral("ToggleCurrentThumbnail")); - a->setText(i18n("Toggle Thumbnail for Current Window")); - KGlobalAccel::self()->setDefaultShortcut(a, QList() << Qt::META + Qt::CTRL + Qt::Key_T); - KGlobalAccel::self()->setShortcut(a, QList() << Qt::META + Qt::CTRL + Qt::Key_T); - effects->registerGlobalShortcut(Qt::META + Qt::CTRL + Qt::Key_T, a); - connect(a, &QAction::triggered, this, &ThumbnailAsideEffect::toggleCurrentThumbnail); - - connect(effects, &EffectsHandler::windowClosed, this, &ThumbnailAsideEffect::slotWindowClosed); - connect(effects, &EffectsHandler::windowGeometryShapeChanged, this, &ThumbnailAsideEffect::slotWindowGeometryShapeChanged); - connect(effects, &EffectsHandler::windowDamaged, this, &ThumbnailAsideEffect::slotWindowDamaged); - connect(effects, &EffectsHandler::screenLockingChanged, this, &ThumbnailAsideEffect::repaintAll); - reconfigure(ReconfigureAll); -} - -void ThumbnailAsideEffect::reconfigure(ReconfigureFlags) -{ - ThumbnailAsideConfig::self()->read(); - maxwidth = ThumbnailAsideConfig::maxWidth(); - spacing = ThumbnailAsideConfig::spacing(); - opacity = ThumbnailAsideConfig::opacity()/100.0; - screen = ThumbnailAsideConfig::screen(); // Xinerama screen TODO add gui option - arrange(); -} - -void ThumbnailAsideEffect::paintScreen(int mask, QRegion region, ScreenPaintData& data) -{ - painted = QRegion(); - effects->paintScreen(mask, region, data); - foreach (const Data & d, windows) { - if (painted.intersects(d.rect)) { - WindowPaintData data(d.window); - data.multiplyOpacity(opacity); - QRect region; - setPositionTransformations(data, region, d.window, d.rect, Qt::KeepAspectRatio); - effects->drawWindow(d.window, PAINT_WINDOW_OPAQUE | PAINT_WINDOW_TRANSLUCENT | PAINT_WINDOW_TRANSFORMED | PAINT_WINDOW_LANCZOS, - region, data); - } - } -} - -void ThumbnailAsideEffect::paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) -{ - effects->paintWindow(w, mask, region, data); - painted |= region; -} - -void ThumbnailAsideEffect::slotWindowDamaged(EffectWindow* w, const QRect&) -{ - foreach (const Data & d, windows) { - if (d.window == w) - effects->addRepaint(d.rect); - } -} - -void ThumbnailAsideEffect::slotWindowGeometryShapeChanged(EffectWindow* w, const QRect& old) -{ - foreach (const Data & d, windows) { - if (d.window == w) { - if (w->size() == old.size()) - effects->addRepaint(d.rect); - else - arrange(); - return; - } - } -} - -void ThumbnailAsideEffect::slotWindowClosed(EffectWindow* w) -{ - removeThumbnail(w); -} - -void ThumbnailAsideEffect::toggleCurrentThumbnail() -{ - EffectWindow* active = effects->activeWindow(); - if (active == NULL) - return; - if (windows.contains(active)) - removeThumbnail(active); - else - addThumbnail(active); -} - -void ThumbnailAsideEffect::addThumbnail(EffectWindow* w) -{ - repaintAll(); // repaint old areas - Data d; - d.window = w; - d.index = windows.count(); - windows[ w ] = d; - arrange(); -} - -void ThumbnailAsideEffect::removeThumbnail(EffectWindow* w) -{ - if (!windows.contains(w)) - return; - repaintAll(); // repaint old areas - int index = windows[ w ].index; - windows.remove(w); - for (QHash< EffectWindow*, Data >::Iterator it = windows.begin(); - it != windows.end(); - ++it) { - Data& d = *it; - if (d.index > index) - --d.index; - } - arrange(); -} - -void ThumbnailAsideEffect::arrange() -{ - if (windows.size() == 0) - return; - int height = 0; - QVector< int > pos(windows.size()); - int mwidth = 0; - foreach (const Data & d, windows) { - height += d.window->height(); - mwidth = qMax(mwidth, d.window->width()); - pos[ d.index ] = d.window->height(); - } - QRect area = effects->clientArea(MaximizeArea, screen, effects->currentDesktop()); - double scale = area.height() / double(height); - scale = qMin(scale, maxwidth / double(mwidth)); // don't be wider than maxwidth pixels - int add = 0; - for (int i = 0; - i < windows.size(); - ++i) { - pos[ i ] = int(pos[ i ] * scale); - pos[ i ] += spacing + add; // compute offset of each item - add = pos[ i ]; - } - for (QHash< EffectWindow*, Data >::Iterator it = windows.begin(); - it != windows.end(); - ++it) { - Data& d = *it; - int width = int(d.window->width() * scale); - d.rect = QRect(area.right() - width, area.bottom() - pos[ d.index ], width, int(d.window->height() * scale)); - } - repaintAll(); -} - -void ThumbnailAsideEffect::repaintAll() -{ - foreach (const Data & d, windows) - effects->addRepaint(d.rect); -} - -bool ThumbnailAsideEffect::isActive() const -{ - return !windows.isEmpty() && !effects->isScreenLocked(); -} - -} // namespace - diff --git a/effects/thumbnailaside/thumbnailaside.kcfg b/effects/thumbnailaside/thumbnailaside.kcfg deleted file mode 100644 --- a/effects/thumbnailaside/thumbnailaside.kcfg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - 200 - - - 10 - - - 50 - - - -1 - - - diff --git a/effects/thumbnailaside/thumbnailaside_config.h b/effects/thumbnailaside/thumbnailaside_config.h deleted file mode 100644 --- a/effects/thumbnailaside/thumbnailaside_config.h +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************** - KWin - the KDE window manager - This file is part of the KDE project. - -Copyright (C) 2007 Christian Nitschkowski - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*********************************************************************/ - -#ifndef KWIN_THUMBNAILASIDE_CONFIG_H -#define KWIN_THUMBNAILASIDE_CONFIG_H - -#include - -#include "ui_thumbnailaside_config.h" - -class KActionCollection; - -namespace KWin -{ - -class ThumbnailAsideEffectConfigForm : public QWidget, public Ui::ThumbnailAsideEffectConfigForm -{ - Q_OBJECT -public: - explicit ThumbnailAsideEffectConfigForm(QWidget* parent); -}; - -class ThumbnailAsideEffectConfig : public KCModule -{ - Q_OBJECT -public: - explicit ThumbnailAsideEffectConfig(QWidget* parent = 0, const QVariantList& args = QVariantList()); - virtual ~ThumbnailAsideEffectConfig(); - - virtual void save(); - -private: - ThumbnailAsideEffectConfigForm* m_ui; - KActionCollection* m_actionCollection; -}; - -} // namespace - -#endif diff --git a/effects/thumbnailaside/thumbnailaside_config.cpp b/effects/thumbnailaside/thumbnailaside_config.cpp deleted file mode 100644 --- a/effects/thumbnailaside/thumbnailaside_config.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/******************************************************************** - KWin - the KDE window manager - This file is part of the KDE project. - -Copyright (C) 2007 Christian Nitschkowski - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*********************************************************************/ - -#include "thumbnailaside_config.h" -// KConfigSkeleton -#include "thumbnailasideconfig.h" -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -#include -#include - -K_PLUGIN_FACTORY_WITH_JSON(ThumbnailAsideEffectConfigFactory, - "thumbnailaside_config.json", - registerPlugin();) - -namespace KWin -{ - -ThumbnailAsideEffectConfigForm::ThumbnailAsideEffectConfigForm(QWidget* parent) : QWidget(parent) -{ - setupUi(this); -} - -ThumbnailAsideEffectConfig::ThumbnailAsideEffectConfig(QWidget* parent, const QVariantList& args) : - KCModule(KAboutData::pluginData(QStringLiteral("thumbnailaside")), parent, args) -{ - m_ui = new ThumbnailAsideEffectConfigForm(this); - - QVBoxLayout* layout = new QVBoxLayout(this); - - layout->addWidget(m_ui); - - connect(m_ui->editor, &KShortcutsEditor::keyChange, this, qOverload<>(&ThumbnailAsideEffectConfig::changed)); - - ThumbnailAsideConfig::instance(KWIN_CONFIG); - addConfig(ThumbnailAsideConfig::self(), this); - - // Shortcut config. The shortcut belongs to the component "kwin"! - m_actionCollection = new KActionCollection(this, QStringLiteral("kwin")); - - m_actionCollection->setComponentDisplayName(i18n("KWin")); - m_actionCollection->setConfigGroup(QStringLiteral("ThumbnailAside")); - m_actionCollection->setConfigGlobal(true); - - QAction* a = m_actionCollection->addAction(QStringLiteral("ToggleCurrentThumbnail")); - a->setText(i18n("Toggle Thumbnail for Current Window")); - a->setProperty("isConfigurationAction", true); - KGlobalAccel::self()->setDefaultShortcut(a, QList() << Qt::META + Qt::CTRL + Qt::Key_T); - KGlobalAccel::self()->setShortcut(a, QList() << Qt::META + Qt::CTRL + Qt::Key_T); - - m_ui->editor->addCollection(m_actionCollection); - - load(); -} - -ThumbnailAsideEffectConfig::~ThumbnailAsideEffectConfig() -{ - // Undo (only) unsaved changes to global key shortcuts - m_ui->editor->undoChanges(); -} - -void ThumbnailAsideEffectConfig::save() -{ - KCModule::save(); - m_ui->editor->save(); - OrgKdeKwinEffectsInterface interface(QStringLiteral("org.kde.KWin"), - QStringLiteral("/Effects"), - QDBusConnection::sessionBus()); - interface.reconfigureEffect(QStringLiteral("thumbnailaside")); -} - -} // namespace - -#include "thumbnailaside_config.moc" diff --git a/effects/thumbnailaside/thumbnailaside_config.desktop b/effects/thumbnailaside/thumbnailaside_config.desktop deleted file mode 100644 --- a/effects/thumbnailaside/thumbnailaside_config.desktop +++ /dev/null @@ -1,83 +0,0 @@ -[Desktop Entry] -Type=Service -X-KDE-ServiceTypes=KCModule - -X-KDE-Library=kwin_thumbnailaside_config -X-KDE-ParentComponents=thumbnailaside - -Name=Thumbnail Aside -Name[af]=Duimnael langsaan -Name[ar]=مصغرات على الجانب -Name[be@latin]=Padhlady akon -Name[bg]=Странични миниатюри -Name[bs]=Sličica postrance -Name[ca]=Miniatures de costat -Name[ca@valencia]=Miniatures de costat -Name[cs]=Postranní miniatura -Name[csb]=Miniaturka Aside -Name[da]=Væk med miniature -Name[de]=Seitliche Vorschaubilder -Name[el]=Εικόνα επισκόπησης στο πλάι -Name[en_GB]=Thumbnail Aside -Name[eo]=Miniaturojn flanke -Name[es]=Miniaturas laterales -Name[et]=Pisipildid kõrval -Name[eu]=Koadro txikiak alboan -Name[fi]=Esikatselukuva vieressä -Name[fr]=Vignettes sur le côté -Name[fy]=Miniatuer der neist -Name[ga]=Thumbnail Aside -Name[gl]=Miniatura a un lado -Name[gu]=થમ્બનીલ બાજુમાં -Name[he]=תמונות ממוזערות בצד -Name[hi]=लघुछवि बाजू में -Name[hne]=चिनहा बाजू में -Name[hr]=Pokrajnja sličica -Name[hu]=Ablakbetekintő oldalt -Name[ia]=Miniatura a parte -Name[id]=Thumbnail Aside -Name[is]=Smámynd til hliðar -Name[it]=Miniature a fianco -Name[ja]=サムネイルをわきに表示 -Name[kk]=Нобайды шеттеу -Name[km]=រូបភាព​តូចនៅ​ខាង -Name[kn]=ಸೂಚ್ಯಚಿತ್ರ ಬದಿಯಲ್ಲಿ -Name[ko]=미리 보기 그림 -Name[lt]=Miniatiūros pakrašty -Name[lv]=Sīktēli malā -Name[mai]=लघुछवि बाजू मे -Name[mk]=Сликички на работ -Name[ml]=അടുത്തുള്ള നഖചിത്രം -Name[mr]=लघुप्रतिमा बाजूला करा -Name[nb]=Minibilde til side -Name[nds]=Vöransicht kantsiets -Name[ne]=थम्बनेल अलग गर्नुहोस् -Name[nl]=Miniatuur ernaast -Name[nn]=Miniatyrbilete ved skjermkanten -Name[pa]=ਥੰਮਨੇਲ ਏ-ਸਾਇਡ -Name[pl]=Miniatura z boku -Name[pt]=Miniaturas Lado-a-Lado -Name[pt_BR]=Miniatura de lado -Name[ro]=Miniatură lateral -Name[ru]=Показать миниатюру окна с краю экрана -Name[se]=Minigovva bálddas -Name[si]=පසෙකින් කුඩා රුවක් -Name[sk]=Bočný náhľad -Name[sl]=Sličica ob strani -Name[sr]=Сличица постранце -Name[sr@ijekavian]=Сличица постранце -Name[sr@ijekavianlatin]=Sličica postrance -Name[sr@latin]=Sličica postrance -Name[sv]=Miniatyrbild vid sidan om -Name[ta]=சுட்டி பக்கத்தில் -Name[te]=థంబ్‌నెయిల్ ఎసైడ్ -Name[tg]=Миниатюры сбоку -Name[th]=ภาพตัวอย่างแบบย่อตามด้าน -Name[tr]=Yan Küçük Resimcik -Name[ug]=كىچىك سۈرەت يانى -Name[uk]=Мініатюри збоку -Name[vi]=Hình nhỏ ra bên -Name[wa]=Prévoeyaedje a costé -Name[x-test]=xxThumbnail Asidexx -Name[zh_CN]=缩略图置边 -Name[zh_TW]=縮圖在旁邊 diff --git a/effects/thumbnailaside/thumbnailaside_config.ui b/effects/thumbnailaside/thumbnailaside_config.ui deleted file mode 100644 --- a/effects/thumbnailaside/thumbnailaside_config.ui +++ /dev/null @@ -1,138 +0,0 @@ - - - KWin::ThumbnailAsideEffectConfigForm - - - - 0 - 0 - 400 - 300 - - - - - - - Appearance - - - - - - Maximum &width: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - kcfg_MaxWidth - - - - - - - &Spacing: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - kcfg_Spacing - - - - - - - - 0 - 0 - - - - pixels - - - 30 - - - 10 - - - - - - - &Opacity: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - kcfg_Opacity - - - - - - - - 0 - 0 - - - - % - - - 100 - - - 50 - - - - - - - - 0 - 0 - - - - pixels - - - 9999 - - - 200 - - - - - - - - - - KShortcutsEditor::GlobalAction - - - - - - - - KShortcutsEditor - QWidget -
KShortcutsEditor
- 1 -
-
- - -
diff --git a/effects/thumbnailaside/thumbnailasideconfig.kcfgc b/effects/thumbnailaside/thumbnailasideconfig.kcfgc deleted file mode 100644 --- a/effects/thumbnailaside/thumbnailasideconfig.kcfgc +++ /dev/null @@ -1,5 +0,0 @@ -File=thumbnailaside.kcfg -ClassName=ThumbnailAsideConfig -NameSpace=KWin -Singleton=true -Mutators=true