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