mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 09:48:50 +00:00
bottom panel
This commit is contained in:
parent
89459bedcb
commit
acebac0944
1 changed files with 17 additions and 0 deletions
|
|
@ -17,10 +17,19 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
|
import org.kde.kwin 2.0;
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
function showWindowList() {
|
||||||
|
if (!mainItemLoader.item) {
|
||||||
|
mainItemLoader.source = "switcher.qml";
|
||||||
|
}
|
||||||
|
mainItemLoader.item.visible = true;
|
||||||
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: mainItemLoader
|
id: mainItemLoader
|
||||||
}
|
}
|
||||||
|
|
@ -34,6 +43,14 @@ Item {
|
||||||
mainItemLoader.item.visible = true;
|
mainItemLoader.item.visible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loader {
|
||||||
|
id: panelLoader
|
||||||
|
}
|
||||||
|
|
||||||
|
Component.onCompleted: {
|
||||||
|
panelLoader.source = "panel.qml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue