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
4 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
4 years ago
Michail Vourlakos
d5e83280d2
refactor:simplify layout data access
4 years ago
Michail Vourlakos
dfbf83b4a1
activities menu:provide CurrentActivity option
4 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
4 years ago
Michail Vourlakos
bc87d53e83
updates for layouts model single mode
4 years ago
Michail Vourlakos
7393ac02eb
drop currentLayoutName as signal from synchronizer
4 years ago
Michail Vourlakos
a9774ff13f
update Switch button in Layouts table
4 years ago
Michail Vourlakos
f31c698330
expose sortByColumn for layouts mode
4 years ago
Michail Vourlakos
4d7e1dca83
update layouts table to support new approach
4 years ago
Michail Vourlakos
0ee31eead6
update kwin disabled borders infrastructure
4 years ago
Michail Vourlakos
c7d163fdb6
plenty of fixes for multiple layouts
4 years ago
Michail Vourlakos
588349e91c
update text for Layout Read-Only
4 years ago
Michail Vourlakos
2e120f9446
make Multiple mode work correctly
4 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
4 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
Michail Vourlakos
87b5dff9b5
dont switch layout with Enter in settings
5 years ago
Michail Vourlakos
688a45289a
make SHARETOINEDITROLE proxy model capable
5 years ago
Michail Vourlakos
b4847e1a79
choose which layouts must be saved in settings
...
--through the Layouts model we know which layouts
have been saved and which of them do not need to
be touched because they do not have any changes
5 years ago
Michail Vourlakos
e4670dace2
new implementation to update layout ids in settings
5 years ago
Michail Vourlakos
6bc4409b0b
move settings dialogs in their own directory
5 years ago
Michail Vourlakos
1e9785dc0b
introduce details button in settings window
5 years ago
Michail Vourlakos
41f945d4e1
move layout icons handling in the model
...
--this way it will be easier the layout icons
list to be used by other widgets also
5 years ago
Michail Vourlakos
6ab4c61d5a
protect layout toggle sharing
...
--do not assign a share will it is already used
from other layout
5 years ago
Michail Vourlakos
15fd0f1059
sort layouts model based on groups
5 years ago
Michail Vourlakos
72fdf4563b
improve AbstractLayout background infrastructure
...
--the new infrastructure can remember settings between
CustomBackgroundStyle and ColorStyle in order to
help the user to not have to reassign values
when changing backgrounds, between predefined
colors style and custom one.
5 years ago
Michail Vourlakos
5bdb8a683d
update sorting in layouts model
...
--the new priorities take into account
the layout name to be ordered as a last
criteria
5 years ago
Michail Vourlakos
4832042b0f
add message for dropping layout files
5 years ago
Michail Vourlakos
2e79a5df30
mv layouts headerview to settings/views folder
5 years ago
Michail Vourlakos
df635fb88b
improve Layouts sorting behavior
5 years ago
Michail Vourlakos
38f7df72fb
get userfeedback for saving and switching tabs
5 years ago
Michail Vourlakos
f51126eae2
prevent switch tabs when there are unsaved changes
5 years ago
Michail Vourlakos
1690ace196
store layoutsView user sorting preferences
5 years ago
Michail Vourlakos
a21874b29b
move LayoutsTab storage to view LayoutsContrailer
5 years ago
Michail Vourlakos
b63c7bfbc7
enabled antialiasing for Layouts::HeaderView
5 years ago
Michail Vourlakos
7613396708
remove deprecated code from layoutscontroller
5 years ago
Michail Vourlakos
27aebc9304
insert Settings::Layout menu at correct position
5 years ago
Michail Vourlakos
5285aee716
TabLayouts dataChanged when removing layouts
5 years ago
Michail Vourlakos
d87663413e
move properties at Settings window code
...
--no reason for Settings Window properties to
be present at UniversalSettings. They are moved
to their SettingsDialog best match classes.
5 years ago
Michail Vourlakos
5d52083968
rename for consistency
5 years ago
Michail Vourlakos
0d79c2ed15
update code to TabLayoutsHandler
...
--all ui code from settings dialog for Layouts Tab
in now moved to its handler.
5 years ago
Michail Vourlakos
f7b8bd6619
introduce the TabLayoutsHandler
5 years ago
Michail Vourlakos
0cae6f0ec3
define interface for Settings::Handler(s)
5 years ago
Michail Vourlakos
4f92222863
user Layouts::Manager for currentLayoutName
5 years ago
Michail Vourlakos
92c0a68a19
update active states differently for singlelayout
5 years ago
Michail Vourlakos
93d7422059
dont use too often, costly kwinrc tracking
5 years ago
Michail Vourlakos
850b058ecd
fix layouts data broadcasting when applying
5 years ago
Michail Vourlakos
ad8723ce4f
fix, save temporary layouts when user applied
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
fe7f35b9bf
remove boldness from preferences settings
5 years ago
Michail Vourlakos
2256a8b855
update last-1 column width properly
5 years ago
Michail Vourlakos
1113f942b1
provide feedback to the user in layouts view
...
--provide feedback to the user for which layout
options have been altered. This is achievable
by providing italicness to these options.
5 years ago
Michail Vourlakos
9faa3cac86
meaning sortings for layouts model
5 years ago
Michail Vourlakos
c62ff66ffd
validate layouts data to follow userrole
...
--all layouts table cell user Qt::UserRole as
the first role to user for their data and any
subdata should use an explicitly-set
LAYOUTUSERROLE
5 years ago
Michail Vourlakos
f6aeea9980
move original data into layouts model
...
--this way the model items can become aware
of all data changes and become visual
responsive accordingly. All changed data
should use the italic paradigm... If a
value is changed from its original value
can become italic in order for the user
to know which values have changed.
5 years ago
Michail Vourlakos
466129c1d0
update shared layouts activities icons
5 years ago
Michail Vourlakos
7dacde2d3a
update Preferences settings to follow KDE HIG
5 years ago
Michail Vourlakos
43d91c9b63
drop QRect::setX/Y from all classes
...
--they can change the QRect width and height
and this is not the desired behavior.
moveLeft/Top are much better replacements.
5 years ago
Michail Vourlakos
3246ce2447
update free activities flag from external changes
...
--when the user has altered the free_activities from
its context menu then settings window it must better
update its record concerning the layout that will
be responsible for free activities
5 years ago
Michail Vourlakos
b960a8579e
use all cell height for free activities icon
5 years ago
Michail Vourlakos
2bc4e63431
fix a case to autoupdate free_activities_id
...
--when free_activities layout becomes shared
then another layout should become responsible
for FREE_ACTIVITIES
5 years ago
Michail Vourlakos
97e5345f40
update shareto line settings indicator
...
--improve its appearance in general and its
behavior also
5 years ago
Michail Vourlakos
20602acbfb
provide nice icons for layouts from activities
5 years ago
Michail Vourlakos
c59dc52e1e
move activities logic out of activity delegate
...
--all activities information/data for activities
and layouts are now handled properly from the
layoutsmodel in settings
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
Yuri Chornoivan
e61445d5cc
Fix minor typos: <i/> -> <i>
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
b6b34b06de
validate layout name icons colors
5 years ago
Michail Vourlakos
5323e7832c
internal messages intervals
5 years ago
Michail Vourlakos
07df968fde
update layouts states after reseting layouts data
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
300f4a364f
add alignment for backgroundcolumn
5 years ago
Michail Vourlakos
ba94546cb4
multiple fixes for single layout case
5 years ago
Michail Vourlakos
748ca87bb8
simplify code for switch button-single layout
5 years ago
Michail Vourlakos
0724124f63
set settings on all activities
...
--simplify pause button and switch button
codes
5 years ago
Michail Vourlakos
68f2ab9c47
improve switch button enablement
5 years ago
Michail Vourlakos
8c97dcecc5
update shared visual properly
5 years ago
Michail Vourlakos
2ad1a040b4
introduce custom headerview for layouts
5 years ago
Michail Vourlakos
92f37eef8c
improve alignments for layouts delegates
5 years ago
Michail Vourlakos
9a3918763b
settings,improve layouts header visual
5 years ago
Michail Vourlakos
79936a662d
improve background circle visual
5 years ago
Michail Vourlakos
4deaa3bc0b
make Shared button proxy model aware
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
94e5a04de2
make copy layout function proxy aware
5 years ago
Michail Vourlakos
37cac2ca81
reject duplicate layout names in settings
5 years ago
Michail Vourlakos
880ed9638e
introduce proxy model for layouts in settings
5 years ago
Michail Vourlakos
bddc04d371
inform controller for inserted rows
5 years ago
Michail Vourlakos
00f4e4cd22
fix crash from layouts reset functionality
5 years ago
Michail Vourlakos
00e6fbba5b
update synchronizer semantics to freeactivities
5 years ago
Michail Vourlakos
0d39ee6f55
settings:always a layout is set for freeactivities
5 years ago
Michail Vourlakos
93a8ae3ff2
improvements for Layouts Editor
5 years ago
Michail Vourlakos
3b85867c56
introduce setLayoutForFreeActivities
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
c0d8116e7b
visual improvements for settings delegates
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
60d24144b5
update layouts settings data classes
5 years ago
Michail Vourlakos
264b2b7568
remove deprecated settings window functions
5 years ago
Michail Vourlakos
828bacce33
update share_id automatic when layout_id changed
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
2db252b769
fix warnings
5 years ago
Michail Vourlakos
154000345d
fix some warnings for shareddelegate
5 years ago
Michail Vourlakos
aa4a6061cd
improve semantics for settings
5 years ago
Michail Vourlakos
9a104340bb
simplify code for background cmbbox
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
49e203de86
fixes for shared column delegate behavior
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
e5baecfb9f
visual for layout name was edited
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
4874b254dd
fix sharedcolumn and introduce some editable items
5 years ago
Michail Vourlakos
bab5564d0a
remove deprecated settings window code
5 years ago
Michail Vourlakos
70c8841646
update layouts headers
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
be4e088f5e
use QList for layoutsdata
...
--add isActive flag for Data::Layout
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
7bb01f150a
support new layouts data for settings
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
af712c6ac4
IMPORTANT:fix first run initialization
...
--dont mess the old migrating process during startup
with a new user that uses Latte for first time. This
is a very important step during startup otherwise the
entire Latte experiences instability.
BUG:417886
FIXED-IN:0.9.9
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
Michail Vourlakos
0853d78101
remove QFontMetrics deprecated code
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
a69f3013d8
search for Latte desktop file in more generic way
...
--there are distros that do not return /usr/share/applications
as their first global path for desktop files. It is better to not
just search for the "applications" path but rather the desktop
file also to make sure that we use the first one found.
BUG:412612
FIXED-IN:0.9.4
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
Yuri Chornoivan
1aaef7aa2b
Fix minor EBN issues
5 years ago
Yuri Chornoivan
f63ab9a872
Try to fix build with Clang (take 2)
6 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
Michail Vourlakos
27736db317
update menu icons
6 years ago
Michail Vourlakos
714b41ec2f
add new menu options and edit layout file action
6 years ago
Michail Vourlakos
30f3145f95
Introduce Flat and 3D style for Badges
...
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred
BUG: 409467
6 years ago
Michail Vourlakos
110416c143
improve sharedlayouts record when selected
6 years ago
Michail Vourlakos
396efadb5a
track screens count changes for View Settings
6 years ago
Michail Vourlakos
eef791100d
show to user warning for Colors KWin Script presence
6 years ago
Michail Vourlakos
88ba9f4b75
track KWin Colors Script presence in system
6 years ago
Michail Vourlakos
a8a19bb550
support VirtualDesktops for kwayland>=5.52
...
--This of course needs Plasma>=5.15
BUG: 398106
6 years ago
Michail Vourlakos
11f70edbac
fill SharedLayouts circles in LayoutsEditor
6 years ago
Michail Vourlakos
f89b110a36
drop Meta+E that is used from Dolphin
6 years ago
Michail Vourlakos
3a3823add3
Assign/Remove properly Shares from INACTIVE Centrals
6 years ago
Michail Vourlakos
568716e9d3
add SharedLayouts ending circle in LayoutsEditor
6 years ago
Michail Vourlakos
a661fbb032
refactor:drop LAYOUTSMANAGER apis moved to SYNCHER
6 years ago
Michail Vourlakos
bea8247b84
refactor:move syncActiveShares to Synchronizer
6 years ago
Michail Vourlakos
c4b226def5
REFACTOR:Add Synchronizer for Layouts::Manager
...
--Split the Layouts::Manager to Synchronizer and
Manager classes. The Synchronizer is responsible
to keep all Active layouts in sync with user
preferences
6 years ago
Michail Vourlakos
d08f1f9dbb
add bold presentation for Shares in menu
6 years ago
Michail Vourlakos
46bf0c1229
update activities/shares from cell QMenu(s)
6 years ago
Michail Vourlakos
8c3d658a0d
refactor:move Importer to "layouts" folder
6 years ago
Michail Vourlakos
a27ff3ec48
REFACTOR:Update LayoutManager to Layouts::Manager
...
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
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