Commit Graph

101 Commits (79936a662dd1f5b9a89c20aaf99a9aae7ad74a1f)

Author SHA1 Message Date
Michail Vourlakos a7ecd549b0 drop dataAreAccepted in settings window
--this is not needed any more, data should
always be valid
5 years ago
Michail Vourlakos 880ed9638e introduce proxy model for layouts in settings 5 years ago
Michail Vourlakos 00f4e4cd22 fix crash from layouts reset functionality 5 years ago
Michail Vourlakos 93a8ae3ff2 improvements for Layouts Editor 5 years ago
Michail Vourlakos abc4ca4308 layouts settings tab improvements 5 years ago
Michail Vourlakos 8be38bf7dc apply current names after layouts saving 5 years ago
Michail Vourlakos 671f413a3e introduce Reset button 5 years ago
Michail Vourlakos 7acde8be5d update SharedTo column visibility properly 5 years ago
Michail Vourlakos 7dbfb1184b settings window improvements 5 years ago
Michail Vourlakos 3122103f6c save column widths properly in settings window 5 years ago
Michail Vourlakos 1e855f2472 dont crash when saving a new layout 5 years ago
Michail Vourlakos d418abbeb4 remove deprecated code from settings dialog 5 years ago
Michail Vourlakos 45e3531ad3 move logic out of settings dialog
--layouts controller in settings window
should take ownership for all logic
related to layouts model/view
5 years ago
Michail Vourlakos 01bb785999 rename editedName to currentName for layout data
--improve semantics for layout data in settings
window
5 years ago
Michail Vourlakos 4437472fa9 simplify shares map create/sync in settings window 5 years ago
Michail Vourlakos 4de91c535c remove deprecated code 5 years ago
Michail Vourlakos e29b5a3e38 update layout removing in settings window 5 years ago
Michail Vourlakos 264b2b7568 remove deprecated settings window functions 5 years ago
Michail Vourlakos c6e8f6f032 introduce layouts controller for MVC approach
--the new controller will take all functionality
from Layouts model that is currently found in settings
window and that way the settings window will be
simplified and is going to be responsible only for
the UI elements of the window and NOT the QTableView
internals
5 years ago
Michail Vourlakos aa4a6061cd improve semantics for settings 5 years ago
Michail Vourlakos c39a50f253 rename colorscmb to backgroundcmb
--improve delegate name
5 years ago
Michail Vourlakos 5f3007ed93 simplify colors combobox in layouts editor 5 years ago
Michail Vourlakos 46e44606bc update editor shared delegate to new model 5 years ago
Michail Vourlakos 44c1abcf73 update settings activities delegate
--drop totally deprecated activities delegate
code
5 years ago
Michail Vourlakos d4ed1aa609 update settings Activites delegate 5 years ago
Michail Vourlakos 6e66907957 update settings Layout name delegate 5 years ago
Michail Vourlakos a9bc5aa19f introduce original/edited Named in layout data 5 years ago
Michail Vourlakos 4428d4b083 support setData function for layouts model
--initial support for this
5 years ago
Michail Vourlakos bab5564d0a remove deprecated settings window code 5 years ago
Michail Vourlakos b55447764a update layouts checkdelegates for new model 5 years ago
Michail Vourlakos 401a56a8a4 support loading in the new model 5 years ago
Michail Vourlakos 5e75b889e0 introduce initial LayoutsModel 5 years ago
Michail Vourlakos f81d535468 drop old originalLayoutNames list 5 years ago
Michail Vourlakos 09c599a2d7 update how layouts settings are stored in editor 5 years ago
Michail Vourlakos 1ee24adbbd update "FreeActivities" during apply 5 years ago
Michail Vourlakos fca4db5962 support font style for FreeActivities record 5 years ago
Michail Vourlakos 5f7bcf565d remove old code for activities in settings window
--remove relevant deprecated code that is not needed
in the new implementation
5 years ago
Michail Vourlakos 43de9b509b update activities combobox implementation
--the new implementation will provide all Activites
and everything else will be updated automatically
--also a default option is introduced which describes
which layout will be used for the free layouts and
the user will be able to alter this easily
5 years ago
Michail Vourlakos 38d7ec5c2e prevent user from switching to shared layouts 5 years ago
Michail Vourlakos 5464018135 fix crashes and update share ids runtime in model 5 years ago
Michail Vourlakos ab09e56d56 dont close settings dialog with Enter key 5 years ago
Michail Vourlakos 57d1bf1f43 add quit application to contextmenu actions
--easier way for some to quit Latte by just
right clicking on the docks/panels

BUG:417486
5 years ago
Michail Vourlakos fdf798b49f add KDE official Help menu
--in that way Latte gains easily language
switching from user
--exposure of how/where to report bugs
5 years ago
Tranter Madi fe5dbf9f2b Improve context menu
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)

Menu Items Order:

   a.  -separator-
   b. Layouts->
   c. Configure Application...
   e.  -separator-
   f. Add Widgets...
   g. Edit Dock...
   h.  -separator- [only for Tasks plasmoid]
   i.  Close... [only for Tasks plasmoid]

BUG: 415584

Test Plan:
Before:
{F7844554}

After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}

Reviewers: #latte_dock, #vdg, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: ngraham, ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26238
5 years ago
Michail Vourlakos 1a49238d57 track kwinrc file only on changes
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed

BUG:411657
FIXED-IN:0.9.3
5 years ago
Björn Feber c264a0a9e3 [latte-dock] Use new activities icon
Summary:
Use the new icon added in D22155.
{F6948355}

Test Plan: Open the Latte layout settings.

Reviewers: #plasma, #vdg, mvourlakos, ndavis

Reviewed By: #vdg, mvourlakos, ndavis

Subscribers: #vdg, plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22170
5 years ago
Michail Vourlakos 10939d410c Views Report Information for inactive layouts 6 years ago
Michail Vourlakos 3412b13148 present Views data for Active layout 6 years ago
Michail Vourlakos 7954a3ac39 improve Screens Report
--the new report identifies for all your layouts
when a screen has not been assigned any docks/panels.
That can help user to clean up the ScreensConnectors
if wants to
6 years ago
Michail Vourlakos dcfcc1b442 show screens information through Settings menu 6 years ago