Commit Graph

607 Commits (052acf1f636969c9081559925c81360259f9d687)

Author SHA1 Message Date
Michail Vourlakos f273da26db viewsdialog:update remove to multiple selection 4 years ago
Michail Vourlakos 073d6c1d60 viewsdialog:allow multi-selection of rows
--the user can use Ctrl and Shift in order to select
multiple rows in table view
4 years ago
Michail Vourlakos e0ed86bd41 viewsdialog:show/hide views context menu actions
--based on a view is selected or not the relevant
actions are shown in the context menu
4 years ago
Michail Vourlakos 05b2a59f25 viewsdialog:provide context menu for views 4 years ago
Michail Vourlakos 1a910a73e4 viewsdialog:provide duplicate action 4 years ago
Michail Vourlakos def1e8b87f viewdialog:remove cut/copy/paste buttons
--these actions will be supported only through right
click context menu and by using the de facto
shortcuts Ctrl+X/C/V
4 years ago
Michail Vourlakos 2c8d7134bd simplify Layout::newView calls
--template file is already provided from Data::View
so there is no real reason to expose it one
more time
4 years ago
Michail Vourlakos 49faec250c viewsdialog:update active state after ::save() 4 years ago
Michail Vourlakos 4d76005325 viewsdialog:update model data for newly added views 4 years ago
Michail Vourlakos 6254a971cb settingsdialog:fix ConsideredActive for model 4 years ago
Michail Vourlakos 7bd55c202f viewdialog:provide remove views functionality 4 years ago
Michail Vourlakos 585864df8c viewsdialog:protect view removal-confirmate dialog 4 years ago
Michail Vourlakos 938dcdef6c settingsdialog:reorder Dock,Panels button 4 years ago
Michail Vourlakos bc86878b91 detailsdialog:fix save confirmation dialog behavior
--most importantly Discard acts properly now meaning
that layout is updated and previous settings are discarded
4 years ago
Michail Vourlakos 447c08e95e viewsdialog:fix save confirmation dialog behavior
--apply also consistent "Apply Now" text for confirmation
dialog
4 years ago
Michail Vourlakos a0bcd9503d increase visual indicator margin
--increase its value to 5px. this way
the two margins and the indicator equals
to 16px. 5+5+6
4 years ago
Michail Vourlakos 2b754dde97 provide inactive views update functionality 4 years ago
Michail Vourlakos 67095d9520 viewsmodel:fix wrongly showing change state 4 years ago
Michail Vourlakos 38d3de5962 settingsdialog:provide docks,panels button 4 years ago
Michail Vourlakos cedcbddd4d viewsdialog:do not update layouts model for views 4 years ago
Michail Vourlakos 195a24b33c viewsdialog:apply live screen edges changes 4 years ago
Michail Vourlakos be636de5ce viewsdialog:show view screen edge margin if any 4 years ago
Michail Vourlakos ba9ff6342a viewsdialog:compute screen max_ratio 4 years ago
Michail Vourlakos 2a85a7afae viewsdialog:draw screen with real screen factor 4 years ago
Michail Vourlakos 00a1fc05ef viewsdialog:center screen icon properly 4 years ago
Michail Vourlakos f94bd35ad9 viewsdialog:support vertical screens 4 years ago
Michail Vourlakos c26600e9c0 dialogs:provide drawings remained rectangle 4 years ago
Michail Vourlakos f92f54f041 viewsdialog:improve name edit box geometry 4 years ago
Michail Vourlakos ab1be1280d viewsdialog:support screenedges and alignments 4 years ago
Michail Vourlakos 7630064b36 viewsdialog: view data improvements 4 years ago
Michail Vourlakos b899ed19ae viewsdialog:draw view on screen icon 4 years ago
Michail Vourlakos f42fe460b3 dialogs:use same code for changesindicators 4 years ago
Michail Vourlakos b78b7e1fe8 viewsdialog:draw changes indicator when needed 4 years ago
Michail Vourlakos 25c0a22e6a viewsdialog:color properly optional name text 4 years ago
Michail Vourlakos 16280a3a53 viewsdialog:provide name delegate 4 years ago
Michail Vourlakos 8ba60ea89a viewsdialog:show active screens with bold 4 years ago
Michail Vourlakos 6351d4e892 viewsdialog:provide data changed roles 4 years ago
Michail Vourlakos 230738f4ae disable KWin::reconfigure under wayland
--as long as KWin is not able to be reconfigured under
wayland without issues this codepath is blocked
4 years ago
Michail Vourlakos 961ae8f431 viewsdialog:hide ids for temporary view records 4 years ago
Michail Vourlakos 4d5986a7ff dialogs:use same text formatted line 4 years ago
Michail Vourlakos 0589b2b0fb viewsdialog:provide formatted text for options 4 years ago
Michail Vourlakos ac7e7b1c6d viewsdialog:support remove dock/panel action 4 years ago
Michail Vourlakos a13e157686 dialogs:disable messages animated show
--it was not smooth so it is disabled
4 years ago
Michail Vourlakos 8824c6e454 dialogs:support multiple information widgets 4 years ago
Michail Vourlakos 749cbca3e8 viewsdialog:add view name when from view template 4 years ago
Michail Vourlakos 81c31edaa4 viewsdialog:provide view name and update it also 4 years ago
Michail Vourlakos 49e7cc3dd3 viewsdialog:consistent tableview selecting row 4 years ago
Michail Vourlakos 23fe87e736 viewsdialog:add properly new temporary views 4 years ago
Michail Vourlakos 5dde3fdfc5 provide append/removeView in dialog views model 4 years ago
Michail Vourlakos 2bb170fba8 expose views templates in Views New dialog button 4 years ago
Michail Vourlakos 5577a0c328 connect all parts of viewsdialog
--inform about data changes and enable
also the Reset button
4 years ago
Michail Vourlakos 4e7d7aba5f update values in the views model through menus 4 years ago
Michail Vourlakos b29a8fa9b3 provide screens options in views dialog 4 years ago
Michail Vourlakos c27727c9e7 provide options for views settings 4 years ago
Michail Vourlakos 2b1464fb1b provide genericbasictable through meta system 4 years ago
Michail Vourlakos 55018eae0d consistent appearance for views tableview 4 years ago
Michail Vourlakos e207451848 remove QProcess from universal settings
--it should fix the issue related to borderless windows
under wayland
4 years ago
Michail Vourlakos 7adcd450d7 fix views initialization table layout id
--by chosing the current layout id we can be sure
that even newly created layouts will expose their
views
4 years ago
Michail Vourlakos 7aa94bede1 expose views data through views dialog 4 years ago
Michail Vourlakos c7932ea83a view settings:include name column 4 years ago
Michail Vourlakos 06f90877d5 rephrase menu to Edit Layouts... 4 years ago
Michail Vourlakos e04dd29d89 settings:store Details dialog size 4 years ago
Michail Vourlakos 089b24dbe5 settings:store views dialog window size 4 years ago
Michail Vourlakos 634e68b857 settings:store views column widgets/criteria 4 years ago
Michail Vourlakos 9d68f6b32a provide views table header 4 years ago
Michail Vourlakos a71c2cc96b hide copy/paste actions for views 4 years ago
Michail Vourlakos c7a11ba7ea settings:introduce views controller 4 years ago
Michail Vourlakos 4719201b4d settings:introduce views model 4 years ago
Michail Vourlakos b8229ac199 draw custom text color for default custombackground 4 years ago
Michail Vourlakos 82ce6b5140 simplify layouts icon drawing logic
--in the past a layout could draw more than
own icons in order to be identified. Now
things are simplified and at all cases ONLY ONE icon
is chosen for each layout based on criteria.
In all cases if the user has chosen a specific
icon for its layout that is respected for all
drawing cases.
4 years ago
Michail Vourlakos d903da90e7 provide custom layout combobox
--custom layout combobox provides also the chosen
drawn layout icon
4 years ago
Michail Vourlakos 7bfb23fa45 settings draw layout icon in generic way 4 years ago
Michail Vourlakos f11d6ec5f2 settings use layout isConsideredActive flag
--this way we track better which layouts are going
to be used in each user selected layouts mode meaning
single or multiple layouts mode.
4 years ago
Michail Vourlakos 4fa7831bc5 settings:decouple layout icon for active layout
--favorites icon is now moved in layout name edit box
and is going to indicate only the Active layouts at
some point
4 years ago
Michail Vourlakos 1348863b57 settings:initialize and set views in layouts model
--this action may be costly so it is executed only once
when Views dialog is requesting data for specific layout
4 years ago
Michail Vourlakos 622cc6988c provide debug messages for ViewsTable 4 years ago
Michail Vourlakos 155e589268 improve text string in details window 4 years ago
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 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