1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-09 05:57:39 +03:00

move Tasks contents a bit to the right

This commit is contained in:
Michail Vourlakos 2017-01-03 21:54:32 +02:00
parent 4ae8ea7f18
commit a45d9691dc

View File

@ -46,53 +46,60 @@ PlasmaComponents.Page{
text: i18n("Appearance")
}
Column{
spacing: 0.4*theme.defaultFont.pixelSize
PlasmaComponents.CheckBox {
id: showGlow
text: i18n("Show glow around windows points")
onCheckedChanged: {
plasmoid.configuration.showGlow = checked;
}
Component.onCompleted: checked = plasmoid.configuration.showGlow;
Row{
Item{
width: 2*theme.defaultFont.pixelSize
height: 1
}
PlasmaComponents.CheckBox {
id: threeColorsWindows
text: i18n("Different color for minimized windows")
Column{
spacing: 0.4*theme.defaultFont.pixelSize
onCheckedChanged: {
plasmoid.configuration.threeColorsWindows = checked;
PlasmaComponents.CheckBox {
id: showGlow
text: i18n("Show glow around windows points")
onCheckedChanged: {
plasmoid.configuration.showGlow = checked;
}
Component.onCompleted: checked = plasmoid.configuration.showGlow;
}
Component.onCompleted: checked = plasmoid.configuration.threeColorsWindows;
}
PlasmaComponents.CheckBox {
id: threeColorsWindows
text: i18n("Different color for minimized windows")
PlasmaComponents.CheckBox {
id: dotsOnActive
text: i18n("Dots on active window")
onCheckedChanged: {
plasmoid.configuration.threeColorsWindows = checked;
}
onCheckedChanged: {
plasmoid.configuration.dotsOnActive = checked;
Component.onCompleted: checked = plasmoid.configuration.threeColorsWindows;
}
Component.onCompleted: checked = plasmoid.configuration.dotsOnActive;
}
PlasmaComponents.CheckBox {
id: dotsOnActive
text: i18n("Dots on active window")
PlasmaComponents.CheckBox {
id: reverseLinesPosition
text: i18n("Reverse position for lines and dots")
onCheckedChanged: {
plasmoid.configuration.dotsOnActive = checked;
}
onCheckedChanged: {
plasmoid.configuration.reverseLinesPosition = checked;
Component.onCompleted: checked = plasmoid.configuration.dotsOnActive;
}
Component.onCompleted: checked = plasmoid.configuration.reverseLinesPosition;
PlasmaComponents.CheckBox {
id: reverseLinesPosition
text: i18n("Reverse position for lines and dots")
onCheckedChanged: {
plasmoid.configuration.reverseLinesPosition = checked;
}
Component.onCompleted: checked = plasmoid.configuration.reverseLinesPosition;
}
}
}
}
@ -106,51 +113,57 @@ PlasmaComponents.Page{
text: i18n("Interaction")
}
Column{
spacing: 0.4*theme.defaultFont.pixelSize
PlasmaComponents.CheckBox {
id: showPreviewsChk
text: i18n("Preview windows on hovering")
onCheckedChanged: {
plasmoid.configuration.showToolTips = checked;
}
Component.onCompleted: checked = plasmoid.configuration.showToolTips;
Row{
Item{
width: 2*theme.defaultFont.pixelSize
height: 1
}
Column{
spacing: 0.4*theme.defaultFont.pixelSize
PlasmaComponents.CheckBox {
id: highlightWindowsChk
text: i18n("Highlight windows on hovering")
PlasmaComponents.CheckBox {
id: showPreviewsChk
text: i18n("Preview windows on hovering")
onCheckedChanged: {
plasmoid.configuration.highlightWindows = checked;
onCheckedChanged: {
plasmoid.configuration.showToolTips = checked;
}
Component.onCompleted: checked = plasmoid.configuration.showToolTips;
}
Component.onCompleted: checked = plasmoid.configuration.highlightWindows;
}
PlasmaComponents.CheckBox {
id: highlightWindowsChk
text: i18n("Highlight windows on hovering")
PlasmaComponents.CheckBox {
id: windowActionsChk
text: i18n("Show window actions in the context menu")
onCheckedChanged: {
plasmoid.configuration.highlightWindows = checked;
}
onCheckedChanged: {
plasmoid.configuration.showWindowActions = checked;
Component.onCompleted: checked = plasmoid.configuration.highlightWindows;
}
Component.onCompleted: checked = plasmoid.configuration.showWindowActions;
}
PlasmaComponents.CheckBox {
id: windowActionsChk
text: i18n("Show window actions in the context menu")
PlasmaComponents.CheckBox {
id: smartLaunchersChk
text: i18n("Show progress information in task buttons")
onCheckedChanged: {
plasmoid.configuration.showWindowActions = checked;
}
onCheckedChanged: {
plasmoid.configuration.smartLaunchersEnabled = checked;
Component.onCompleted: checked = plasmoid.configuration.showWindowActions;
}
Component.onCompleted: checked = plasmoid.configuration.smartLaunchersEnabled;
PlasmaComponents.CheckBox {
id: smartLaunchersChk
text: i18n("Show progress information in task buttons")
onCheckedChanged: {
plasmoid.configuration.smartLaunchersEnabled = checked;
}
Component.onCompleted: checked = plasmoid.configuration.smartLaunchersEnabled;
}
}
}
}
@ -164,41 +177,46 @@ PlasmaComponents.Page{
text: i18n("Filters")
}
Column{
spacing: 0.4*theme.defaultFont.pixelSize
PlasmaComponents.CheckBox {
id: showOnlyCurrentScreen
text: i18n("Show only tasks from the current screen")
onCheckedChanged: {
plasmoid.configuration.showOnlyCurrentScreen = checked;
}
Component.onCompleted: checked = plasmoid.configuration.showOnlyCurrentScreen;
Row{
Item{
width: 2*theme.defaultFont.pixelSize
height: 1
}
PlasmaComponents.CheckBox {
id: showOnlyCurrentDesktop
text: i18n("Show only tasks from the current desktop")
onCheckedChanged: {
plasmoid.configuration.showOnlyCurrentDesktop = checked;
Column{
spacing: 0.4*theme.defaultFont.pixelSize
PlasmaComponents.CheckBox {
id: showOnlyCurrentScreen
text: i18n("Show only tasks from the current screen")
onCheckedChanged: {
plasmoid.configuration.showOnlyCurrentScreen = checked;
}
Component.onCompleted: checked = plasmoid.configuration.showOnlyCurrentScreen;
}
Component.onCompleted: checked = plasmoid.configuration.showOnlyCurrentDesktop;
}
PlasmaComponents.CheckBox {
id: showOnlyCurrentDesktop
text: i18n("Show only tasks from the current desktop")
onCheckedChanged: {
plasmoid.configuration.showOnlyCurrentDesktop = checked;
}
PlasmaComponents.CheckBox {
id: showOnlyCurrentActivity
text: i18n("Show only tasks from the current activity")
onCheckedChanged: {
plasmoid.configuration.showOnlyCurrentActivity = checked;
Component.onCompleted: checked = plasmoid.configuration.showOnlyCurrentDesktop;
}
Component.onCompleted: checked = plasmoid.configuration.showOnlyCurrentActivity;
}
PlasmaComponents.CheckBox {
id: showOnlyCurrentActivity
text: i18n("Show only tasks from the current activity")
onCheckedChanged: {
plasmoid.configuration.showOnlyCurrentActivity = checked;
}
Component.onCompleted: checked = plasmoid.configuration.showOnlyCurrentActivity;
}
}
}
}
}
}