1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-10 21:18:19 +03:00
Commit Graph

2607 Commits

Author SHA1 Message Date
Alexander Lohnau
505379ed04 Use spdx syntax for all files 2021-05-27 15:01:00 +00:00
Michail Vourlakos
4e2c6da514 activate dragged window before moving
BUG:437679
2021-05-26 18:43:08 +03:00
Michail Vourlakos
af32f8ebd1 settingsidialog:make errors icons smaller 2021-05-25 22:49:34 +03:00
Michail Vourlakos
a03dca9d02 fix export layout template for active layouts
--newly created docks and panels in active layouts
must first be synced into their original file before
being exported
2021-05-23 20:41:09 +03:00
Michail Vourlakos
4017eb599c viewsdialog:show active screens in bold 2021-05-23 19:59:32 +03:00
Michail Vourlakos
ef383e8162 respect icon size for layout:menuitem-icon
BUG:437525
2021-05-23 09:14:07 +03:00
Ömer Fadıl Usta
03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 2021-05-22 13:45:10 +00:00
Michail Vourlakos
21b187b94c sort layouts in context menu based on their names 2021-05-22 14:10:39 +03:00
Ömer Fadıl Usta
e8cc5603ac Portaway from obsolete qsort
qstringlist's own sort method uses std::sort
void QtPrivate::QStringList_sort(QStringList *that, Qt::CaseSensitivity cs)
{
    if (cs == Qt::CaseSensitive)
        std::sort(that->begin(), that->end());
    else
        std::sort(that->begin(), that->end(), CaseInsensitiveLessThan());
}
2021-05-21 17:54:43 +00:00
Michail Vourlakos
7f994dfa7e reset view::positioner::slideoffset for Dock case
--when the View is changing from Panel to Dock mode,
panel slideoffset should update also
2021-05-21 17:28:08 +03:00
Michail Vourlakos
a001eab39c provide isSidebar flag for view::visibility 2021-05-21 17:28:08 +03:00
Michail Vourlakos
f2dda7347c set input mask properly for hidden sidebars
--do not enable any input mask for hidden sidebars
2021-05-21 17:28:08 +03:00
Michail Vourlakos
01e60e0aab update layout viewsScreens function
--use Layout::views() function to implement this
2021-05-21 17:28:08 +03:00
Michail Vourlakos
40496ca32f screensdialog:provide initial ui 2021-05-21 17:28:08 +03:00
Michail Vourlakos
e241a79385 improve layouts menu items spacing 2021-05-16 22:23:57 +03:00
Michail Vourlakos
2fc50d255a provide thick,length margins for layout icon 2021-05-16 09:13:06 +03:00
Michail Vourlakos
88f72bcc3b contextmenu:draw layout icons
--change also layout actions to radiobuttons
2021-05-15 15:59:52 +03:00
Michail Vourlakos
4371067275 viewdialog:support reverse radiobuttons 2021-05-15 15:59:52 +03:00
Michail Vourlakos
8e9de84e01 contextmenu:expose layouts icon data 2021-05-15 15:59:52 +03:00
Michail Vourlakos
cbd8d5d88c layoutsmanager:take responsibility for layout icons 2021-05-15 15:59:52 +03:00
Michail Vourlakos
517b423bc6 settingsdialog:do not override layout icons
--in multiple layouts mode in the past the activities
icons could be used in order to identify layouts in
settings dialog. This is now dropped and only the
layout icon and background are used.
2021-05-15 15:59:52 +03:00
Michail Vourlakos
b846933e8e dialogs:provide same codepath to draw layout icons 2021-05-15 15:59:52 +03:00
Michail Vourlakos
076deece2f simplify drawLayoutIcon function 2021-05-15 15:59:52 +03:00
Michail Vourlakos
53a44fbb40 settingsidalogs:simplify background drawing
--background drawing for subitems of information
can be one for all and there is no needed for it
to be at per subitem
2021-05-15 15:59:52 +03:00
Michail Vourlakos
de1844a487 viewsdialog:radio buttons for single option menu 2021-05-15 15:59:52 +03:00
Andreas Sturmlechner
53aad2f979 Port away from deprecated API (NET::StaysOnTop -> NET::KeepAbove)
Deprecated since 5.0.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2021-05-14 23:13:51 +00:00
Michail Vourlakos
76549a9f99 shortcuts:wait for view to fully shown properly
--the new approach is not using timers but actual
events from View in order to identify when the
view is fully shown and when their popup is actual
visible. This way popup showing and view slide-in
is always synchronized properly

BUG:425078
2021-05-13 20:09:05 +03:00
Michail Vourlakos
8028efaa6c expose isShownFully to ViewPart::Visibility 2021-05-13 19:14:33 +03:00
Michail Vourlakos
e9c5ca5c75 import layout:load data from CentralLayout::data() 2021-05-10 22:59:46 +03:00
Michail Vourlakos
bc475da115 fixes for plural translation strings 2021-05-08 19:26:48 +03:00
Michail Vourlakos
c74b60c7da subcontainments considered Expandable 2021-05-08 19:23:06 +03:00
Albert Astals Cid
4571c255ed Fix i18np call
The first argument is the one that decides whether the first form or the
second form will be used, so needs to be a number, second argument gets
substituted onto the %2

Using join() of a string list of 1 just gives you the string
2021-05-08 12:59:01 +00:00
Michail Vourlakos
156103af4f drop outline width exposure through gui 2021-05-08 14:55:19 +03:00
Michail Vourlakos
597ee4af5f respect always appletIsExpandable flag
--this way applets that during start were
expandable and now they are not, they do
not trigger expanded codepaths
2021-05-08 14:48:10 +03:00
Michail Vourlakos
254db96f5e setingsdialog:delete dialogs on close 2021-05-08 11:41:16 +03:00
Michail Vourlakos
274ad37685 viewsdialog:support export as template action 2021-05-08 11:41:16 +03:00
Michail Vourlakos
5484fca9a2 viewdialog:support export for backup 2021-05-08 11:41:16 +03:00
Michail Vourlakos
4f0830eb8a fix orphanesubs warning for active layouts 2021-05-05 23:00:28 +03:00
Michail Vourlakos
321a6ba512 protect from plural translations crashes 2021-05-05 13:51:46 +03:00
Yuri Chornoivan
837a428eed Fix minor typos 2021-05-05 08:54:18 +03:00
Michail Vourlakos
7fa05eaea3 fix plural for translated strings 2021-05-04 10:40:31 +03:00
Michail Vourlakos
ed3352b807 fix translation strings parameters counting 2021-05-04 10:28:51 +03:00
Michail Vourlakos
50b31f9ec2 update availScreenGeom properly when view removed 2021-05-04 10:13:24 +03:00
Michail Vourlakos
ce62b31901 drop .arg() from translation strings 2021-05-04 09:19:20 +03:00
Michail Vourlakos
d84c5152b3 support multiple sidebars triggering
--and also at the same time support specific
sidebars based on their names
2021-05-03 23:49:39 +03:00
Michail Vourlakos
16b83772e3 fixes for Sidebars hiding/showing behavior 2021-05-03 23:24:23 +03:00
Michail Vourlakos
c02b5ab6b7 settingsdialog:simplify import layout messages 2021-05-03 20:05:13 +03:00
Michail Vourlakos
5e9c838239 viewsdialog:support import function 2021-05-03 19:54:01 +03:00
Michail Vourlakos
ea13a6dee5 fix i18ncp translation calls 2021-05-03 10:43:44 +03:00
Michail Vourlakos
ff180c6d62 fix compilation from no needed brackets 2021-05-03 10:32:34 +03:00