Commit Graph

480 Commits (2abebf487ea2df1c6a220700c21b8bb3c9ab0db8)

Author SHA1 Message Date
Michail Vourlakos 1e86067d0e fix margins in settings dialogs 4 years ago
Michail Vourlakos 9d4a059e65 improve exporttemlatehandler names 4 years ago
Michail Vourlakos 119ea9fd23 improve details handler naming 4 years ago
Michail Vourlakos 714b90e4a7 settings:provide views handler 4 years ago
Michail Vourlakos b25492a6fb provide Views SubDialog in settings window 4 years ago
Michail Vourlakos d5a434e994 provide views dialog ui 4 years ago
Michail Vourlakos e2206afbfd rename Copy layout to Duplicate
--improve button name in Layouts Editor
from Copy to Duplicate
4 years ago
Michail Vourlakos 35ac94a5ec layouts:do not update column widths when no needed
--remove signal that is not needed to be sent
4 years ago
Michail Vourlakos 32f4c3f7a1 update properly single layout with switch button
--when Switch button is used exactly after the user
is choosing single mode, the layouts model mode is also
updated directly in order to be consistent with
user options
4 years ago
Michail Vourlakos c07b42b0b2 exportdialog rephrase export button in second time
BUG:433735
4 years ago
Michail Vourlakos ddcfe56eda improve exported view template name
--use also the layout name as first part of the
proposed name
4 years ago
Michail Vourlakos c159753c4f whitelist margins separator for exported templates 4 years ago
Michail Vourlakos b49d5eb084 layouts window:store column widths properly 4 years ago
Michail Vourlakos f39e46fd68 hide settings window InMenu for inMultipleMode
--inMultipleMode only Plasma Activities Explorer can
enable/disable layouts
4 years ago
Michail Vourlakos da3fbca477 organize new>layout templates action menu 4 years ago
Michail Vourlakos 5b9ec2ee06 provide option to import layout templates easily
--when the user imports a layout in its system,
a message is appearing to inform him that he can
also import it as custom layout template
4 years ago
Michail Vourlakos cc044d8483 layout editor:provide layout changed indicator
--following plasma systemsettings changes indicator,
layout editor is now also providing an orange circle
in order to indicate that a layout has changes
4 years ago
Michail Vourlakos 466e989c28 always show chosen single layout first
--the user selected single layout must be first
of all at all times in settings dialog window
4 years ago
Michail Vourlakos 5e3b9f61eb center single/multiple buttons in settings dialog 4 years ago
Michail Vourlakos 761305af61 improve text for Single/Multiple layouts 4 years ago
Michail Vourlakos 22fa4c8fc8 rename property single active layout
--renaming active layout in single mode is a little
tricky in order to not leave any deprecated data behind.
Successful steps would be:
1. unload current single layout
2. load new single layout for the new file
3. remove deprecated layout file after new file loaded correctly
4 years ago
Michail Vourlakos 4806a7c5e2 fix single mode active layout ordering
--simplify also some code parts in layouts handler
4 years ago
Michail Vourlakos 4a89138a6e provide functionality for Enabled layout action 4 years ago
Michail Vourlakos da6478fc8e add functionality for activities explorer 4 years ago
Michail Vourlakos 684bf9dc80 provide two new actions in Layouts Editor
--Activities to trigger Plasma activities manager
--Enabled to assign/unassign layouts to different
activities
4 years ago
Michail Vourlakos 7e92a79d4c add missing signal for export dialog handler 4 years ago
Michail Vourlakos 26af7e4091 add functionality for ExportViewTemplate 4 years ago
Michail Vourlakos a9301ebf7b move syncing layout files into export dialog 4 years ago
Michail Vourlakos 440b4b5736 improve templates signaling 4 years ago
Michail Vourlakos d5f6dcad6d track custom templates removal 4 years ago
Michail Vourlakos 4ad8654970 visual feedback for templates extraction
--update templates list when adding new templates
4 years ago
Michail Vourlakos a8d4bdf82d provide basic Export functionality 4 years ago
Michail Vourlakos 08327326ff provide functionality for ChooseDialog in Export 4 years ago
Michail Vourlakos 2dee058fdc provide Choose File Dialog for ExportTemplate 4 years ago
Michail Vourlakos f020400aec provide ExportTemplate::Reset functionality 4 years ago
Michail Vourlakos c57a69ae05 rename function in settings handler 4 years ago
Michail Vourlakos 6f58d09d06 reorganize settings dialogs in better structure 4 years ago
Michail Vourlakos 484270f416 disable clickable for AppletsTable Header Columns 4 years ago
Michail Vourlakos 869df6316c fix applets table data
--ignore applets data that are not valid
4 years ago
Michail Vourlakos d40cdfceab improve CheckBox behavior in AppletsTable 4 years ago
Michail Vourlakos 650e43c9d1 provide functionality for buttons in exporttemplate 4 years ago
Michail Vourlakos fcfcf8ca51 provide reset button functionality 4 years ago
Michail Vourlakos e50d9e33a7 provide some applets with no personal data 4 years ago
Michail Vourlakos dd2d125c70 add buttons in exporttemplatedlg 4 years ago
Michail Vourlakos 222caf28da provide select/deselect all buttons in exportdlg 4 years ago
Michail Vourlakos a4c70b0922 decouple ExtractTemplateDlg from SettingsWindow 4 years ago
Michail Vourlakos 156b2190a8 checkability for AppletsTable in ExportTemplateDlg 4 years ago
Michail Vourlakos f63622db0f provide headers fixes for AppletTable in ExportDlg 4 years ago
Michail Vourlakos a45b97a2b1 provide basic implementation of ExportTemplateDlg 4 years ago
Michail Vourlakos 0943ecb42e provide AppletsModel for ExportTemplateDialog 4 years ago
Michail Vourlakos 674888800d introduction of exporttemplatedialog 4 years ago
Michail Vourlakos 4222811de2 remove debug message 4 years ago
Michail Vourlakos 561f0168c0 fixes for abilities and KHNS 4 years ago
Michail Vourlakos f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
4 years ago
Michail Vourlakos 09294b8599 sync configuration to files after save configs 4 years ago
Michail Vourlakos 3c17c2e839 settings:disable StaysOnTop hint 4 years ago
Michail Vourlakos 302c6a9cc2 update pause layout in multiple layouts environment
--the new approach takes into account only the layout
appliedactivities and accepts also FreeActivities as
valid to be paused
4 years ago
Michail Vourlakos ef415e51fb disable pause button for only one running activity 4 years ago
Michail Vourlakos a02056b4c8 ignore activities that are not currently present 4 years ago
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 4 years ago
Michail Vourlakos 9428027aff provide universalsettings upgrade path for v0.10 4 years ago
Michail Vourlakos 41c2e2b033 refactor:improve Synchronizer:swithToLayout
--the new approach is much clearer and easy to
read that the deprecated one
4 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