2
* Copyright 2015 Marco Martin <mart@kde.org>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Library General Public License as
6
* published by the Free Software Foundation; either version 2 or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details
14
* You should have received a copy of the GNU Library General Public
15
* License along with this program; if not, write to the
16
* Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
import QtQuick.Layouts 1.1
22
import QtQuick.Controls 1.3
24
import org.kde.plasma.core 2.0 as PlasmaCore
25
import org.kde.plasma.components 2.0 as PlasmaComponents
32
margins: units.gridUnit
35
color: theme.backgroundColor
40
imagePath: "widgets/containment-controls"
42
PlasmaCore.FrameSvgItem {
45
right: background.right
46
verticalCenter: background.verticalCenter
48
height: maxSlider.height + minSlider.height
49
imagePath: "widgets/containment-controls"
54
horizontalCenter: parent.horizontalCenter
57
elementId: "south-offsetslider"
66
elementId: "south-maxslider"
75
elementId: "south-minslider"
83
elementId: "south-minslider"
91
elementId: "south-maxslider"
95
PlasmaComponents.Label {
97
horizontalCenter: background.horizontalCenter
98
bottom: background.bottom
100
text: model.imagePath
101
visible: width < background.width