Changeset View
Changeset View
Standalone View
Standalone View
desktoppackage/contents/configuration/ConfigurationShortcuts.qml
Show All 11 Lines | |||||
12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. | ||
13 | * | 13 | * | ||
14 | * You should have received a copy of the GNU General Public License | 14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | import QtQuick 2.0 | 19 | import QtQuick 2.0 | ||
20 | import QtQuick.Controls 1.0 as QtControls | 20 | import QtQuick.Controls 2.3 as QtControls | ||
21 | import QtQuick.Layouts 1.0 | 21 | import QtQuick.Layouts 1.0 | ||
22 | import org.kde.kquickcontrols 2.0 | 22 | import org.kde.kquickcontrols 2.0 | ||
23 | 23 | | |||
24 | Item { | 24 | Item { | ||
25 | id: root | 25 | id: root | ||
26 | width: childrenRect.width | | |||
27 | height: childrenRect.height | | |||
28 | 26 | | |||
29 | signal configurationChanged | 27 | signal configurationChanged | ||
30 | function saveConfig() { | 28 | function saveConfig() { | ||
31 | plasmoid.globalShortcut = button.keySequence | 29 | plasmoid.globalShortcut = button.keySequence | ||
32 | } | 30 | } | ||
33 | 31 | | |||
34 | ColumnLayout { | 32 | ColumnLayout { | ||
35 | anchors { | 33 | anchors { | ||
Show All 17 Lines |