/usr/share/kcm_kscreen/qml/main.qml is in kscreen 4:5.8.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | /*
Copyright (C) 2012 Dan Vratil <dvratil@redhat.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
import QtQuick 2.1
import QtQuick.Controls 1.1 as Controls
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kquickcontrols 2.0
import org.kde.kscreen 1.0
Item {
id: root;
property variant virtualScreen: null;
objectName: "root";
focus: true;
anchors.fill: parent;
SystemPalette {
id: palette;
}
Rectangle {
id: background;
anchors.fill: parent;
focus: true;
color: palette.base;
FocusScope {
id: outputViewFocusScope;
anchors.fill: parent;
focus: true;
QMLScreen {
id: outputView;
anchors.fill: parent;
clip: true;
objectName: "outputView";
}
}
Column {
anchors {
left: parent.left;
right: identifyButton.left;
bottom: parent.bottom;
margins: 5;
}
spacing: 5;
Tip {
id: dragTip;
icon: "dialog-information";
text: i18nd("kcm_displayconfiguration", "Tip: Hold Ctrl while dragging a display to disable snapping");
}
Tip {
id: noActiveOutputsWarning;
icon: "dialog-warning";
text: i18nd("kcm_displayconfiguration", "Warning: There are no active outputs!");
}
Tip {
id: tooManyActiveOutputs;
objectName: "tooManyActiveOutputs";
icon: "dialog-error";
text: i18ndp("kcm_displayconfiguration",
"Your system only supports up to %1 active screen",
"Your system only supports up to %1 active screens",
virtualScreen ? virtualScreen.maxActiveOutputsCount : 1);
}
}
Controls.ToolButton {
id: identifyButton
objectName: "identifyButton";
anchors {
right: parent.right
bottom: parent.bottom
margins: 5
}
height: width
width: theme.largeIconSize;
iconName: "kdocumentinfo"
tooltip: i18nd("kcm_displayconfiguration", "Identify outputs");
}
}
}
|