summaryrefslogtreecommitdiffstats
path: root/src/gui/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ui')
-rw-r--r--src/gui/ui/mainwindow.ui40
-rw-r--r--src/gui/ui/mainwindowtouch.ui18
-rw-r--r--src/gui/ui/profileDialog.ui225
3 files changed, 109 insertions, 174 deletions
diff --git a/src/gui/ui/mainwindow.ui b/src/gui/ui/mainwindow.ui
index a9d5cad..0a6d0a6 100644
--- a/src/gui/ui/mainwindow.ui
+++ b/src/gui/ui/mainwindow.ui
@@ -28,8 +28,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>778</width>
- <height>542</height>
+ <width>792</width>
+ <height>552</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
@@ -195,26 +195,9 @@
<x>0</x>
<y>0</y>
<width>838</width>
- <height>23</height>
+ <height>21</height>
</rect>
</property>
- <widget class="QMenu" name="menu_File">
- <property name="title">
- <string>&amp;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>&amp;Clients</string>
@@ -249,6 +232,18 @@
</property>
<addaction name="actionConfigure_Network"/>
</widget>
+ <widget class="QMenu" name="menu_File">
+ <property name="title">
+ <string>&amp;File</string>
+ </property>
+ <addaction name="action_Disconnect"/>
+ <addaction name="separator"/>
+ <addaction name="actionSave_Profile"/>
+ <addaction name="actionCreate_profile"/>
+ <addaction name="separator"/>
+ <addaction name="separator"/>
+ <addaction name="action_Exit"/>
+ </widget>
<addaction name="menu_File"/>
<addaction name="menuClients"/>
<addaction name="menuLogging"/>
@@ -572,6 +567,11 @@
<string>Start process on the selected client(s)</string>
</property>
</action>
+ <action name="actionSave_Profile">
+ <property name="text">
+ <string>Save Profile</string>
+ </property>
+ </action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
diff --git a/src/gui/ui/mainwindowtouch.ui b/src/gui/ui/mainwindowtouch.ui
index 12a2f2b..1f329d6 100644
--- a/src/gui/ui/mainwindowtouch.ui
+++ b/src/gui/ui/mainwindowtouch.ui
@@ -28,8 +28,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>1329</width>
- <height>660</height>
+ <width>1431</width>
+ <height>655</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_3">
@@ -134,6 +134,18 @@
</widget>
</item>
<item>
+ <widget class="QPushButton" name="saveProfileButton">
+ <property name="font">
+ <font>
+ <pointsize>15</pointsize>
+ </font>
+ </property>
+ <property name="text">
+ <string>Save Profile</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="QPushButton" name="pushButton">
<property name="font">
<font>
@@ -141,7 +153,7 @@
</font>
</property>
<property name="text">
- <string>Profile</string>
+ <string>Manage Profiles</string>
</property>
</widget>
</item>
diff --git a/src/gui/ui/profileDialog.ui b/src/gui/ui/profileDialog.ui
index 3302a56..c102669 100644
--- a/src/gui/ui/profileDialog.ui
+++ b/src/gui/ui/profileDialog.ui
@@ -1,172 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog">
+ <class>ProfileDialogClass</class>
+ <widget class="QDialog" name="ProfileDialogClass">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>332</width>
- <height>485</height>
+ <width>350</width>
+ <height>206</height>
</rect>
</property>
<property name="windowTitle">
- <string>ProfileDialog</string>
+ <string>Dialog</string>
</property>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
- <layout class="QVBoxLayout" name="verticalLayout_2">
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QListWidget" name="listWidget"/>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QPushButton" name="addButton">
+ <property name="text">
+ <string>&amp;Add</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="removeButton">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>&amp;Remove</string>
+ </property>
+ </widget>
+ </item>
<item>
- <widget class="QSplitter" name="splitter">
+ <spacer name="verticalSpacer_2">
<property name="orientation">
- <enum>Qt::Horizontal</enum>
+ <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="loadButton">
+ <property name="text">
+ <string>&amp;Load</string>
</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>&amp;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>&amp;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>&amp;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>&amp;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>
+ <spacer name="verticalSpacer">
+ <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="close">
+ <widget class="QPushButton" name="closeButton">
<property name="text">
- <string>Close</string>
+ <string>&amp;Close</string>
</property>
</widget>
</item>
@@ -175,5 +81,22 @@
</layout>
</widget>
<resources/>
- <connections/>
+ <connections>
+ <connection>
+ <sender>closeButton</sender>
+ <signal>clicked()</signal>
+ <receiver>ProfileDialogClass</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>291</x>
+ <y>185</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>324</x>
+ <y>133</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
</ui>