Commit 357fa2bd authored by Janis Gertulla's avatar Janis Gertulla
Browse files

Schönheitschirurgie

parent 3031fc22
QT += core gui network charts QT += core gui network charts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets greaterThan(QT_MAJOR_VERSION, 5): QT += widgets
CONFIG += c++17 CONFIG += c++17
......
This diff is collapsed.
This diff is collapsed.
...@@ -145,7 +145,7 @@ void SettingsTab::onLoadButtonClicked() ...@@ -145,7 +145,7 @@ void SettingsTab::onLoadButtonClicked()
settings->beginGroup("network"); settings->beginGroup("network");
newConf.networkIP = settings->value("ip").toString(); newConf.networkIP = settings->value("ip").toString();
auto ipParts = newConf.networkIP.split('.', Qt::KeepEmptyParts); auto ipParts = newConf.networkIP.split('.');//, Qt::KeepEmptyParts);
ui->networkIPEdit1->setText(ipParts[0]); ui->networkIPEdit1->setText(ipParts[0]);
ui->networkIPEdit2->setText(ipParts[1]); ui->networkIPEdit2->setText(ipParts[1]);
ui->networkIPEdit3->setText(ipParts[2]); ui->networkIPEdit3->setText(ipParts[2]);
...@@ -190,7 +190,7 @@ void SettingsTab::onResetButtonClicked() ...@@ -190,7 +190,7 @@ void SettingsTab::onResetButtonClicked()
//do stuff //do stuff
Config newConf; Config newConf;
auto ipParts = newConf.networkIP.split('.', Qt::KeepEmptyParts); auto ipParts = newConf.networkIP.split('.');//, Qt::KeepEmptyParts);
ui->networkIPEdit1->setText(ipParts[0]); ui->networkIPEdit1->setText(ipParts[0]);
ui->networkIPEdit2->setText(ipParts[1]); ui->networkIPEdit2->setText(ipParts[1]);
ui->networkIPEdit3->setText(ipParts[2]); ui->networkIPEdit3->setText(ipParts[2]);
......
...@@ -60,9 +60,9 @@ ...@@ -60,9 +60,9 @@
<widget class="QLineEdit" name="networkIPEdit1"> <widget class="QLineEdit" name="networkIPEdit1">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>180</x> <x>130</x>
<y>60</y> <y>60</y>
<width>31</width> <width>41</width>
<height>30</height> <height>30</height>
</rect> </rect>
</property> </property>
...@@ -92,9 +92,9 @@ ...@@ -92,9 +92,9 @@
<widget class="QLineEdit" name="networkIPEdit2"> <widget class="QLineEdit" name="networkIPEdit2">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>216</x> <x>180</x>
<y>60</y> <y>60</y>
<width>31</width> <width>41</width>
<height>30</height> <height>30</height>
</rect> </rect>
</property> </property>
...@@ -108,9 +108,9 @@ ...@@ -108,9 +108,9 @@
<widget class="QLineEdit" name="networkIPEdit3"> <widget class="QLineEdit" name="networkIPEdit3">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>252</x> <x>230</x>
<y>60</y> <y>60</y>
<width>31</width> <width>41</width>
<height>30</height> <height>30</height>
</rect> </rect>
</property> </property>
...@@ -124,9 +124,9 @@ ...@@ -124,9 +124,9 @@
<widget class="QLineEdit" name="networkIPEdit4"> <widget class="QLineEdit" name="networkIPEdit4">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>288</x> <x>280</x>
<y>60</y> <y>60</y>
<width>31</width> <width>41</width>
<height>30</height> <height>30</height>
</rect> </rect>
</property> </property>
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<widget class="QLabel" name="dot1"> <widget class="QLabel" name="dot1">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>212</x> <x>170</x>
<y>60</y> <y>60</y>
<width>16</width> <width>16</width>
<height>30</height> <height>30</height>
...@@ -149,13 +149,16 @@ ...@@ -149,13 +149,16 @@
<property name="text"> <property name="text">
<string>.</string> <string>.</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
<widget class="QLabel" name="dot2"> <widget class="QLabel" name="dot2">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>248</x> <x>220</x>
<y>60</y> <y>60</y>
<width>16</width> <width>20</width>
<height>30</height> <height>30</height>
</rect> </rect>
</property> </property>
...@@ -166,7 +169,7 @@ ...@@ -166,7 +169,7 @@
<widget class="QLabel" name="dot3"> <widget class="QLabel" name="dot3">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>284</x> <x>270</x>
<y>60</y> <y>60</y>
<width>16</width> <width>16</width>
<height>30</height> <height>30</height>
...@@ -500,6 +503,13 @@ ...@@ -500,6 +503,13 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<tabstops>
<tabstop>networkIPEdit1</tabstop>
<tabstop>networkIPEdit2</tabstop>
<tabstop>networkIPEdit3</tabstop>
<tabstop>networkIPEdit4</tabstop>
<tabstop>networkPortEdit</tabstop>
</tabstops>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>
...@@ -181,15 +181,6 @@ ...@@ -181,15 +181,6 @@
</color> </color>
</brush> </brush>
</colorrole> </colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="SolidPattern">
<color alpha="128">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active> </active>
<inactive> <inactive>
<colorrole role="WindowText"> <colorrole role="WindowText">
...@@ -354,15 +345,6 @@ ...@@ -354,15 +345,6 @@
</color> </color>
</brush> </brush>
</colorrole> </colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="SolidPattern">
<color alpha="128">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive> </inactive>
<disabled> <disabled>
<colorrole role="WindowText"> <colorrole role="WindowText">
...@@ -527,15 +509,6 @@ ...@@ -527,15 +509,6 @@
</color> </color>
</brush> </brush>
</colorrole> </colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="SolidPattern">
<color alpha="128">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled> </disabled>
</palette> </palette>
</property> </property>
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Window</class>
<widget class="QMainWindow" name="Window">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1024</width>
<height>768</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>229</red>
<green>229</green>
<blue>229</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Highlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="HighlightedText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Link">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="LinkVisited">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>229</red>
<green>229</green>
<blue>229</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Highlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="HighlightedText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Link">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="LinkVisited">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>