Commit Graph

55 Commits (f7b8bd6619ff8c07acd18570afdd3546634e7763)

Author SHA1 Message Date
Michail Vourlakos f7b8bd6619 introduce the TabLayoutsHandler 5 years ago
Michail Vourlakos f954999b12 drag n' drop layout files in layouts editor 5 years ago
Michail Vourlakos 252ebcaa19 refactor preferences settings handling
--we introduce handlers that are going to be
responsible for the ui parts of settings windows.
So having data structures, MVC for models/tables that
are used and Handlers for any ui interaction
simplify the implementation and make it more
structured in order to be maintained and grow
safely.
5 years ago
Michail Vourlakos 11798211a9 multiple fixes for imports/exports
--import/export full configurations are now
moved to File menu and move out their
implementation from Import/Export layouts
5 years ago
Michail Vourlakos 652cbb0041 add layout actions to Layout menu
--improve vastly how actions in the layout menu
and Layout push buttons use the same code and
shortcuts in order to work correctly
5 years ago
Michail Vourlakos e9ec4ea266 add shortcuts for layouts editor 5 years ago
Michail Vourlakos 7a11aa93c0 improve settings window Esc key handling 5 years ago
Michail Vourlakos 5323e7832c internal messages intervals 5 years ago
Michail Vourlakos 6e09bb5601 drop KNotifications from settings window
--introduce a new dependency for KIO, it works
really nice in order to open files in filemanager
and selecting them
5 years ago
Michail Vourlakos 01bab50d67 add more inline message for adding layouts 5 years ago
Michail Vourlakos 3e3b455a53 introduce kmessagewidget in settings window
--use the nicely look kmessagewidget in order to
show inline internal messages to the user
5 years ago
Michail Vourlakos ba94546cb4 multiple fixes for single layout case 5 years ago
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 671f413a3e introduce Reset button 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 4437472fa9 simplify shares map create/sync in settings window 5 years ago
Michail Vourlakos 4de91c535c remove deprecated code 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 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 bab5564d0a remove deprecated settings window code 5 years ago
Michail Vourlakos 401a56a8a4 support loading in the new model 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 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 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 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 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 714b41ec2f add new menu options and edit layout file action 6 years ago
Michail Vourlakos f89b110a36 drop Meta+E that is used from Dolphin 6 years ago
Michail Vourlakos bea8247b84 refactor:move syncActiveShares to Synchronizer 6 years ago
Michail Vourlakos 46bf0c1229 update activities/shares from cell QMenu(s) 6 years ago
Michail Vourlakos d307ac626b update UI elements in LayoutsEditor when needed
--toggling between Single/Multiple mode now shows/hides
all the SharedLayouts ui elements accordingly
6 years ago
Michail Vourlakos 08ef9c10b9 add the Shared button behavior 6 years ago
Michail Vourlakos e7568c8478 NO/ASSIGN active Shares to active Centrals 6 years ago
Michail Vourlakos 715e8b58c1 sharedtocolumn use only #settingid for layouts
--this way we can keep track of layout names changes
and work flawlessly in updating Shares names etc.
6 years ago
Michail Vourlakos 14d7079198 improve disabled cells layout for shareds 6 years ago
Michail Vourlakos cff6436a74 add shared icon for layouts to be identified 6 years ago
Michail Vourlakos 4c0a3f5523 update shared layouts cell states
--enable/disable shared layouts cells
accordingly
6 years ago
Michail Vourlakos d813a15b57 publish Shared to relevant ComboBox 6 years ago
Michail Vourlakos c27de681d1 LayoutsEditor:load shares for SharedLayouts 6 years ago
Michail Vourlakos 1f14405e63 REFACTOR: rename Active TO -> CENTRALLAYOUT 6 years ago