diff options
author | Sebastian | 2010-05-12 19:42:27 +0200 |
---|---|---|
committer | Sebastian | 2010-05-12 19:42:27 +0200 |
commit | ce3329047d378a14006ce74ec273ac59e3375303 (patch) | |
tree | 782430f270b4c7aca1b35d5b7813518e3797c555 /src/gui/ui | |
download | pvs-ce3329047d378a14006ce74ec273ac59e3375303.tar.gz pvs-ce3329047d378a14006ce74ec273ac59e3375303.tar.xz pvs-ce3329047d378a14006ce74ec273ac59e3375303.zip |
initial import of latest svn version
Diffstat (limited to 'src/gui/ui')
-rw-r--r-- | src/gui/ui/aboutDialog.ui | 251 | ||||
-rw-r--r-- | src/gui/ui/clientChatDialog.ui | 121 | ||||
-rw-r--r-- | src/gui/ui/clientConfigDialog.ui | 280 | ||||
-rw-r--r-- | src/gui/ui/clientFileReceiveDialog.ui | 134 | ||||
-rw-r--r-- | src/gui/ui/clientFileSendDialog.ui | 134 | ||||
-rw-r--r-- | src/gui/ui/clientInfoDialog.ui | 60 | ||||
-rw-r--r-- | src/gui/ui/clientNicklistDialog.ui | 110 | ||||
-rw-r--r-- | src/gui/ui/clientToolbar.ui | 214 | ||||
-rw-r--r-- | src/gui/ui/dialog.ui | 66 | ||||
-rw-r--r-- | src/gui/ui/mainwindow.ui | 540 | ||||
-rw-r--r-- | src/gui/ui/mainwindowtouch.ui | 645 | ||||
-rw-r--r-- | src/gui/ui/profileDialog.ui | 179 | ||||
-rw-r--r-- | src/gui/ui/projectionDialog.ui | 98 | ||||
-rw-r--r-- | src/gui/ui/serverChatDialog.ui | 121 | ||||
-rw-r--r-- | src/gui/ui/startdialog.ui | 195 | ||||
-rw-r--r-- | src/gui/ui/touchgui.ui | 322 |
16 files changed, 3470 insertions, 0 deletions
diff --git a/src/gui/ui/aboutDialog.ui b/src/gui/ui/aboutDialog.ui new file mode 100644 index 0000000..07d9852 --- /dev/null +++ b/src/gui/ui/aboutDialog.ui @@ -0,0 +1,251 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>AboutDialogClass</class> + <widget class="QDialog" name="AboutDialogClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>460</width> + <height>363</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVS - About</string> + </property> + <property name="windowIcon"> + <iconset resource="../../../pvsgui.qrc"> + <normaloff>:/cam32.svg</normaloff>:/cam32.svg</iconset> + </property> + <property name="locale"> + <locale language="English" country="UnitedStates"/> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../../../pvsgui.qrc">:/cam32.svg</pixmap> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:24pt; font-weight:600;">PVS</span></p></body></html></string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <spacer name="horizontalSpacer_4"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_version"> + <property name="text"> + <string notr="true">Version: xx.xx.xx</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <widget class="QTabWidget" name="tabWidget"> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="tab"> + <attribute name="title"> + <string>About</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string notr="true">Pool Video Switch</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string notr="true">feedback@openslx.org</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string notr="true">(c) 2009-2010, OpenSLX Project, University of Freiburg</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string notr="true"><a href="http://lab.openslx.org/projects/pvs">http://lab.openslx.org/projects/pvs</a></string> + </property> + <property name="openExternalLinks"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string><a href="http://www.gnu.org/licenses/gpl-2.0.txt">License: GNU General Public License Version 2</a></string> + </property> + <property name="openExternalLinks"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_1"> + <attribute name="title"> + <string>Authors</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QPlainTextEdit" name="plainTextEdit_authors"> + <property name="lineWrapMode"> + <enum>QPlainTextEdit::NoWrap</enum> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="plainText"> + <string/> + </property> + <property name="centerOnScroll"> + <bool>false</bool> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_2"> + <attribute name="title"> + <string>Translation</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <widget class="QPlainTextEdit" name="plainTextEdit_translation"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Close</set> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>AboutDialogClass</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>388</x> + <y>351</y> + </hint> + <hint type="destinationlabel"> + <x>109</x> + <y>333</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/gui/ui/clientChatDialog.ui b/src/gui/ui/clientChatDialog.ui new file mode 100644 index 0000000..43f64a9 --- /dev/null +++ b/src/gui/ui/clientChatDialog.ui @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ClientChatDialogClass</class> + <widget class="QDialog" name="ClientChatDialogClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>641</width> + <height>659</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVS - Chat </string> + </property> + <property name="windowIcon"> + <iconset resource="../../../pvsgui.qrc"> + <normaloff>:/cam32.svg</normaloff>:/cam32.svg</iconset> + </property> + <property name="locale"> + <locale language="English" country="UnitedStates"/> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QSplitter" name="splitter"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <widget class="QListWidget" name="listWidget"> + <property name="maximumSize"> + <size> + <width>150</width> + <height>16777215</height> + </size> + </property> + <property name="contextMenuPolicy"> + <enum>Qt::CustomContextMenu</enum> + </property> + <property name="sortingEnabled"> + <bool>true</bool> + </property> + </widget> + <widget class="QTabWidget" name="tabWidget"> + <property name="tabPosition"> + <enum>QTabWidget::South</enum> + </property> + <property name="tabsClosable"> + <bool>true</bool> + </property> + <widget class="QWidget" name="tab"> + <attribute name="title"> + <string notr="true">@all</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout"/> + </widget> + </widget> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEdit"/> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="pushButton"> + <property name="text"> + <string>&Send</string> + </property> + <property name="autoDefault"> + <bool>false</bool> + </property> + <property name="default"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections> + <connection> + <sender>lineEdit</sender> + <signal>returnPressed()</signal> + <receiver>pushButton</receiver> + <slot>click()</slot> + <hints> + <hint type="sourcelabel"> + <x>252</x> + <y>560</y> + </hint> + <hint type="destinationlabel"> + <x>529</x> + <y>589</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/gui/ui/clientConfigDialog.ui b/src/gui/ui/clientConfigDialog.ui new file mode 100644 index 0000000..3262b6b --- /dev/null +++ b/src/gui/ui/clientConfigDialog.ui @@ -0,0 +1,280 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ClientConfigDialogClass</class> + <widget class="QDialog" name="ClientConfigDialogClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>438</width> + <height>257</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVS - Configuration</string> + </property> + <property name="windowIcon"> + <iconset resource="../../../pvsgui.qrc"> + <normaloff>:/cam32.svg</normaloff>:/cam32.svg</iconset> + </property> + <property name="locale"> + <locale language="English" country="UnitedStates"/> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QTabWidget" name="tabWidget"> + <property name="tabPosition"> + <enum>QTabWidget::North</enum> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="tabPermissions"> + <attribute name="title"> + <string>Permissions</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_6"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Allow vnc access to lecturer?</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <property name="checkable"> + <bool>false</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <widget class="QRadioButton" name="radioButtonLecturerRW"> + <property name="text"> + <string>Full access</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButtonLecturerRO"> + <property name="text"> + <string>View only</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButtonLecturerNO"> + <property name="text"> + <string>None</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="Line" name="line_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> + <string>Allow vnc access to other?</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QRadioButton" name="radioButtonOtherRW"> + <property name="text"> + <string>Full access</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButtonOtherRO"> + <property name="text"> + <string>View only</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="radioButtonOtherNO"> + <property name="text"> + <string>None</string> + </property> + <property name="checked"> + <bool>false</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </item> + <item> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_5"> + <item> + <widget class="QCheckBox" name="checkBoxAllowChat"> + <property name="text"> + <string>Accept chat messages</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBoxAllowFiletransfer"> + <property name="text"> + <string>Accept file transfers</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="tabDisplay"> + <attribute name="title"> + <string>Display</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QComboBox" name="comboBox"> + <item> + <property name="text"> + <string>Top Left</string> + </property> + </item> + <item> + <property name="text"> + <string>Top Center</string> + </property> + </item> + <item> + <property name="text"> + <string>Top Right</string> + </property> + </item> + <item> + <property name="text"> + <string>Bottom Left</string> + </property> + </item> + <item> + <property name="text"> + <string>Bottom Center</string> + </property> + </item> + <item> + <property name="text"> + <string>Bottom Right</string> + </property> + </item> + </widget> + </item> + </layout> + </widget> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>ClientConfigDialogClass</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>62</x> + <y>274</y> + </hint> + <hint type="destinationlabel"> + <x>4</x> + <y>37</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>ClientConfigDialogClass</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>195</x> + <y>274</y> + </hint> + <hint type="destinationlabel"> + <x>233</x> + <y>32</y> + </hint> + </hints> + </connection> + <connection> + <sender>radioButtonOtherRW</sender> + <signal>clicked()</signal> + <receiver>radioButtonLecturerRW</receiver> + <slot>click()</slot> + <hints> + <hint type="sourcelabel"> + <x>87</x> + <y>167</y> + </hint> + <hint type="destinationlabel"> + <x>198</x> + <y>56</y> + </hint> + </hints> + </connection> + <connection> + <sender>radioButtonLecturerNO</sender> + <signal>clicked()</signal> + <receiver>radioButtonOtherNO</receiver> + <slot>click()</slot> + <hints> + <hint type="sourcelabel"> + <x>149</x> + <y>106</y> + </hint> + <hint type="destinationlabel"> + <x>84</x> + <y>219</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/gui/ui/clientFileReceiveDialog.ui b/src/gui/ui/clientFileReceiveDialog.ui new file mode 100644 index 0000000..af3a135 --- /dev/null +++ b/src/gui/ui/clientFileReceiveDialog.ui @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ClientFileReceiveDialogClass</class> + <widget class="QDialog" name="ClientFileReceiveDialogClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>208</width> + <height>108</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVS - File Transfer</string> + </property> + <property name="windowIcon"> + <iconset resource="../../../pvsgui.qrc"> + <normaloff>:/cam32.svg</normaloff>:/cam32.svg</iconset> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="filenameLabel"> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item> + <widget class="QProgressBar" name="progressBar"> + <property name="value"> + <number>0</number> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Receiving from:</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="labelNick"> + <property name="text"> + <string>unknown</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="labelA"> + <property name="text"> + <string>0</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>/</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="labelB"> + <property name="text"> + <string>0</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="cancelButton"> + <property name="text"> + <string>&Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections> + <connection> + <sender>cancelButton</sender> + <signal>clicked()</signal> + <receiver>ClientFileReceiveDialogClass</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>220</x> + <y>242</y> + </hint> + <hint type="destinationlabel"> + <x>345</x> + <y>270</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/gui/ui/clientFileSendDialog.ui b/src/gui/ui/clientFileSendDialog.ui new file mode 100644 index 0000000..d2d9c75 --- /dev/null +++ b/src/gui/ui/clientFileSendDialog.ui @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ClientFileSendDialogClass</class> + <widget class="QDialog" name="ClientFileSendDialogClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>186</width> + <height>108</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVS - File Transfer</string> + </property> + <property name="windowIcon"> + <iconset resource="../../../pvsgui.qrc"> + <normaloff>:/cam32.svg</normaloff>:/cam32.svg</iconset> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="filenameLabel"> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item> + <widget class="QProgressBar" name="progressBar"> + <property name="value"> + <number>0</number> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Sending to:</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="labelNick"> + <property name="text"> + <string>unknown</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="labelA"> + <property name="text"> + <string>0</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>/</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="labelB"> + <property name="text"> + <string>0</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="cancelButton"> + <property name="text"> + <string>&Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections> + <connection> + <sender>cancelButton</sender> + <signal>clicked()</signal> + <receiver>ClientFileSendDialogClass</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>116</x> + <y>61</y> + </hint> + <hint type="destinationlabel"> + <x>38</x> + <y>55</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/gui/ui/clientInfoDialog.ui b/src/gui/ui/clientInfoDialog.ui new file mode 100644 index 0000000..a186641 --- /dev/null +++ b/src/gui/ui/clientInfoDialog.ui @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>InfoDialogClass</class> + <widget class="QDialog" name="InfoDialogClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>312</width> + <height>203</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVS - Information</string> + </property> + <property name="windowIcon"> + <iconset resource="../../../pvsgui.qrc"> + <normaloff>:/cam32.svg</normaloff>:/cam32.svg</iconset> + </property> + <property name="styleSheet"> + <string notr="true">QDialog { + background-color: white; +}</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="hostLabel"> + <property name="text"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:72pt; font-weight:600; color:#0000ff;">HOST</span></p></body></html></string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="passwdLabel"> + <property name="text"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:48pt; font-weight:600; color:#ff0000;">PASSWD</span></p></body></html></string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections/> +</ui> diff --git a/src/gui/ui/clientNicklistDialog.ui b/src/gui/ui/clientNicklistDialog.ui new file mode 100644 index 0000000..afd84f1 --- /dev/null +++ b/src/gui/ui/clientNicklistDialog.ui @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ClientNicklistDialogClass</class> + <widget class="QDialog" name="ClientNicklistDialogClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>264</width> + <height>396</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVS - Users</string> + </property> + <property name="windowIcon"> + <iconset resource="../../../pvsgui.qrc"> + <normaloff>:/cam32.svg</normaloff>:/cam32.svg</iconset> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Select user:</string> + </property> + </widget> + </item> + <item> + <widget class="QListWidget" name="listWidget"/> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>ClientNicklistDialogClass</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>258</x> + <y>390</y> + </hint> + <hint type="destinationlabel"> + <x>373</x> + <y>526</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>ClientNicklistDialogClass</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>258</x> + <y>390</y> + </hint> + <hint type="destinationlabel"> + <x>428</x> + <y>525</y> + </hint> + </hints> + </connection> + <connection> + <sender>listWidget</sender> + <signal>doubleClicked(QModelIndex)</signal> + <receiver>ClientNicklistDialogClass</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>88</x> + <y>120</y> + </hint> + <hint type="destinationlabel"> + <x>27</x> + <y>375</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/gui/ui/clientToolbar.ui b/src/gui/ui/clientToolbar.ui new file mode 100644 index 0000000..5a59c5f --- /dev/null +++ b/src/gui/ui/clientToolbar.ui @@ -0,0 +1,214 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ClientToolbarClass</class> + <widget class="QWidget" name="ClientToolbarClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>577</width> + <height>28</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <property name="styleSheet"> + <string notr="true">QFrame { + 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::menu-indicator { + image: url(:/darrow16.svg); +} +/* QCheckBox */ +QCheckBox { +} +QCheckBox::indicator { + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde); + border: 2px solid #8f8f91; + border-radius: 4px; + width: 16px; + height: 16px; +} +QCheckBox::indicator:unchecked { +} +QCheckBox::indicator:unchecked:hover { + border: 2px solid rgb(0, 170, 255); +} +QCheckBox::indicator:unchecked:pressed { + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa); +} +QCheckBox::indicator:checked { + image: url(:/ok16.svg); +} +QCheckBox::indicator:checked:hover { + border: 2px solid rgb(0, 170, 255); +} +QCheckBox::indicator:checked:pressed { + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa); +} +</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <property name="margin"> + <number>0</number> + </property> + <item> + <widget class="QFrame" name="frame"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QPushButton" name="pvsButton"> + <property name="toolTip"> + <string>Menu</string> + </property> + <property name="text"> + <string notr="true">Menu</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Host:</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="hostButton"> + <property name="toolTip"> + <string>Click to connect</string> + </property> + <property name="text"> + <string>-</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="statusLabel"> + <property name="text"> + <string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">Offline</span></p></body></html></string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QCheckBox" name="vncCheckBox"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string>Enable/Disable VNC only for this session</string> + </property> + <property name="text"> + <string>Allow VNC</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt; font-weight:600; font-style:italic; color:#0055ff;">Pool Video Switch</span></p></body></html></string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="maximumSize"> + <size> + <width>16</width> + <height>16</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../../../pvsgui.qrc">:/cam32.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections/> +</ui> diff --git a/src/gui/ui/dialog.ui b/src/gui/ui/dialog.ui new file mode 100644 index 0000000..ec16160 --- /dev/null +++ b/src/gui/ui/dialog.ui @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>MsgDialog</class> + <widget class="QDialog" name="MsgDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>193</height> + </rect> + </property> + <property name="windowTitle"> + <string>Dialog</string> + </property> + <widget class="QWidget" name="layoutWidget"> + <property name="geometry"> + <rect> + <x>20</x> + <y>20</y> + <width>351</width> + <height>171</height> + </rect> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QTextEdit" name="message"/> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>108</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="cancel"> + <property name="text"> + <string>Cancel</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="send"> + <property name="text"> + <string>Send</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </widget> + <layoutdefault spacing="6" margin="11"/> + <resources/> + <connections/> +</ui> diff --git a/src/gui/ui/mainwindow.ui b/src/gui/ui/mainwindow.ui new file mode 100644 index 0000000..eb49d1b --- /dev/null +++ b/src/gui/ui/mainwindow.ui @@ -0,0 +1,540 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>MainWindow</class> + <widget class="QMainWindow" name="MainWindow"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>838</width> + <height>607</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVSmgr</string> + </property> + <widget class="QWidget" name="centralWidget"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QScrollArea" name="scrollArea"> + <property name="styleSheet"> + <string>border-color: rgb(0, 0, 0);</string> + </property> + <property name="widgetResizable"> + <bool>true</bool> + </property> + <widget class="QWidget" name="scrollAreaWidgetContents"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>776</width> + <height>534</height> + </rect> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>VNC quality</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="vncQuality"> + <item> + <property name="text"> + <string>HIGH</string> + </property> + </item> + <item> + <property name="text"> + <string>MEDIUM</string> + </property> + </item> + <item> + <property name="text"> + <string>LOW</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="Line" name="separator"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="setPassword"> + <property name="text"> + <string>Set password</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="thumbStatus"> + <item> + <property name="text"> + <string>Thumbnailratio</string> + </property> + </item> + <item> + <property name="text"> + <string>Thumbnailrate</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QSlider" name="horizontalSlider"> + <property name="minimum"> + <number>25</number> + </property> + <property name="maximum"> + <number>200</number> + </property> + <property name="singleStep"> + <number>25</number> + </property> + <property name="pageStep"> + <number>25</number> + </property> + <property name="value"> + <number>25</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="tickPosition"> + <enum>QSlider::TicksBothSides</enum> + </property> + <property name="tickInterval"> + <number>0</number> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string> 0</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>%</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QSplitter" name="splitter_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <widget class="QSplitter" name="splitter"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <widget class="QWidget" name="ClWidget" native="true"> + <property name="minimumSize"> + <size> + <width>150</width> + <height>240</height> + </size> + </property> + <property name="styleSheet"> + <string>background-color: rgb(255, 255, 255);</string> + </property> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="0" column="0"> + <layout class="QGridLayout" name="ClientGLayout"/> + </item> + </layout> + </widget> + <widget class="QWidget" name="widget" native="true"> + <property name="styleSheet"> + <string>background-color: rgb(150, 150, 150);</string> + </property> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="VconWinLayout"/> + </item> + </layout> + </widget> + </widget> + <widget class="QTextEdit" name="pvsLog"/> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </widget> + <widget class="QMenuBar" name="menuBar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>838</width> + <height>28</height> + </rect> + </property> + <widget class="QMenu" name="menu_File"> + <property name="title"> + <string>&File</string> + </property> + <widget class="QMenu" name="menuLoad_profile"> + <property name="title"> + <string>Load profile </string> + </property> + </widget> + <addaction name="action_Disconnect"/> + <addaction name="separator"/> + <addaction name="actionCreate_profile"/> + <addaction name="separator"/> + <addaction name="menuLoad_profile"/> + <addaction name="separator"/> + <addaction name="action_Exit"/> + </widget> + <widget class="QMenu" name="menuClients"> + <property name="title"> + <string>&Clients</string> + </property> + <addaction name="actionShow_Fullname"/> + <addaction name="actionShow_Hostname_IP"/> + <addaction name="actionShow_Username"/> + <addaction name="separator"/> + <addaction name="actionVNC_Placeholders"/> + </widget> + <widget class="QMenu" name="menuLogging"> + <property name="title"> + <string>&Logging</string> + </property> + <addaction name="actionShow_Log"/> + <addaction name="separator"/> + <addaction name="actionShow_Normal"/> + <addaction name="actionShow_Error"/> + <addaction name="actionShow_Network"/> + <addaction name="actionShow_Terminal"/> + <addaction name="actionShow_Chat"/> + </widget> + <widget class="QMenu" name="menu_Help"> + <property name="title"> + <string>&Help</string> + </property> + <addaction name="actionAbout_pvs"/> + </widget> + <addaction name="menu_File"/> + <addaction name="menuClients"/> + <addaction name="menuLogging"/> + <addaction name="menu_Help"/> + </widget> + <widget class="QStatusBar" name="statusBar"/> + <widget class="QToolBar" name="toolBar"> + <property name="maximumSize"> + <size> + <width>129000</width> + <height>12900</height> + </size> + </property> + <property name="windowTitle"> + <string>toolBar</string> + </property> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="movable"> + <bool>true</bool> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonIconOnly</enum> + </property> + <property name="floatable"> + <bool>false</bool> + </property> + <attribute name="toolBarArea"> + <enum>LeftToolBarArea</enum> + </attribute> + <attribute name="toolBarBreak"> + <bool>false</bool> + </attribute> + <addaction name="action_Exit"/> + <addaction name="action_Disconnect"/> + <addaction name="actionFoto"/> + <addaction name="actionView"/> + <addaction name="actionLock"/> + <addaction name="actionChat"/> + </widget> + <action name="actionShow_Username"> + <property name="checkable"> + <bool>false</bool> + </property> + <property name="text"> + <string>Show Username</string> + </property> + <property name="shortcut"> + <string>Ctrl+3</string> + </property> + </action> + <action name="actionShow_Hostname_IP"> + <property name="checkable"> + <bool>false</bool> + </property> + <property name="text"> + <string>Show IP</string> + </property> + <property name="shortcut"> + <string>Ctrl+2</string> + </property> + </action> + <action name="actionVNC_Placeholders"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>VNC-Placeholders</string> + </property> + </action> + <action name="actionShow_Log"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> + <property name="text"> + <string>Show Log</string> + </property> + <property name="shortcut"> + <string>Ctrl+L</string> + </property> + </action> + <action name="actionShow_Normal"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Normal</string> + </property> + <property name="shortcut"> + <string>Ctrl+O</string> + </property> + </action> + <action name="actionShow_Error"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Error</string> + </property> + <property name="shortcut"> + <string>Ctrl+E</string> + </property> + </action> + <action name="actionShow_Network"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Network</string> + </property> + <property name="shortcut"> + <string>Ctrl+N</string> + </property> + </action> + <action name="actionShow_Terminal"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Terminal</string> + </property> + <property name="shortcut"> + <string>Ctrl+T</string> + </property> + </action> + <action name="actionShow_Chat"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Chat</string> + </property> + <property name="shortcut"> + <string>Ctrl+G</string> + </property> + </action> + <action name="actionAbout_pvs"> + <property name="text"> + <string>About pvs</string> + </property> + <property name="shortcut"> + <string>Ctrl+P</string> + </property> + </action> + <action name="action100_x_100"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>100 x 100</string> + </property> + </action> + <action name="action200_x_200"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>200 x 200</string> + </property> + </action> + <action name="action500_x_500"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>500 x 500</string> + </property> + </action> + <action name="action_Disconnect"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/logout</normaloff>:/logout</iconset> + </property> + <property name="text"> + <string>&Disconnect</string> + </property> + <property name="shortcut"> + <string>Ctrl+W</string> + </property> + </action> + <action name="action_Exit"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/exit</normaloff> + <normalon>:/exit</normalon>:/exit</iconset> + </property> + <property name="text"> + <string>&Exit</string> + </property> + <property name="toolTip"> + <string>Exit</string> + </property> + <property name="shortcut"> + <string>Ctrl+Q</string> + </property> + </action> + <action name="actionFoto"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/photos</normaloff>:/photos</iconset> + </property> + <property name="text"> + <string>Foto</string> + </property> + <property name="toolTip"> + <string>Foto</string> + </property> + <property name="shortcut"> + <string>Ctrl+F</string> + </property> + </action> + <action name="actionView"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/restore</normaloff>:/restore</iconset> + </property> + <property name="text"> + <string>view</string> + </property> + <property name="toolTip"> + <string>View</string> + </property> + <property name="shortcut"> + <string>Ctrl+V</string> + </property> + </action> + <action name="actionLock"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/lock</normaloff>:/lock</iconset> + </property> + <property name="text"> + <string>lock</string> + </property> + <property name="toolTip"> + <string>Lock or Unlock all Clients</string> + </property> + <property name="shortcut"> + <string>Ctrl+A</string> + </property> + </action> + <action name="actionCreate_profile"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/profile</normaloff>:/profile</iconset> + </property> + <property name="text"> + <string>Profile &manager</string> + </property> + <property name="shortcut"> + <string>Ctrl+M</string> + </property> + </action> + <action name="actionShow_Fullname"> + <property name="text"> + <string>Show Name</string> + </property> + <property name="shortcut"> + <string>Ctrl+1</string> + </property> + </action> + <action name="actionChat"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/chat</normaloff>:/chat</iconset> + </property> + <property name="text"> + <string>Chat</string> + </property> + <property name="toolTip"> + <string>Start Chat with client(s)</string> + </property> + <property name="shortcut"> + <string>Ctrl+D</string> + </property> + </action> + <action name="dummy"> + <property name="text"> + <string>-</string> + </property> + </action> + </widget> + <layoutdefault spacing="6" margin="11"/> + <resources> + <include location="../../../pvsmgr.qrc"/> + </resources> + <connections/> +</ui> diff --git a/src/gui/ui/mainwindowtouch.ui b/src/gui/ui/mainwindowtouch.ui new file mode 100644 index 0000000..9030b17 --- /dev/null +++ b/src/gui/ui/mainwindowtouch.ui @@ -0,0 +1,645 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>MainWindow</class> + <widget class="QMainWindow" name="MainWindow"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>1349</width> + <height>768</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVSmgr</string> + </property> + <widget class="QWidget" name="centralWidget"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QScrollArea" name="scrollArea"> + <property name="styleSheet"> + <string>border-color: rgb(0, 0, 0);</string> + </property> + <property name="widgetResizable"> + <bool>true</bool> + </property> + <widget class="QWidget" name="scrollAreaWidgetContents"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>1327</width> + <height>658</height> + </rect> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QComboBox" name="comboBox_touch1"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <item> + <property name="text"> + <string>All</string> + </property> + </item> + <item> + <property name="text"> + <string>Lock</string> + </property> + </item> + <item> + <property name="text"> + <string>Unlock</string> + </property> + </item> + <item> + <property name="text"> + <string>Unproject</string> + </property> + </item> + <item> + <property name="text"> + <string>Backgroundimage</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="Line" name="line_5"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>VNC-Quality</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="vncQuality"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <item> + <property name="text"> + <string>HIGH</string> + </property> + </item> + <item> + <property name="text"> + <string>MEDIUM</string> + </property> + </item> + <item> + <property name="text"> + <string>LOW</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="Line" name="line_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pushButton_2"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <property name="text"> + <string>ClientList</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pushButton"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <property name="text"> + <string>Profile</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line_4"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QProgressBar" name="progressBar"> + <property name="styleSheet"> + <string>border-color: rgb(0, 0, 0);</string> + </property> + <property name="value"> + <number>0</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="Line" name="separator"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="setPassword"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <property name="text"> + <string>setPassword</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="thumbStatus"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <item> + <property name="text"> + <string>Thumbnailratio</string> + </property> + </item> + <item> + <property name="text"> + <string>Thumbnailrate</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QSlider" name="horizontalSlider"> + <property name="minimum"> + <number>25</number> + </property> + <property name="maximum"> + <number>200</number> + </property> + <property name="singleStep"> + <number>25</number> + </property> + <property name="pageStep"> + <number>25</number> + </property> + <property name="value"> + <number>25</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="tickPosition"> + <enum>QSlider::TicksBothSides</enum> + </property> + <property name="tickInterval"> + <number>0</number> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string> 0</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>%</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="1" column="0"> + <widget class="QSplitter" name="splitter_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <widget class="QSplitter" name="splitter"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <widget class="QWidget" name="ClWidget" native="true"> + <property name="minimumSize"> + <size> + <width>150</width> + <height>240</height> + </size> + </property> + <property name="styleSheet"> + <string>background-color: rgb(255, 255, 255);</string> + </property> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="0" column="0"> + <layout class="QGridLayout" name="ClientGLayout"/> + </item> + </layout> + </widget> + <widget class="QWidget" name="widget" native="true"> + <property name="styleSheet"> + <string>background-color: rgb(150, 150, 150);</string> + </property> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="VconWinLayout"/> + </item> + </layout> + </widget> + </widget> + <widget class="QTextEdit" name="pvsLog"/> + </widget> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </widget> + <widget class="QStatusBar" name="statusBar"/> + <widget class="QToolBar" name="toolBar"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="maximumSize"> + <size> + <width>129000</width> + <height>12900</height> + </size> + </property> + <property name="font"> + <font> + <pointsize>15</pointsize> + <kerning>true</kerning> + </font> + </property> + <property name="windowTitle"> + <string>toolBar</string> + </property> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="movable"> + <bool>false</bool> + </property> + <property name="iconSize"> + <size> + <width>50</width> + <height>50</height> + </size> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonIconOnly</enum> + </property> + <property name="floatable"> + <bool>false</bool> + </property> + <attribute name="toolBarArea"> + <enum>TopToolBarArea</enum> + </attribute> + <attribute name="toolBarBreak"> + <bool>false</bool> + </attribute> + <addaction name="action_Exit"/> + <addaction name="separator"/> + <addaction name="actionFoto"/> + <addaction name="separator"/> + <addaction name="actionView"/> + <addaction name="separator"/> + <addaction name="actionProjection"/> + <addaction name="separator"/> + <addaction name="actionUnprojection"/> + <addaction name="separator"/> + <addaction name="actionLocksingle"/> + <addaction name="separator"/> + <addaction name="actionUnlocksingle"/> + <addaction name="separator"/> + <addaction name="actionLock"/> + <addaction name="separator"/> + <addaction name="actionresetall"/> + <addaction name="separator"/> + <addaction name="actionDozent"/> + </widget> + <action name="actionShow_Username"> + <property name="checkable"> + <bool>false</bool> + </property> + <property name="text"> + <string>Show Username</string> + </property> + </action> + <action name="actionShow_Hostname_IP"> + <property name="checkable"> + <bool>false</bool> + </property> + <property name="text"> + <string>Show Hostname/IP</string> + </property> + </action> + <action name="actionVNC_Placeholders"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>VNC-Placeholders</string> + </property> + </action> + <action name="actionShow_Log"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> + <property name="text"> + <string>Show Log</string> + </property> + </action> + <action name="actionShow_Normal"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Normal</string> + </property> + </action> + <action name="actionShow_Error"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Error</string> + </property> + </action> + <action name="actionShow_Network"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Network</string> + </property> + </action> + <action name="actionShow_Terminal"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Terminal</string> + </property> + </action> + <action name="actionShow_Chat"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Show Chat</string> + </property> + </action> + <action name="actionAbout_pvs"> + <property name="text"> + <string>About pvs</string> + </property> + </action> + <action name="action100_x_100"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>100 x 100</string> + </property> + </action> + <action name="action200_x_200"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>200 x 200</string> + </property> + </action> + <action name="action500_x_500"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>500 x 500</string> + </property> + </action> + <action name="action_Disconnect"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/logout</normaloff>:/logout</iconset> + </property> + <property name="text"> + <string>&Disconnect</string> + </property> + <property name="shortcut"> + <string>Ctrl+W</string> + </property> + </action> + <action name="action_Exit"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/exit</normaloff> + <normalon>:/exit</normalon>:/exit</iconset> + </property> + <property name="text"> + <string>&Exit</string> + </property> + <property name="shortcut"> + <string>Ctrl+Q</string> + </property> + </action> + <action name="actionFoto"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/photos</normaloff>:/photos</iconset> + </property> + <property name="text"> + <string>Foto</string> + </property> + <property name="toolTip"> + <string>Foto</string> + </property> + </action> + <action name="actionView"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/restore</normaloff>:/restore</iconset> + </property> + <property name="text"> + <string>view</string> + </property> + <property name="toolTip"> + <string>View</string> + </property> + </action> + <action name="actionLock"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/lock</normaloff>:/lock</iconset> + </property> + <property name="text"> + <string>lock</string> + </property> + <property name="toolTip"> + <string>Lock All Clients</string> + </property> + </action> + <action name="actionCreate_profile"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/profile</normaloff>:/profile</iconset> + </property> + <property name="text"> + <string>Create profile</string> + </property> + </action> + <action name="actionresetall"> + <property name="icon"> + <iconset> + <activeon>:/icons/reset.png</activeon> + </iconset> + </property> + <property name="text"> + <string>resetall</string> + </property> + <property name="toolTip"> + <string>Reset Projections and Locks</string> + </property> + <property name="shortcut"> + <string>Ctrl+R</string> + </property> + </action> + <action name="actionLocksingle"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/icons/locksingle.png</normaloff>:/icons/locksingle.png</iconset> + </property> + <property name="text"> + <string>locksingle</string> + </property> + <property name="toolTip"> + <string>Locks a Single Target</string> + </property> + </action> + <action name="actionUnlocksingle"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/icons/unlocksingle.png</normaloff>:/icons/unlocksingle.png</iconset> + </property> + <property name="text"> + <string>unlocksingle</string> + </property> + <property name="toolTip"> + <string>Unlocks a single target</string> + </property> + </action> + <action name="actionProjection"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/icons/projection.png</normaloff>:/icons/projection.png</iconset> + </property> + <property name="text"> + <string>projection</string> + </property> + <property name="toolTip"> + <string>Projects a single target</string> + </property> + </action> + <action name="actionUnprojection"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/icons/unprojection.png</normaloff>:/icons/unprojection.png</iconset> + </property> + <property name="text"> + <string>unprojection</string> + </property> + <property name="toolTip"> + <string>Unprojects a single target</string> + </property> + </action> + <action name="actionDozent"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/dozent2</normaloff>:/dozent2</iconset> + </property> + <property name="text"> + <string>dozent</string> + </property> + <property name="toolTip"> + <string>Select Tutor PC</string> + </property> + </action> + <action name="actionShow_Fullname"> + <property name="text"> + <string>Show Name</string> + </property> + </action> + <action name="actionChat"> + <property name="icon"> + <iconset resource="../../../pvsmgr.qrc"> + <normaloff>:/chat</normaloff>:/chat</iconset> + </property> + <property name="text"> + <string>Chat</string> + </property> + <property name="toolTip"> + <string>Start chat with client(s)</string> + </property> + <property name="shortcut"> + <string>Ctrl+D</string> + </property> + </action> + </widget> + <layoutdefault spacing="6" margin="11"/> + <resources> + <include location="../../../pvsmgr.qrc"/> + </resources> + <connections/> +</ui> diff --git a/src/gui/ui/profileDialog.ui b/src/gui/ui/profileDialog.ui new file mode 100644 index 0000000..3302a56 --- /dev/null +++ b/src/gui/ui/profileDialog.ui @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>Dialog</class> + <widget class="QDialog" name="Dialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>332</width> + <height>485</height> + </rect> + </property> + <property name="windowTitle"> + <string>ProfileDialog</string> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QSplitter" name="splitter"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <widget class="QWidget" name="widget" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="styleSheet"> + <string>background-color: rgb(255, 255, 255);</string> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <layout class="QGridLayout" name="gridLayout"/> + </item> + </layout> + </widget> + <widget class="QWidget" name="layoutWidget_2"> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QPushButton" name="remove"> + <property name="text"> + <string>&Remove</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer_6"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>18</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="edit"> + <property name="text"> + <string>&Edit</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer_5"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>18</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="new_2"> + <property name="text"> + <string>&New</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer_4"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="load"> + <property name="text"> + <string>&Load</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>218</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLineEdit" name="lineEdit"/> + </item> + <item> + <widget class="QPushButton" name="add"> + <property name="text"> + <string>Add</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QPushButton" name="close"> + <property name="text"> + <string>Close</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> diff --git a/src/gui/ui/projectionDialog.ui b/src/gui/ui/projectionDialog.ui new file mode 100644 index 0000000..17cdf05 --- /dev/null +++ b/src/gui/ui/projectionDialog.ui @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>projectionDialog</class> + <widget class="QDialog" name="projectionDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>234</width> + <height>282</height> + </rect> + </property> + <property name="windowTitle"> + <string>Dialog</string> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="1" column="0"> + <widget class="QFrame" name="frame"> + <property name="styleSheet"> + <string notr="true">QFrame{ +border-color: rgb(0, 0, 0); +border: 1px outset black; +}</string> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_2"/> + </item> + </layout> + </widget> + </item> + <item row="2" column="0"> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QCheckBox" name="checkBox"> + <property name="text"> + <string>Select all</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>108</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="cancel"> + <property name="text"> + <string>Cancel</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="send"> + <property name="text"> + <string>Project</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>15</height> + </size> + </property> + <property name="text"> + <string>Select Target for projection</string> + </property> + </widget> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11"/> + <resources/> + <connections/> +</ui> diff --git a/src/gui/ui/serverChatDialog.ui b/src/gui/ui/serverChatDialog.ui new file mode 100644 index 0000000..973d803 --- /dev/null +++ b/src/gui/ui/serverChatDialog.ui @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ServerChatDialogClass</class> + <widget class="QDialog" name="ServerChatDialogClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>641</width> + <height>659</height> + </rect> + </property> + <property name="windowTitle"> + <string>PVSmgr - Chat </string> + </property> + <property name="windowIcon"> + <iconset resource="../../../pvsgui.qrc"> + <normaloff>:/cam32.svg</normaloff>:/cam32.svg</iconset> + </property> + <property name="locale"> + <locale language="English" country="UnitedStates"/> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QSplitter" name="splitter"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <widget class="QListWidget" name="listWidget"> + <property name="maximumSize"> + <size> + <width>150</width> + <height>16777215</height> + </size> + </property> + <property name="contextMenuPolicy"> + <enum>Qt::CustomContextMenu</enum> + </property> + <property name="sortingEnabled"> + <bool>true</bool> + </property> + </widget> + <widget class="QTabWidget" name="tabWidget"> + <property name="tabPosition"> + <enum>QTabWidget::South</enum> + </property> + <property name="tabsClosable"> + <bool>true</bool> + </property> + <widget class="QWidget" name="tab"> + <attribute name="title"> + <string notr="true">@all</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout"/> + </widget> + </widget> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEdit"/> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="pushButton"> + <property name="text"> + <string>&Send</string> + </property> + <property name="autoDefault"> + <bool>false</bool> + </property> + <property name="default"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="../../../pvsgui.qrc"/> + </resources> + <connections> + <connection> + <sender>lineEdit</sender> + <signal>returnPressed()</signal> + <receiver>pushButton</receiver> + <slot>click()</slot> + <hints> + <hint type="sourcelabel"> + <x>252</x> + <y>560</y> + </hint> + <hint type="destinationlabel"> + <x>529</x> + <y>589</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/gui/ui/startdialog.ui b/src/gui/ui/startdialog.ui new file mode 100644 index 0000000..8001862 --- /dev/null +++ b/src/gui/ui/startdialog.ui @@ -0,0 +1,195 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>Test</class> + <widget class="QDialog" name="Test"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>367</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Dialog</string> + </property> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="geometry"> + <rect> + <x>20</x> + <y>250</y> + <width>341</width> + <height>32</height> + </rect> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + <widget class="QWidget" name="gridLayoutWidget"> + <property name="geometry"> + <rect> + <x>60</x> + <y>10</y> + <width>301</width> + <height>231</height> + </rect> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="1" column="0"> + <widget class="QCheckBox" name="checkBox"> + <property name="toolTip"> + <string>Zur Bedienung mit Tastatur und Maus</string> + </property> + <property name="text"> + <string>Standard-Oberfläche</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QCheckBox" name="checkBox_2"> + <property name="toolTip"> + <string>Zur Bedienung an einem Touchscreen</string> + </property> + <property name="text"> + <string>Touchscreen-Oberfläche</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="Line" name="line_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="Line" name="line_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="KIconButton" name="kiconbutton"> + <property name="geometry"> + <rect> + <x>0</x> + <y>150</y> + <width>51</width> + <height>41</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">background-image: url(:icons/touch.jpg);</string> + </property> + </widget> + <widget class="KIconButton" name="kiconbutton_2"> + <property name="geometry"> + <rect> + <x>0</x> + <y>60</y> + <width>51</width> + <height>41</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">background-image: url(:icons/keyboard.jpg);</string> + </property> + </widget> + </widget> + <customwidgets> + <customwidget> + <class>KIconButton</class> + <extends>QPushButton</extends> + <header>kicondialog.h</header> + </customwidget> + </customwidgets> + <tabstops> + <tabstop>buttonBox</tabstop> + <tabstop>kiconbutton_2</tabstop> + <tabstop>checkBox_2</tabstop> + <tabstop>checkBox</tabstop> + <tabstop>kiconbutton</tabstop> + </tabstops> + <resources> + <include location="startdialog.qrc"/> + </resources> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>Test</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>248</x> + <y>254</y> + </hint> + <hint type="destinationlabel"> + <x>157</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>Test</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>316</x> + <y>260</y> + </hint> + <hint type="destinationlabel"> + <x>286</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>checkBox</sender> + <signal>toggled(bool)</signal> + <receiver>checkBox_2</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>180</x> + <y>81</y> + </hint> + <hint type="destinationlabel"> + <x>180</x> + <y>169</y> + </hint> + </hints> + </connection> + <connection> + <sender>checkBox_2</sender> + <signal>toggled(bool)</signal> + <receiver>checkBox</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>180</x> + <y>169</y> + </hint> + <hint type="destinationlabel"> + <x>180</x> + <y>81</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/gui/ui/touchgui.ui b/src/gui/ui/touchgui.ui new file mode 100644 index 0000000..05d7614 --- /dev/null +++ b/src/gui/ui/touchgui.ui @@ -0,0 +1,322 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PVSMainWindow</class> + <widget class="QMainWindow" name="PVSMainWindow"> + <property name="windowModality"> + <enum>Qt::NonModal</enum> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>800</width> + <height>600</height> + </rect> + </property> + <property name="minimumSize"> + <size> + <width>800</width> + <height>600</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>800</width> + <height>600</height> + </size> + </property> + <property name="cursor"> + <cursorShape>PointingHandCursor</cursorShape> + </property> + <property name="windowTitle"> + <string>MainWindow</string> + </property> + <widget class="QWidget" name="centralWidget"> + <widget class="QWidget" name="horizontalLayoutWidget"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>801</width> + <height>41</height> + </rect> + </property> + <layout class="QHBoxLayout" name="ButtonList"> + <item> + <widget class="QComboBox" name="AllUsersBox"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <item> + <property name="text"> + <string>Alle</string> + </property> + </item> + <item> + <property name="text"> + <string>Sperren/entsperren</string> + </property> + </item> + <item> + <property name="text"> + <string>Beamerbild verteilen</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QComboBox" name="MarkedUsersBox"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <item> + <property name="text"> + <string>Auswahl</string> + </property> + </item> + <item> + <property name="text"> + <string>Aktualisieren</string> + </property> + </item> + <item> + <property name="text"> + <string>Sperren/Entsperren</string> + </property> + </item> + <item> + <property name="text"> + <string>Einzelansicht</string> + </property> + </item> + <item> + <property name="text"> + <string>Einzelhilfe</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QPushButton" name="PropertyButton"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <property name="text"> + <string>Einstellungen</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="ExitButton"> + <property name="font"> + <font> + <pointsize>15</pointsize> + </font> + </property> + <property name="text"> + <string>Beenden</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="horizontalLayoutWidget_2"> + <property name="geometry"> + <rect> + <x>0</x> + <y>530</y> + <width>801</width> + <height>31</height> + </rect> + </property> + <layout class="QHBoxLayout" name="Slider"> + <item> + <widget class="QPushButton" name="NavigateLeft"> + <property name="text"> + <string><-</string> + </property> + </widget> + </item> + <item> + <widget class="QSlider" name="horizontalSlider"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="NavigateRight"> + <property name="text"> + <string>-></string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="ClWidget" native="true"> + <property name="geometry"> + <rect> + <x>0</x> + <y>40</y> + <width>151</width> + <height>481</height> + </rect> + </property> + <property name="minimumSize"> + <size> + <width>150</width> + <height>240</height> + </size> + </property> + <property name="styleSheet"> + <string>background-color: rgb(255, 255, 255);</string> + </property> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="0" column="0"> + <layout class="QGridLayout" name="ClientGLayout"/> + </item> + </layout> + </widget> + <widget class="QWidget" name="widget" native="true"> + <property name="geometry"> + <rect> + <x>160</x> + <y>40</y> + <width>631</width> + <height>481</height> + </rect> + </property> + <property name="styleSheet"> + <string>background-color: rgb(150, 150, 150);</string> + </property> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="VconWinLayout"/> + </item> + </layout> + </widget> + </widget> + <widget class="QMenuBar" name="menuBar"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>800</width> + <height>24</height> + </rect> + </property> + <widget class="QMenu" name="menuTestApp"> + <property name="title"> + <string>Datei</string> + </property> + <addaction name="actionDisconnect"/> + <addaction name="actionBeenden"/> + </widget> + <widget class="QMenu" name="menuAnsicht"> + <property name="title"> + <string>Ansicht</string> + </property> + <addaction name="actionVollbild"/> + </widget> + <widget class="QMenu" name="menuHilfe"> + <property name="title"> + <string>Hilfe</string> + </property> + <addaction name="actionGibts_noch_keine"/> + </widget> + <widget class="QMenu" name="menuLogging"> + <property name="title"> + <string>Logging</string> + </property> + </widget> + <addaction name="menuTestApp"/> + <addaction name="menuAnsicht"/> + <addaction name="menuHilfe"/> + <addaction name="menuLogging"/> + </widget> + <action name="actionBeenden"> + <property name="text"> + <string>Beenden</string> + </property> + <property name="shortcut"> + <string>Alt+B</string> + </property> + </action> + <action name="actionGibts_noch_keine"> + <property name="text"> + <string>Version</string> + </property> + </action> + <action name="actionVollbild"> + <property name="text"> + <string>Vollbild</string> + </property> + </action> + <action name="actionDisconnect"> + <property name="text"> + <string>Disconnect</string> + </property> + </action> + </widget> + <layoutdefault spacing="6" margin="11"/> + <resources/> + <connections> + <connection> + <sender>actionBeenden</sender> + <signal>activated()</signal> + <receiver>PVSMainWindow</receiver> + <slot>close()</slot> + <hints> + <hint type="sourcelabel"> + <x>-1</x> + <y>-1</y> + </hint> + <hint type="destinationlabel"> + <x>399</x> + <y>299</y> + </hint> + </hints> + </connection> + <connection> + <sender>ExitButton</sender> + <signal>clicked()</signal> + <receiver>PVSMainWindow</receiver> + <slot>close()</slot> + <hints> + <hint type="sourcelabel"> + <x>109</x> + <y>129</y> + </hint> + <hint type="destinationlabel"> + <x>299</x> + <y>199</y> + </hint> + </hints> + </connection> + <connection> + <sender>actionVollbild</sender> + <signal>activated()</signal> + <receiver>PVSMainWindow</receiver> + <slot>showMaximized()</slot> + <hints> + <hint type="sourcelabel"> + <x>-1</x> + <y>-1</y> + </hint> + <hint type="destinationlabel"> + <x>399</x> + <y>299</y> + </hint> + </hints> + </connection> + </connections> +</ui> |