[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kscreen/sebas/osd] kded: clean up unused file
From: Sebastian_Kügler <sebas () kde ! org>
Date: 2016-12-02 11:10:28
Message-ID: E1cCljY-0006KE-HF () code ! kde ! org
[Download RAW message or body]
Git commit a154b781bffee22214d8ad5f38a4d1ed60ee0d7e by Sebastian K=C3=BCgle=
r.
Committed on 02/12/2016 at 02:08.
Pushed by sebas into branch 'sebas/osd'.
clean up unused file
M +0 -1 kded/CMakeLists.txt
D +0 -92 kded/qml/ConfigPicker.qml
https://commits.kde.org/kscreen/a154b781bffee22214d8ad5f38a4d1ed60ee0d7e
diff --git a/kded/CMakeLists.txt b/kded/CMakeLists.txt
index e05fe4e..4f53c2a 100644
--- a/kded/CMakeLists.txt
+++ b/kded/CMakeLists.txt
@@ -46,7 +46,6 @@ set(QML_FILES
qml/Osd.qml
qml/OsdItem.qml
qml/OutputIdentifier.qml
- qml/ConfigPicker.qml
)
=
install(FILES ${QML_FILES} DESTINATION ${DATA_INSTALL_DIR}/kded_kscreen/qm=
l)
diff --git a/kded/qml/ConfigPicker.qml b/kded/qml/ConfigPicker.qml
deleted file mode 100644
index d05a196..0000000
--- a/kded/qml/ConfigPicker.qml
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright 2014 Martin Klapetek <mklapetek@kde.org>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-import QtQuick 2.0
-import org.kde.plasma.core 2.0 as PlasmaCore
-import org.kde.plasma.components 2.0 as PlasmaComponents
-import org.kde.plasma.extras 2.0 as PlasmaExtra
-import QtQuick.Window 2.2
-
-Item {
- property QtObject rootItem
- height: Math.min(units.gridUnit * 15, Screen.desktopAvailableHeight / =
5)
- width: height
-// height: rootItem.outputHeight + units.gridUnit
-// width: rootItem.outputWidth + units.gridUnit
-// objectName: "dialog"
-
- // /--------------------\
- // | spacing |
- // | /----------------\ |
- // | | | |
- // | | icon | |
- // | | | |
- // | | | |
- // | \----------------/ |
- // | spacing |
- // | [progressbar/text] |
- // | spacing |
- // \--------------------/
-
- PlasmaCore.IconItem {
- id: icon
-
- height: parent.height - Math.max(progressBar.height, label.height)
- - ((units.smallSpacing/2) * 3) //it's an svg
- width: parent.width
-
- source: rootItem.icon
- }
-
- PlasmaComponents.ProgressBar {
- id: progressBar
-
- anchors {
- bottom: parent.bottom
- left: parent.left
- right: parent.right
- margins: Math.floor(units.smallSpacing / 2)
- }
-
- visible: rootItem.showingProgress
- minimumValue: 0
- maximumValue: 100
-
- value: Number(rootItem.osdValue)
- }
- PlasmaExtra.Heading {
- id: label
- anchors {
- bottom: parent.bottom
- left: parent.left
- right: parent.right
- margins: Math.floor(units.smallSpacing / 2)
- }
-
- visible: !rootItem.showingProgress
- text: rootItem.showingProgress ? "" : (rootItem.osdValue ? rootIte=
m.osdValue : "")
- horizontalAlignment: Text.AlignHCenter
- wrapMode: Text.WordWrap
- maximumLineCount: 2
- elide: Text.ElideLeft
- minimumPointSize: theme.defaultFont.pointSize
- fontSizeMode: Text.HorizontalFit
- }
-
- Component.onCompleted: {
- }
-}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic