Commit Graph

371 Commits (d61d074f970f6648e14ae759a39958310bf6d3cc)

Author SHA1 Message Date
Michail Vourlakos 8448f36ed9 check layout valid activities 4 years ago
Michail Vourlakos a83d26a35b multiple:make switch funtion work properly
--when the user requests a specific layout in Multiple
Layout mode the new approach is the following. If
the layout has assigned activities this is respected
but if its activities are empty that layout is assigned
only on the current activity and any other layouts assigned
explicitly to that activity are released
4 years ago
Michail Vourlakos 5101a1314e fix switch button for single layout mode 5 years ago
Michail Vourlakos 9428027aff provide universalsettings upgrade path for v0.10 5 years ago
Michail Vourlakos 41c2e2b033 refactor:improve Synchronizer:swithToLayout
--the new approach is much clearer and easy to
read that the deprecated one
5 years ago
Michail Vourlakos 95486a1296 syncing on settings startup is needed no more 5 years ago
Michail Vourlakos d8f1f7e4b9 refactor:settings layouts controller
--the controller does not need to host its own
CentralLayouts any more. It retrieves original
data for Synchronizer, updates layouts accordingly
and sends back to Synchronizer all the updated
layouts data
5 years ago
Michail Vourlakos d5e83280d2 refactor:simplify layout data access 5 years ago
Michail Vourlakos dfbf83b4a1 activities menu:provide CurrentActivity option 5 years ago
Michail Vourlakos 13708ddf4a support singleModeLayoutName property in settings
--single mode has now its own unique property to hold
the layout to be used in single mode
5 years ago
Michail Vourlakos bc87d53e83 updates for layouts model single mode 5 years ago
Michail Vourlakos 7393ac02eb drop currentLayoutName as signal from synchronizer 5 years ago
Michail Vourlakos a9774ff13f update Switch button in Layouts table 5 years ago
Michail Vourlakos f31c698330 expose sortByColumn for layouts mode 5 years ago
Michail Vourlakos 4d7e1dca83 update layouts table to support new approach 5 years ago
Michail Vourlakos 0ee31eead6 update kwin disabled borders infrastructure 5 years ago
Michail Vourlakos c7d163fdb6 plenty of fixes for multiple layouts 5 years ago
Michail Vourlakos 588349e91c update text for Layout Read-Only 5 years ago
Michail Vourlakos 2e120f9446 make Multiple mode work correctly 5 years ago
Michail Vourlakos caf9bf7b78 REFACTOR:Drop Shared Layouts infrastructure
--Move in a simpler layouts approach.
--Single Layout mode loads ONLY ONE Layout for ALL Activities
--Multiple Layouts mode loads any combination of Layouts based
on the following settings:
  -- OnAllActivities
  -- ForFreeActivities
  -- SpecificActivities
5 years ago
Michail Vourlakos 0e0e8fe5be provide two different export actions for layouts
--Export For Backup, exports a layout with its entire
configuration for ALL applets
--Export As Template, exports a layout after the user
has chosen which applets should keep their settings
and personal data. By default Latte Tasks plasmoid
is going to propose to keep its data because no
personal data are kept in it
5 years ago
Michail Vourlakos fd47976c1a provide margins for drop down menu buttons 5 years ago
Michail Vourlakos 343c1e632a provide consistent slots naming
--onSomethingChanged syntax is preferred for all
slots that are triggered from somethingChanged signals
--doThis syntax is preferred for generic slots that
are triggered from various different codepaths
5 years ago
Michail Vourlakos 7a3d68ed61 sort layouts based on their names
--when layouts are presented to the user it is preferred
to be perfectly sorted based on their names
5 years ago
Michail Vourlakos d97be6744d layouts::storage, move isBroken() function 5 years ago
Michail Vourlakos d3a0b3cf31 details:confirm layout change,save data when needed 5 years ago
Michail Vourlakos 7695443a90 details:update buttons state on dataChanged 5 years ago
Michail Vourlakos fb843776a0 set document-new icon for New Templates menu items 5 years ago
Michail Vourlakos 7ef74d2096 sync settings before exporting 5 years ago
Michail Vourlakos 7c238589ba improve name style and layouts path references
--use Importer in order to reference layouts directory
in user space and improve also naming for relevant
Importer functions
5 years ago
Michail Vourlakos 0393e0ff35 settings:improve init of layout templates submenu 5 years ago
Michail Vourlakos 77515be7c6 settings:expose LayoutTemplates to New button 5 years ago
Michail Vourlakos 1b4d13959b use new TemplateManager add default templatelayout 5 years ago
Martijn Vogelaar b207950cc7 #15 Drag drop layout text 5 years ago
Michail Vourlakos 910f480a3d rename data to layoutcolordata 5 years ago
Michail Vourlakos 47ef73041b update data::layout... namespaces 5 years ago
Michail Vourlakos b39c35b487 update namespace/name for Data::LayoutColor 5 years ago
Michail Vourlakos 805e37a368 update Layout::Data::ActivityData namespace 5 years ago
Michail Vourlakos 375579a517 move data classes from settings to app directory
--makes more sense data records to be accessible both
from settings and layouts management classes
5 years ago
Michail Vourlakos da61a432cd add template options to layoutdata 5 years ago
Michail Vourlakos aee04ef180 set maximum values for mouse sensitivity buttons 5 years ago
Michail Vourlakos 9092e54fc0 enable Multiple Layouts mode in wayland
--enable multiple layouts mode partially and
try to provide at least one central layout
combined with a shared layout
5 years ago
Michail Vourlakos e323f31645 use universal inAdvancedMode for edit settings
--for all view edit windows are now using the same
flag in order to identify basic and advanced level
for editing their settings
5 years ago
Michail Vourlakos 105b14de38 layouteditor:improve activity/shares edit behavior
--situation has improved vastly for users for activities
and shares when trying to change their values. The menus
that appear now contain Ok/Cancel buttons in order to
accept or ignore the changes. If the user just hides
the menu without clicking Ok button then the changes
are ignored.
5 years ago
Michail Vourlakos 3f1e788885 details:fix checkboxes options
--use one single checkbox for its option and
align an much as possible previous radiobuttons
5 years ago
Michail Vourlakos 59878a3f28 details:update window title based on layout name 5 years ago
Michail Vourlakos a623858d78 details: give layouts their background badges 5 years ago
Michail Vourlakos 72fa5cdd9c rename background delegate of layouts editor 5 years ago
Michail Vourlakos 39fb0df8dc remove background cmbbox deprecated code 5 years ago
Michail Vourlakos 5d1edfe68d fix layouts model original data discoveries
--original data indexes may not be consistent with
current layouts data. If a layout is removed from
current layouts then many original layouts data indexes
are totally different. This commit fixes this.
5 years ago
Michail Vourlakos c1fc7b77f0 settings:clear new fields during duplicating layout 5 years ago
Michail Vourlakos 1c0f5acde8 call KIconDialog with default getIcon() 5 years ago
Michail Vourlakos 676e648ca3 layouts editor:fix shared layout icon badges
--when the shared layout has user assigned icon
then that icon is always preferred
--choose which icons are drawn for shared layout
based completely on what icons are already chosen
for the assigned shares (central layouts)
5 years ago
Michail Vourlakos 28bcc973c0 details:add layout icon property
--expose icon properly at details window
5 years ago
Michail Vourlakos 437c04cf92 details:add icon_clear behavior 5 years ago
Michail Vourlakos c3fd137032 details:add clear pattern button 5 years ago
Michail Vourlakos 0286966cab use properly default custom background values 5 years ago
Michail Vourlakos 1ee03fe92d disable Layouts BackgroundColumn ediatability 5 years ago
Michail Vourlakos 04305205ca details:add Ok,Cancel buttons
--delete details window properly after has
been used from the user
5 years ago
Michail Vourlakos 835c24cbcb provide default custom background values 5 years ago
Michail Vourlakos a787567bf2 settings:apply new background properties properly 5 years ago
Michail Vourlakos 72a70c7da7 details:add backgound settings functionality 5 years ago
Michail Vourlakos d8b339ac7b details:add colors functionality 5 years ago
Michail Vourlakos 3c94aa8d75 drop sub handler detailsoptionshandler
--drop the sub handler detailsoptionshandler
because the new design wont have tabs like the main
settings window does. Views table will be provided
through a new sub dialog.
5 years ago
Michail Vourlakos 029090a2de details:provide colorcmbbox delegate 5 years ago
Martijn Vogelaar 05fd28b2dc fix #10,Delete button deletes layout. 5 years ago
Michail Vourlakos ee9c69ad8b Details,Colors, choose color name as display role 5 years ago
Michail Vourlakos a37d4df09c Details:Layouts ComboBox in form layouting style 5 years ago
Michail Vourlakos b918d3e965 provide proper Colors model for Details dialog 5 years ago
Michail Vourlakos a4767b36c0 rename details info to details options 5 years ago
Michail Vourlakos ca5cc6015d add color combobox in Details window 5 years ago
Michail Vourlakos dc62bde8aa add dialogs for background,textColor buttons 5 years ago
Michail Vourlakos 14559ba747 add buttons in Details window
--buttons to change color,background and
text color layout options
5 years ago
Michail Vourlakos 5d4da93b68 from Latte trademark properly
--use the original Latte trademark at all
times in Primary config view setttings. In
the past there were icon themes that was
changing Latte icon to something alientic
and that approach was breaking the Latte
trademark visual appearance.
5 years ago
Michail Vourlakos 91449e06f0 remove option delete hidden config windows
--it is not needed any more because config windows
are now using a singleton design in order to be
created only one time.

BUG:423268
5 years ago
Michail Vourlakos a90bf4b75b update Apply for meta option in Preferences 5 years ago
Michail Vourlakos c7f530fb7a block deleting Layout with Del in Editor 5 years ago
Michail Vourlakos d6fc66a7a3 user option for hiddenConfigWindowsAreDeleted
--when hidden configuration windows are deleted memory
consumption is improved and provides much lower values
--when hidden configuration windows are not deleted
memory consumption increases but their responsiveness
for hiding/showing is instantly
5 years ago
Michail Vourlakos 381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
5 years ago
Michail Vourlakos b509589a1c improve strings in settings layouts tab 5 years ago
Michail Vourlakos 63187ce5b4 remove Latte library as requirement
--implement things simpler by using the same
CoreTypes header file both for LatteCore.Types
import statement and App c++ implementation.
Let's leave in the future to decide if
a LibLatte is really necessary.
5 years ago
Michail Vourlakos 2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
5 years ago
Michail Vourlakos 9c57f9db4b introduce AppTypes.MouseSensitivity 5 years ago
Michail Vourlakos 552216d4d3 support Layout::BackgroundStyle 5 years ago
Michail Vourlakos 6e4779e6ab require new official Latte library 5 years ago
Michail Vourlakos ac3ccb5b98 try to support a public liblatte library 5 years ago
Michail Vourlakos e525596a04 refactor:split Latte Types to Tasks and Types
--move also irrelevant types to their owner. For
example LayoutsPage is moved to Settings::Dialog
namespace
5 years ago
Michail Vourlakos 5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
5 years ago
Michail Vourlakos da2d4c2b35 DetailsWin:sort combobox layouts based on name 5 years ago
Michail Vourlakos f4fa185246 fix details window first showing layout 5 years ago
Michail Vourlakos 5a1237fb6a first connections,Details window and Layouts Model 5 years ago
Michail Vourlakos c067764013 add details window functionality 5 years ago
Michail Vourlakos c8c0871754 fix crash for Esc in Settings window 5 years ago
Michail Vourlakos a1b8e4518a update details window info when changing layouts 5 years ago
Michail Vourlakos 92f1b1fe30 details window improvements 5 years ago
Michail Vourlakos 0e7420037e settings:same infrastructure for information
--add GenericDialog class in order to provide
same implementation for all settings::dialogs.
As a first step GenericDialog provides a common
showInlineMessage api
5 years ago
Michail Vourlakos 3447e44f25 details:background shadow fixes 5 years ago
Michail Vourlakos 14e739b395 details:provided layout backgrounds 5 years ago
Michail Vourlakos 423df425ee improve detail items alignment 5 years ago
Michail Vourlakos cbc5ff5d40 introduce details dialog ui 5 years ago