diff options
Diffstat (limited to 'gui/client')
-rw-r--r-- | gui/client/connect.ui | 114 | ||||
-rw-r--r-- | gui/client/toolbar.ui | 191 |
2 files changed, 305 insertions, 0 deletions
diff --git a/gui/client/connect.ui b/gui/client/connect.ui new file mode 100644 index 0000000..51c67f4 --- /dev/null +++ b/gui/client/connect.ui @@ -0,0 +1,114 @@ +<?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>511</width> + <height>121</height> + </rect> + </property> + <property name="windowTitle"> + <string>Connect to PVS session</string> + </property> + <widget class="QGroupBox" name="grpSetname"> + <property name="geometry"> + <rect> + <x>3</x> + <y>10</y> + <width>504</width> + <height>61</height> + </rect> + </property> + <property name="title"> + <string>Session Name</string> + </property> + <widget class="QPushButton" name="cmdOK"> + <property name="geometry"> + <rect> + <x>396</x> + <y>20</y> + <width>101</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string notr="true"><connect></string> + </property> + <property name="default"> + <bool>true</bool> + </property> + </widget> + <widget class="QLineEdit" name="txtName"> + <property name="geometry"> + <rect> + <x>10</x> + <y>20</y> + <width>371</width> + <height>31</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>14</pointsize> + <weight>75</weight> + <italic>true</italic> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string notr="true"/> + </property> + </widget> + </widget> + <widget class="QLabel" name="lblError"> + <property name="geometry"> + <rect> + <x>10</x> + <y>70</y> + <width>381</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string notr="true"/> + </property> + </widget> + <widget class="QLabel" name="lblStatus"> + <property name="geometry"> + <rect> + <x>10</x> + <y>90</y> + <width>381</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string notr="true"/> + </property> + </widget> + <widget class="QPushButton" name="cmdCancel"> + <property name="geometry"> + <rect> + <x>399</x> + <y>80</y> + <width>101</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Hide</string> + </property> + <property name="autoDefault"> + <bool>false</bool> + </property> + <property name="default"> + <bool>false</bool> + </property> + </widget> + </widget> + <resources/> + <connections/> +</ui> diff --git a/gui/client/toolbar.ui b/gui/client/toolbar.ui new file mode 100644 index 0000000..20d3e9c --- /dev/null +++ b/gui/client/toolbar.ui @@ -0,0 +1,191 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ToolbarClass</class> + <widget class="QWidget" name="ToolbarClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>383</width> + <height>39</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="cmdMenu"> + <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="cmdHost"> + <property name="minimumSize"> + <size> + <width>84</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string>Click to connect</string> + </property> + <property name="text"> + <string>-</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="lblStatus"> + <property name="styleSheet"> + <string notr="true">color:red</string> + </property> + <property name="text"> + <string notr="true">Offline</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="QLabel" name="label"> + <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:'Ubuntu'; font-size:11pt; 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-family:'DejaVu Sans'; font-size:10pt; font-weight:600; font-style:italic; color:#0055ff;">PVS</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="../../pvsclient.qrc">:/cam32.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <resources> + <include location="../../pvsclient.qrc"/> + <include location="../../pvsclient.qrc"/> + </resources> + <connections/> +</ui> |