mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-13 21:18:01 +03:00
add option for Tasks scrolling
This commit is contained in:
parent
468cabca0d
commit
f572970a95
@ -324,6 +324,9 @@
|
||||
<entry name="mouseWheelActions" type="Bool">
|
||||
<default>true</default>
|
||||
</entry>
|
||||
<entry name="scrollingTasksEnabled" type="Bool">
|
||||
<default>false</default>
|
||||
</entry>
|
||||
<entry name="unifiedGlobalShortcuts" type="Bool">
|
||||
<default>true</default>
|
||||
<label>Global Shortcuts are combined between applets and tasks</label>
|
||||
|
@ -409,6 +409,7 @@ DragDrop.DropArea {
|
||||
property bool showAudioBadge: plasmoid.configuration.showAudioBadge
|
||||
property bool audioBadgeActionsEnabled: plasmoid.configuration.audioBadgeActionsEnabled
|
||||
|
||||
property bool scrollingTasksEnabled: plasmoid.configuration.scrollingTasksEnabled
|
||||
property bool showWindowActions: plasmoid.configuration.showWindowActions
|
||||
property bool showWindowsOnlyFromLaunchers: plasmoid.configuration.showWindowsOnlyFromLaunchers
|
||||
property bool showOnlyCurrentScreen: plasmoid.configuration.showOnlyCurrentScreen
|
||||
|
@ -163,6 +163,8 @@ Item {
|
||||
property bool mouseWheelActions: latteView ? latteView.mouseWheelActions : true
|
||||
property bool parabolicEffectEnabled: latteView ? latteView.parabolicEffectEnabled : zoomFactor>1 && !root.editMode
|
||||
|
||||
property bool scrollingEnabled: latteView ? latteView.scrollingTasksEnabled : false
|
||||
|
||||
property bool showInfoBadge: latteView ? latteView.showInfoBadge : plasmoid.configuration.showInfoBadge
|
||||
property bool showProgressBadge: latteView ? latteView.showProgressBadge : plasmoid.configuration.showInfoBadge
|
||||
property bool showAudioBadge: latteView ? latteView.showAudioBadge : plasmoid.configuration.showAudioBadge
|
||||
@ -175,8 +177,6 @@ Item {
|
||||
property bool showWindowActions: latteView ? latteView.showWindowActions : plasmoid.configuration.showWindowActions
|
||||
property bool showWindowsOnlyFromLaunchers: latteView ? latteView.showWindowsOnlyFromLaunchers : false
|
||||
|
||||
property bool scrollingEnabled: true
|
||||
|
||||
property bool titleTooltips: latteView ? latteView.titleTooltips : false
|
||||
property alias windowPreviewIsShown: windowsPreviewDlg.visible
|
||||
|
||||
|
@ -132,10 +132,22 @@ PlasmaComponents.Page {
|
||||
}
|
||||
}
|
||||
|
||||
LatteComponents.CheckBox {
|
||||
Layout.maximumWidth: dialog.optionsWidth
|
||||
text: i18n("Support scrolling when items overflow")
|
||||
checked: plasmoid.configuration.scrollingTasksEnabled
|
||||
tooltip: i18n("When items overflow the user is able to scroll between them.\nTake note that automatic icon decrease mechanism will be disabled.")
|
||||
visible: dialog.highLevel
|
||||
|
||||
onClicked: {
|
||||
plasmoid.configuration.scrollingTasksEnabled = !plasmoid.configuration.scrollingTasksEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
LatteComponents.CheckBox {
|
||||
id: windowActionsChk
|
||||
Layout.maximumWidth: dialog.optionsWidth
|
||||
text: i18n("Show window actions in the context menu")
|
||||
text: i18n("Window actions in the context menu")
|
||||
checked: plasmoid.configuration.showWindowActions
|
||||
visible: dialog.highLevel
|
||||
enabled: !disableAllWindowsFunctionality
|
||||
|
Loading…
Reference in New Issue
Block a user