Commit Graph

2774 Commits (675bdf5f7d5aac6d70717cec2bd6962536241d3e)

Author SHA1 Message Date
Michail Vourlakos 7e1fc1f234 screendialog:hide checkbox for !removable screens 4 years ago
Michail Vourlakos c951fd6f60 screendialog:proper metrics for screens labels 4 years ago
Michail Vourlakos c9c310b19a screensdialog:visual elements for screens delegate 4 years ago
Michail Vourlakos 2f4fd74630 screensdialog:provide custom model delegate 4 years ago
Michail Vourlakos aa916b7b9e screensdialog:retrieve Removability data properly
--use layouts controller in order to track layouts data
and get access to occypied explicit screens. This way
we make sure that the user wont be allowed to delete
screens that are used by layouts.
4 years ago
Michail Vourlakos c740f5020d screensdialog:connect to layouts controller
--this way we can make sure the screens data removable
flag is consistent with latest layouts data even those
that have not been applied yet
4 years ago
Michail Vourlakos 46c0e1a992 layout:expose explicitScreens 4 years ago
Michail Vourlakos 9e611d444e data::screen,add isRemovable flag 4 years ago
Michail Vourlakos fabd5f864d settingsdialog:add shortcut for screens dialog 4 years ago
Michail Vourlakos c6ff32b4e4 small improvements for screens model 4 years ago
Michail Vourlakos 9f0b6e0b5c screensdialog:introduce relevant handler 4 years ago
Michail Vourlakos 9790b0cdad set userconfiguring early enough on first creation 4 years ago
Michail Vourlakos d5450d7338 screensdialog:introduce dialog class 4 years ago
Michail Vourlakos 117e8e2dc3 windowscancover:update hidden state based on mouse
--use containsmouse flag to show/hide windowscancover
like all the rest visibility modes
4 years ago
Michail Vourlakos 5d8afda244 screensdialog:use spdx license syntax 4 years ago
Michail Vourlakos 648099f746 viewsdialog:reduce single menu width 4 years ago
Michail Vourlakos 0d5c63f31d screendialog: add relevant model 4 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Michail Vourlakos 4e2c6da514 activate dragged window before moving
BUG:437679
4 years ago
Michail Vourlakos af32f8ebd1 settingsidialog:make errors icons smaller 4 years ago
Michail Vourlakos a03dca9d02 fix export layout template for active layouts
--newly created docks and panels in active layouts
must first be synced into their original file before
being exported
4 years ago
Michail Vourlakos 4017eb599c viewsdialog:show active screens in bold 4 years ago
Michail Vourlakos ef383e8162 respect icon size for layout:menuitem-icon
BUG:437525
4 years ago
Ömer Fadıl Usta 03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 4 years ago
Michail Vourlakos 21b187b94c sort layouts in context menu based on their names 4 years ago
Ömer Fadıl Usta e8cc5603ac Portaway from obsolete qsort
qstringlist's own sort method uses std::sort
void QtPrivate::QStringList_sort(QStringList *that, Qt::CaseSensitivity cs)
{
    if (cs == Qt::CaseSensitive)
        std::sort(that->begin(), that->end());
    else
        std::sort(that->begin(), that->end(), CaseInsensitiveLessThan());
}
4 years ago
Michail Vourlakos 7f994dfa7e reset view::positioner::slideoffset for Dock case
--when the View is changing from Panel to Dock mode,
panel slideoffset should update also
4 years ago
Michail Vourlakos a001eab39c provide isSidebar flag for view::visibility 4 years ago
Michail Vourlakos f2dda7347c set input mask properly for hidden sidebars
--do not enable any input mask for hidden sidebars
4 years ago
Michail Vourlakos 01e60e0aab update layout viewsScreens function
--use Layout::views() function to implement this
4 years ago
Michail Vourlakos 40496ca32f screensdialog:provide initial ui 4 years ago
Michail Vourlakos e241a79385 improve layouts menu items spacing 4 years ago
Michail Vourlakos 2fc50d255a provide thick,length margins for layout icon 4 years ago
Michail Vourlakos 88f72bcc3b contextmenu:draw layout icons
--change also layout actions to radiobuttons
4 years ago
Michail Vourlakos 4371067275 viewdialog:support reverse radiobuttons 4 years ago
Michail Vourlakos 8e9de84e01 contextmenu:expose layouts icon data 4 years ago
Michail Vourlakos cbd8d5d88c layoutsmanager:take responsibility for layout icons 4 years ago
Michail Vourlakos 517b423bc6 settingsdialog:do not override layout icons
--in multiple layouts mode in the past the activities
icons could be used in order to identify layouts in
settings dialog. This is now dropped and only the
layout icon and background are used.
4 years ago
Michail Vourlakos b846933e8e dialogs:provide same codepath to draw layout icons 4 years ago
Michail Vourlakos 076deece2f simplify drawLayoutIcon function 4 years ago
Michail Vourlakos 53a44fbb40 settingsidalogs:simplify background drawing
--background drawing for subitems of information
can be one for all and there is no needed for it
to be at per subitem
4 years ago
Michail Vourlakos de1844a487 viewsdialog:radio buttons for single option menu 4 years ago
Andreas Sturmlechner 53aad2f979 Port away from deprecated API (NET::StaysOnTop -> NET::KeepAbove)
Deprecated since 5.0.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
4 years ago
Michail Vourlakos 76549a9f99 shortcuts:wait for view to fully shown properly
--the new approach is not using timers but actual
events from View in order to identify when the
view is fully shown and when their popup is actual
visible. This way popup showing and view slide-in
is always synchronized properly

BUG:425078
4 years ago
Michail Vourlakos 8028efaa6c expose isShownFully to ViewPart::Visibility 4 years ago
Michail Vourlakos e9c5ca5c75 import layout:load data from CentralLayout::data() 4 years ago
Michail Vourlakos bc475da115 fixes for plural translation strings 4 years ago
Michail Vourlakos c74b60c7da subcontainments considered Expandable 4 years ago
Albert Astals Cid 4571c255ed Fix i18np call
The first argument is the one that decides whether the first form or the
second form will be used, so needs to be a number, second argument gets
substituted onto the %2

Using join() of a string list of 1 just gives you the string
4 years ago
Michail Vourlakos 156103af4f drop outline width exposure through gui 4 years ago
Michail Vourlakos 597ee4af5f respect always appletIsExpandable flag
--this way applets that during start were
expandable and now they are not, they do
not trigger expanded codepaths
4 years ago
Michail Vourlakos 254db96f5e setingsdialog:delete dialogs on close 4 years ago
Michail Vourlakos 274ad37685 viewsdialog:support export as template action 4 years ago
Michail Vourlakos 5484fca9a2 viewdialog:support export for backup 4 years ago
Michail Vourlakos 4f0830eb8a fix orphanesubs warning for active layouts 4 years ago
Michail Vourlakos 321a6ba512 protect from plural translations crashes 4 years ago
Yuri Chornoivan 837a428eed Fix minor typos 4 years ago
Michail Vourlakos 7fa05eaea3 fix plural for translated strings 4 years ago
Michail Vourlakos ed3352b807 fix translation strings parameters counting 4 years ago
Michail Vourlakos 50b31f9ec2 update availScreenGeom properly when view removed 4 years ago
Michail Vourlakos ce62b31901 drop .arg() from translation strings 4 years ago
Michail Vourlakos d84c5152b3 support multiple sidebars triggering
--and also at the same time support specific
sidebars based on their names
4 years ago
Michail Vourlakos 16b83772e3 fixes for Sidebars hiding/showing behavior 4 years ago
Michail Vourlakos c02b5ab6b7 settingsdialog:simplify import layout messages 4 years ago
Michail Vourlakos 5e9c838239 viewsdialog:support import function 4 years ago
Michail Vourlakos ea13a6dee5 fix i18ncp translation calls 4 years ago
Michail Vourlakos ff180c6d62 fix compilation from no needed brackets 4 years ago
Yuri Chornoivan f1da40401e Use i18ncp() for plurals 4 years ago
Michail Vourlakos 4bfe48e917 detailsdialog:provide popupmargin 4 years ago
Michail Vourlakos 940bee9408 Latte::Quick use layout popUpMargin
--this way we can support three different
popup styles. Plasma/AllBorders/Far From Edge
4 years ago
Michail Vourlakos 99382184ff layout:provide popUpMargin 4 years ago
Michail Vourlakos f36bba7d02 importlayout:do not show positive message
--when the added layout contains errors and warnings
then do not show the positive message that layout
imported successfully
4 years ago
Michail Vourlakos e14814c49f update configuration before validating it 4 years ago
Michail Vourlakos 6234253342 viewdialog:provide nice Repair for #W201 4 years ago
Michail Vourlakos e9120d5507 respect kde frameworks less than 71 4 years ago
Michail Vourlakos 422c2f9d83 settingsdialog:initial errors/warnings only once 4 years ago
Michail Vourlakos 97b76a1bc7 viewsdialog:improve errors/warnings messages 4 years ago
Michail Vourlakos 2f005ea2a2 viewsdialog:fix inlines buttons order 4 years ago
Michail Vourlakos 660cef280f settingsdialogs:consistent button look for inlines 4 years ago
Michail Vourlakos 680174c389 viewsdialog:hide inlinemessages when change layout 4 years ago
Michail Vourlakos 837842f1f1 layout:add function to remove orphan subcontainment 4 years ago
Michail Vourlakos 46e638e7d0 viewsdialog:error/warnings indicators 4 years ago
Michail Vourlakos 1fbf7b8719 disable repair button until is available 4 years ago
Michail Vourlakos 9834d39e66 viewsdialog:report for W205
--that is same applet and containment id
4 years ago
Michail Vourlakos 72924004bc viewsdialog:warning report for #204 case 4 years ago
Michail Vourlakos 44d4c5a4de viewsdialog:report for error #107
--orphaned pseudo applets lost connection with their
subcontainment
4 years ago
Michail Vourlakos ed57e2146e settingsdialog:specify POSITIVE hideinterval 4 years ago
Michail Vourlakos faa79dfc75 use KMessageBox for removing indicator confirmation 4 years ago
Michail Vourlakos e1cf44240e use KMessageBox for Multiple Layout warning 4 years ago
Michail Vourlakos dcdc239fc4 update show inline messages to Positive
--when an action succeeds
4 years ago
Michail Vourlakos cb44cd77c2 error #103,provide action buttons for user 4 years ago
Michail Vourlakos 6e2b2c1e37 viewsdialog:suggestions for fixing error #103 4 years ago
Michail Vourlakos 866a4f462b viewsdialog:provide nice message for error #103 4 years ago
Michail Vourlakos ae76e82297 viewdata:provide errors/warnings counters 4 years ago
Michail Vourlakos b22ead393e viewsdialog:specify maxiconsize for dropdown screens 4 years ago
Michail Vourlakos 73382d4d04 settingsdialog:initial warnings/errors counter 4 years ago
Michail Vourlakos 53ae3cfe73 settingsdialog:improve some textes 4 years ago
Michail Vourlakos 3e85b42cdc dialogs:improve default sizes for windows/columns 4 years ago
Michail Vourlakos 09bc5cbf14 stretch viewsdialog last column
--provide also proper default column widths
for viewsdialog table
4 years ago
Michail Vourlakos 3fcb5275b7 show layout errors/warnings after imporing it 4 years ago
Michail Vourlakos f3809bcca7 layouts:less intrusive warning messages 4 years ago
Michail Vourlakos 42f6048291 viewsdialog:simplify code for semi-transparent text 4 years ago
Michail Vourlakos b6c85eac57 per layout icons for errors and warnings 4 years ago
Michail Vourlakos 07c5f1ac03 layout:disable error/warning from tracking changes 4 years ago
Michail Vourlakos a3df3951dc replace QMessageBoxes with KMessageBoxes 4 years ago
Michail Vourlakos 7f11e50ecb exporttemplatedialog:confirm file overwrite 4 years ago
Michail Vourlakos c5c61dffe3 storage:use knownErrors both for errors and warns 4 years ago
Michail Vourlakos c33623a809 storage:provide orphaned parent applet checker 4 years ago
Michail Vourlakos ceda380e49 improve errors semantics 4 years ago
Michail Vourlakos a5d289eb89 storage errors fix adding error data 4 years ago
Michail Vourlakos 27d9f209ea layout:drop isBroken in favor of errors/warnings 4 years ago
Michail Vourlakos 51044ce630 layout:provide errors/warnings structured nicely 4 years ago
Michail Vourlakos 2be67b11c5 storage:provide appletAndContainmentSameId checker 4 years ago
Michail Vourlakos c74f5cf7fc appletdata:provide storageId
--in case any consumer wants to use that info
4 years ago
Michail Vourlakos 11aa2abd2e storage provide differentAppletsSameId checker 4 years ago
Michail Vourlakos 849e66fd80 storage:provide orphaned subcontainments checker 4 years ago
Michail Vourlakos a2bf28054f add known errors in layouts storage 4 years ago
Michail Vourlakos 7eedf8f8a2 introduce errordata and errorinformationdata 4 years ago
Michail Vourlakos ecd582eaf9 layoutseditor:clear consideredactive on duplicate 4 years ago
Michail Vourlakos d5a34c7c84 settingsdialog:fix Del shortcut to remove entries 4 years ago
Michail Vourlakos 2927ed04f2 layout:fix crash from removeView
--when removeView is called the relevant containment
should be first removed from containments relevant
layout list in order to not be reenabled through
syncLatteViewsToScreens
4 years ago
Michail Vourlakos 462e15b428 viewsdialog:reduce opacity for cutted views
--this way we follow the filemanagers approach that
cutted records are appearing with big transparency
in order for the user to be informed about which
records are going to be moved after paste action
4 years ago
Michail Vourlakos 2abebf487e viewsdialog:make changed options italic
--this way is simpler for the user to identify
which options have changed
4 years ago
Michail Vourlakos 3c60da8ddb viewsdialog:consistent look for table headers 4 years ago
Michail Vourlakos b7fbe2dad3 settingsdialog:introduce import submenu
--import from local file and download from kde
store are semantically the same so they are combined
in the same import submenu
4 years ago
Michail Vourlakos cbf480ad44 viewsdialog:enable sorting path for all columns 4 years ago
Michail Vourlakos 31b10d9c58 viewsdialog:nice screens visuals for all choices 4 years ago
Michail Vourlakos 432f80ebe8 viewsdialog:provide screen icons in menuitems 4 years ago
Michail Vourlakos b5f483abf8 viewsdialog provide custom menu items 4 years ago
Michail Vourlakos f5fb12e8da position latte panels pop ups really nice
--expose appletsLayoutGeometry through Latte::View
dynamic properties and allog LattQuick::Dialogs to
use it in order to be positioned nicely
4 years ago
Michail Vourlakos 1e487a4b1c widgetexplorer:delete on each hiding 4 years ago
Michail Vourlakos 53827549d7 widgetsexplorer:instantiate model on each showing 4 years ago
Michail Vourlakos 0aad703b45 viewsdialog:remove views without user confirmation
--this is because view removals from viewsdialog have
already been confirmed from the user
4 years ago
Michail Vourlakos 3c8ae2fde2 add internal CompactApplet qml implementation 4 years ago
Michail Vourlakos 7fcfcbc6e5 viewsdialog:concrete implementation for move
--these are the last pieces of code in order for
moving active views between different active layouts
to work properly
4 years ago
Michail Vourlakos 6bffba2b16 viewsdialog:support all cases move active views
--moving views between different active layouts can be
tricky because three different scenario should be handled:
--- onscreen_view -> onscreen_view in different active layouts
--- onscreen_view -> offscreen_view in different active layouts
--- offscreen_view -> onscreen_view in different active layouts
4 years ago
Michail Vourlakos 18233dc6ee viewsdialog:support moving between active layouts 4 years ago
Michail Vourlakos 5fd18ee0af add LayoutsManager::moveView function
--moveView for active layouts under MultipleLayouts
becomes more generic and can be used either from
onscreens and offscreens views
4 years ago
Michail Vourlakos 6362d662b7 viewsdialog:create safe cut/paste codepath
--cut/paste can be applied only if there are no changes
in reality otherwise copy/paste is happening
4 years ago
Michail Vourlakos 26e4f13bf6 viewsdialog:improve paste action informative message 4 years ago
Michail Vourlakos 14c560a38a viewsdialog:fixes for cut scenario 4 years ago
Michail Vourlakos dfa0949330 viewsdialog:implement cut action (send path)
--this is implementation when a user selects views
and chooses to Cut them so they are temporary stored
in the clipboard
4 years ago
Michail Vourlakos c6ee04c8cf data::view split moving flag in two values
--isMoveOrigin/isMoveDestination are flags used
to identify view records during Cut operation
4 years ago
Michail Vourlakos a4df805520 viewsdialog:add clipboardContentsChanged signal 4 years ago
Michail Vourlakos bfb7c95ff5 viewsdialog:fix next select index after removals
--the best user friednly index is the own that will
let the user to remove multiple views sequentely
4 years ago
Michail Vourlakos 76bc442ade viewsdialog:fixes for paste action 4 years ago
Michail Vourlakos ddd25a0215 viewsdialog:provide paste action 4 years ago
Michail Vourlakos c6aadab090 viewsdialog:provide copy function
--adjust also the duplicate action properly
4 years ago
Michail Vourlakos 1b72a68bc6 templatekeeper provide clipboard functions 4 years ago
Michail Vourlakos 8b00409d14 viewsdata:add isScheduledForMove flag
--it will help during Cut operations to identify
views that must be moved
4 years ago
Michail Vourlakos 8021602a33 viewsdialog:use templateskeeper for duplicate
--this way storedViews are reproduced only when
really needed. If an action has already produced
a storedView and no changes may have happen when
that storedView is used at all cases
4 years ago
Michail Vourlakos 4976c1e256 settingsdialog:introduce templateskeeper 4 years ago
Michail Vourlakos 3fa524f06c viewsdialog:update duplicate to multiple selection 4 years ago
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 945b8ba5ea expose margin values in pixels for the user
--margin values are in percentage, now the user
is able to hover over these values in order
to be informed how much they are calculated in
pixels
4 years ago
Michail Vourlakos a718d8d58a support aboutToQuit application signal on exit
--add also shadows to tasks window thumbnails
4 years ago
Michail Vourlakos 447f0e549c do not delay exit at all cases
--in the past a delay was needed in order for
docks panels to slide out nicely, this is not
needed any more because kwin takes responsibility
for this.
4 years ago
Michail Vourlakos 00a3d15478 fix #64,position views properly under wayland
--last week commit about beautiful slide in/out through
kwin infrastructure broke the wayland placement for
docks and panels. This commit fixes the issue
and at the same time provide beautifule slide in/outs
for docks panels during their creation and removal.
4 years ago
Michail Vourlakos a25760df5d use Containment::action("remove") directly
--update Layout::removeView implementation in order
to call containment "remove" function directly.
That approach works more reliable than the previous
one and we are that in the end no orphaned containment
config data will be present in the layout file.
4 years ago
Michail Vourlakos 1a910a73e4 viewsdialog:provide duplicate action 4 years ago
l10n daemon script e94f3ba475 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script 702d664b9e GIT_SILENT made messages (after extraction) 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 a14312b227 Storage:sync containment config before storedView 4 years ago
Michail Vourlakos 1afe12ad71 fix how not-installed plugins are identified 4 years ago
Michail Vourlakos aa608f1bf5 use ::storedView approach for Duplicate View 4 years ago
Michail Vourlakos 9d113ba754 provide Storage/Layout::storedView function
--it is going to be used in order for
Duplicate/Cut/Copy functionality to be supported
properly. Its main purpose is to accept a
layout and a containment_id and based on
that to provide a stored view temp file
which is going to be used as a template
for any future addition.
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 1fac17d6ba Storage:update newView for views editor
--trying to support newView that works in all the
cases between inactive/active layouts
4 years ago
Michail Vourlakos dc56e61e64 Storage::simplify a bit newUniqueIdsFile function 4 years ago
Michail Vourlakos 54e9fcdcec storage:adjustments to newUniquedIdsFile 4 years ago
Michail Vourlakos 9e4c233816 Storage::update uniqueIdsFile function 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 8c23f267ed smooth slide-in/out after startup and view removal 4 years ago
Michail Vourlakos f68aac0501 slide-out views when deleted 4 years ago
Michail Vourlakos 02ff6cc808 fixes for offline properties updates 4 years ago
Michail Vourlakos 050b454b5a support screen changes for offline containments 4 years ago
Michail Vourlakos 2b754dde97 provide inactive views update functionality 4 years ago
Michail Vourlakos 32566ea6ae storage:provide update view containment 4 years ago
Michail Vourlakos d420a75b8a view nextLocation show properly after slidein
--show view completely after slide-in and after the
slide-in animation has completed trigger visibiliy
checks based on regular visibility criteria
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 b03be80410 disable visibility toggleHidden for no sidebars
--that code can create issues during startup that
visibility mode is not yet set properly and it has
not yet been specified what is going to be its
proper behavior for no-sidebars visibility modes
4 years ago
Michail Vourlakos b235e6cc96 update view alignment to new architecture
--view alignment can now be updated either by
editdock window or through views dialog in
settings window
4 years ago
Michail Vourlakos 15039f7b8b update view name when changed from user 4 years ago
Michail Vourlakos 92f12b6f63 view:update move to layout
--update to new infrastructure that is able to
switch view location by combining multiple
changes at the same time
4 years ago
Michail Vourlakos cc4f901cf1 viewsdialog:support updating screen 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