From cb93788148785758be72fcb2afe2039e7a882c53 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Thu, 6 Sep 2018 11:32:54 +0200
Subject: [client] New addon system for buttons and menu
Instead of integrating workspace switching and screen locking
directly into PVS2, introduce an addon system to insert new
functionality into the toolbar, as buttons or menu entries.
---
gui/client/toolbar.ui | 396 +++++++++++++++++++++++---------------------------
1 file changed, 185 insertions(+), 211 deletions(-)
(limited to 'gui')
diff --git a/gui/client/toolbar.ui b/gui/client/toolbar.ui
index cec570f..121961e 100644
--- a/gui/client/toolbar.ui
+++ b/gui/client/toolbar.ui
@@ -6,15 +6,15 @@
0
0
- 440
- 30
+ 281
+ 28
- Form
+ Form
- QFrame {
+ #Toolbar {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);
border-radius: 0px;
}
@@ -67,217 +67,191 @@ QCheckBox::indicator:checked:pressed {
-
- 0
+
+ 1
+
+ 2
+
+
+ 2
+
+
+ 2
+
+
+ 2
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 84
+ 24
+
+
+
+ Menu
+
+
+ Menu
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 20
+ 20
+
+
+
+
+ -
+
+
+ color:red
+
+
+ Offline
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 19
+ 20
+
+
+
+
+ -
+
+
+
+ 16
+ 16
+
+
+
+
+ 16
+ 16
+
+
+
+
+
+
+ true
+
+
+
+ -
+
+
+
+ 10
+ 75
+ true
+ true
+ true
+
+
+
+ color:#05f;
+
+
+ PVS
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 20
+ 20
+
+
+
+
+ -
+
+
-
-
-
- QFrame::StyledPanel
+
+
+
+ 0
+ 0
+
+
+
+
+ 30
+ 24
+
+
+
+
+ 30
+ 16777215
+
+
+
+
+ 30
+ 0
+
+
+
+
+ 30
+ 0
+
+
+
+
+
+
+
+
+
+
+ :/hand-raise
+ :/hand-raise-red:/hand-raise
+
+
+
+ 22
+ 22
+
+
+
+ true
-
- QFrame::Raised
+
+ false
-
-
- 3
-
-
-
-
-
-
- 84
- 24
-
-
-
- Menu
-
-
- Menu
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 20
- 20
-
-
-
-
- -
-
-
- color:red
-
-
- Offline
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 20
- 20
-
-
-
-
- -
-
-
-
- 16
- 16
-
-
-
-
- 16
- 16
-
-
-
-
-
-
- true
-
-
-
- -
-
-
-
- 10
- 75
- true
- true
- true
-
-
-
- color:#05f;
-
-
- PVS
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 20
- 20
-
-
-
-
- -
-
-
-
- 84
- 24
-
-
-
- <html><head/><body><p>Lock this workstation</p></body></html>
-
-
- Lock
-
-
-
- -
-
-
-
- 84
- 24
-
-
-
- Switch
-
-
- true
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 30
- 24
-
-
-
-
- 30
- 16777215
-
-
-
-
- 30
- 0
-
-
-
-
- 30
- 0
-
-
-
-
-
-
-
-
-
-
- :/hand-raise
- :/hand-raise-red:/hand-raise
-
-
-
- 22
- 22
-
-
-
- true
-
-
- false
-
-
-
-
--
cgit v1.2.3-55-g7522