From 9bacddf36631572b610f042e17b5ee631dfebbca Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sun, 30 Oct 2022 12:03:43 +0100 Subject: Modernize cmake file and project structure a bit --- gui/client/connect.ui | 216 ---------------------- gui/client/toolbar.ui | 233 ------------------------ gui/server_normal/mainwindow.ui | 339 ----------------------------------- gui/server_normal/numerickeyboard.ui | 173 ------------------ gui/server_normal/reloadroom.ui | 73 -------- gui/server_normal/sessionname.ui | 66 ------- 6 files changed, 1100 deletions(-) delete mode 100644 gui/client/connect.ui delete mode 100644 gui/client/toolbar.ui delete mode 100644 gui/server_normal/mainwindow.ui delete mode 100644 gui/server_normal/numerickeyboard.ui delete mode 100644 gui/server_normal/reloadroom.ui delete mode 100644 gui/server_normal/sessionname.ui (limited to 'gui') diff --git a/gui/client/connect.ui b/gui/client/connect.ui deleted file mode 100644 index 0bfc654..0000000 --- a/gui/client/connect.ui +++ /dev/null @@ -1,216 +0,0 @@ - - - ConnectWindow - - - Qt::WindowModal - - - - 0 - 0 - 512 - 233 - - - - - 512 - 92 - - - - Connect to PVS session - - - - - - false - - - 0 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Connection - - - - - - Connect to - - - - - - - - - - - - - - 0 - 0 - - - - Manual Connection - - - - - - Session Name - - - - - - - - 0 - 0 - - - - - - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - true - - - - 0 - 0 - - - - - 94 - 72 - - - - :/dark-green-check-mark.svg - - - true - - - - - - - - - - - 6 - - - - - Close - - - false - - - false - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Connect - - - true - - - true - - - - - - - - - - - - diff --git a/gui/client/toolbar.ui b/gui/client/toolbar.ui deleted file mode 100644 index 9908dda..0000000 --- a/gui/client/toolbar.ui +++ /dev/null @@ -1,233 +0,0 @@ - - - Toolbar - - - - 0 - 0 - 281 - 28 - - - - Form - - - #Toolbar { - background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde); - border-radius: 0px; -} -QLabel { - background-color: none; -} -/* QPushButton */ -QPushButton { - background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde); - border: 2px solid #8f8f91; - border-radius: 4px; - min-width: 80px; -} -QPushButton:hover { - border: 2px solid rgb(0, 170, 255); -} -QPushButton:pressed { - background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa); -} -QPushButton:checked { - background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #cacbce, stop: 1 #e6e7ea); -} -QPushButton::menu-indicator { - image: url(:/darrow16.svg); -} - - - - - 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 - - - - - - - - - - - - 0 - 0 - - - - - 30 - 24 - - - - - 30 - 16777215 - - - - - 30 - 0 - - - - - 30 - 0 - - - - - - - - :/hand-raise - :/hand-raise-red:/hand-raise - - - - 22 - 22 - - - - true - - - - - - - - - - diff --git a/gui/server_normal/mainwindow.ui b/gui/server_normal/mainwindow.ui deleted file mode 100644 index 62b92f7..0000000 --- a/gui/server_normal/mainwindow.ui +++ /dev/null @@ -1,339 +0,0 @@ - - - MainWindow - - - - 0 - 0 - 846 - 801 - - - - PVS2 Manager - - - QToolButton { - border-radius: 8px; - padding: 4px; - margin: 5px; - border: 1px solid #777; -} -QToolButton:enabled { -background-color: #f8f8f8; -border: 1px solid #555; -} -QToolButton:enabled:hover { - background: qradialgradient(cx: 0.4, cy: -0.1, -fx: 0.4, fy: -0.1, -radius: 1.35, stop: 0 #fff, stop: 1 #ddd); -} - -QToolButton:enabled:checked, -QToolButton:enabled:pressed { -background: qradialgradient(cx: 0.4, cy: -0.1, -fx: 0.4, fy: -0.1, -radius: 1.35, stop: 0 #888, stop: 1 #aaa); -} -QLabel#examModeLabel { - width: 71px; - margin: 5px; - border-radius: 8px; - background-color: rgb(170, 170, 170); -} - - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - 3 - - - - - QFrame::StyledPanel - - - QFrame::Sunken - - - 2 - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 1 - 1 - - - - 0 - - - - - - - - - - - - - - - - toolBar - - - Qt::LeftToRight - - - true - - - false - - - - 48 - 48 - - - - LeftToolBarArea - - - false - - - - - - - - - - - - - - - - - - - :/exit - :/exit:/exit - - - Exit - - - Exit - - - Ctrl+Q - - - - - true - - - - :/lock:/lock - - - This will show a black screen on all connected clients, except the tutor's client. - - - Lock/Unlock all clients - - - Ctrl+A - - - - - - :/student2tutor:/student2tutor - - - Stream currently selected client's screen content to the tutor's client. - - - Student's Screen to Tutor - - - - - - :/student2tutorextension:/student2tutorextension - - - Stream currently selected client's screen content to the tutor's client while showing a locked black screen on all other clients. - - - Student's Screen to Tutor, others blanked - - - - - - :/tutor2student:/tutor2student - - - Stream the tutor's screen contents to the currently selected client. - - - Tutor's Screen to Student - - - - - - :/tutor2all:/tutor2all - - - Stream the tutor's screen contents to everyone. - - - Tutor's Screen to Everyone - - - - - - :/reset:/reset - - - Unlock all clients, stop any running screen content streaming. - - - Reset - - - R - - - - - - :/dozent:/dozent - - - Declare the currently selected client as tutor. The tutor will be excluded from screen locking and can be used as a fixed source/target for screen content streaming. - - - Declare tutor - - - T - - - - - - :/trash:/trash - - - Delete currently selected client. Only allowed for disconnected clients. - - - Delete Client - - - Del - - - true - - - - - - :/helpme:/helpme - - - Show this help text. - - - Help - - - F1 - - - true - - - - - - :/reloadClassroom:/reloadClassroom - - - This shows a list of preconfigured rooms which you can load. This will reset the currently shown layout and disconnect all clients. - - - Load a new room layout - - - - - - :/lock-single:/lock-single - - - Lock or unlock the selected client only. - - - Lock/Unlock single client - - - L - - - - - - - - - - diff --git a/gui/server_normal/numerickeyboard.ui b/gui/server_normal/numerickeyboard.ui deleted file mode 100644 index 2f83a2b..0000000 --- a/gui/server_normal/numerickeyboard.ui +++ /dev/null @@ -1,173 +0,0 @@ - - - NumericKeyboard - - - - 0 - 0 - 438 - 300 - - - - - 0 - 300 - - - - GroupBox - - - Keyboard - - - - - - - 0 - 40 - - - - 0 - - - - - - - - 0 - 40 - - - - Del - - - - - - - - 0 - 40 - - - - 1 - - - - - - - - 0 - 40 - - - - 8 - - - - - - - - 0 - 40 - - - - 4 - - - - - - - - 0 - 40 - - - - 2 - - - - - - - - 0 - 40 - - - - 5 - - - - - - - - 0 - 40 - - - - 7 - - - - - - - - 0 - 40 - - - - 3 - - - - - - - - 0 - 40 - - - - 6 - - - - - - - - 0 - 40 - - - - 9 - - - - - - - - diff --git a/gui/server_normal/reloadroom.ui b/gui/server_normal/reloadroom.ui deleted file mode 100644 index 2fb723e..0000000 --- a/gui/server_normal/reloadroom.ui +++ /dev/null @@ -1,73 +0,0 @@ - - - ReloadRoom - - - - 0 - 0 - 432 - 400 - - - - Reload Room - - - true - - - - - - - 11 - - - - Choose room configuration to reload: - - - - - - - - 20 - PreferDefault - - - - Qt::DefaultContextMenu - - - Qt::LeftToRight - - - QListView::Adjust - - - - - - - - 20 - - - - * {font-size: 20pt;} - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - false - - - - - - - - diff --git a/gui/server_normal/sessionname.ui b/gui/server_normal/sessionname.ui deleted file mode 100644 index 299df3d..0000000 --- a/gui/server_normal/sessionname.ui +++ /dev/null @@ -1,66 +0,0 @@ - - - SessionName - - - Qt::ApplicationModal - - - - 0 - 0 - 400 - 226 - - - - - 0 - 0 - - - - Set session name - - - - - - New session name - - - - - - - - 14 - 75 - true - true - - - - - - - - - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - Random name - - - - - - - - -- cgit v1.2.3-55-g7522