From 963f872433ffda7421e7b5863280413465f58ae9 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Fri, 6 May 2016 13:06:40 +0200 Subject: add account switcher dummy --- components/package/contents/ui/AccountSwitcher.qml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 components/package/contents/ui/AccountSwitcher.qml (limited to 'components/package') diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml new file mode 100644 index 00000000..0e620854 --- /dev/null +++ b/components/package/contents/ui/AccountSwitcher.qml @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2016 Michael Bohlender + * + * 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 3 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 . + */ + +import QtQuick 2.4 +import QtQuick.Controls 1.3 +import QtQuick.Layouts 1.1 + +import org.kube.framework.domain 1.0 as KubeFramework + +ComboBox { + model: KubeFramework.AccountsModel { } + textRole: "name" +} \ No newline at end of file -- cgit v1.2.3