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

Schönheitschirurgie

parent 3031fc22
QT += core gui network charts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
greaterThan(QT_MAJOR_VERSION, 5): QT += widgets
CONFIG += c++17
......
This diff is collapsed.
This diff is collapsed.
......@@ -145,7 +145,7 @@ void SettingsTab::onLoadButtonClicked()
settings->beginGroup("network");
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->networkIPEdit2->setText(ipParts[1]);
ui->networkIPEdit3->setText(ipParts[2]);
......@@ -190,7 +190,7 @@ void SettingsTab::onResetButtonClicked()
//do stuff
Config newConf;
auto ipParts = newConf.networkIP.split('.', Qt::KeepEmptyParts);
auto ipParts = newConf.networkIP.split('.');//, Qt::KeepEmptyParts);
ui->networkIPEdit1->setText(ipParts[0]);
ui->networkIPEdit2->setText(ipParts[1]);
ui->networkIPEdit3->setText(ipParts[2]);
......
......@@ -60,9 +60,9 @@
<widget class="QLineEdit" name="networkIPEdit1">
<property name="geometry">
<rect>
<x>180</x>
<x>130</x>
<y>60</y>
<width>31</width>
<width>41</width>
<height>30</height>
</rect>
</property>
......@@ -92,9 +92,9 @@
<widget class="QLineEdit" name="networkIPEdit2">
<property name="geometry">
<rect>
<x>216</x>
<x>180</x>
<y>60</y>
<width>31</width>
<width>41</width>
<height>30</height>
</rect>
</property>
......@@ -108,9 +108,9 @@
<widget class="QLineEdit" name="networkIPEdit3">
<property name="geometry">
<rect>
<x>252</x>
<x>230</x>
<y>60</y>
<width>31</width>
<width>41</width>
<height>30</height>
</rect>
</property>
......@@ -124,9 +124,9 @@
<widget class="QLineEdit" name="networkIPEdit4">
<property name="geometry">
<rect>
<x>288</x>
<x>280</x>
<y>60</y>
<width>31</width>
<width>41</width>
<height>30</height>
</rect>
</property>
......@@ -140,7 +140,7 @@
<widget class="QLabel" name="dot1">
<property name="geometry">
<rect>
<x>212</x>
<x>170</x>
<y>60</y>
<width>16</width>
<height>30</height>
......@@ -149,13 +149,16 @@
<property name="text">
<string>.</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="dot2">
<property name="geometry">
<rect>
<x>248</x>
<x>220</x>
<y>60</y>
<width>16</width>
<width>20</width>
<height>30</height>
</rect>
</property>
......@@ -166,7 +169,7 @@
<widget class="QLabel" name="dot3">
<property name="geometry">
<rect>
<x>284</x>
<x>270</x>
<y>60</y>
<width>16</width>
<height>30</height>
......@@ -500,6 +503,13 @@
</property>
</widget>
</widget>
<tabstops>
<tabstop>networkIPEdit1</tabstop>
<tabstop>networkIPEdit2</tabstop>
<tabstop>networkIPEdit3</tabstop>
<tabstop>networkIPEdit4</tabstop>
<tabstop>networkPortEdit</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>
......@@ -181,15 +181,6 @@
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="SolidPattern">
<color alpha="128">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
......@@ -354,15 +345,6 @@
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="SolidPattern">
<color alpha="128">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
......@@ -527,15 +509,6 @@
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="SolidPattern">
<color alpha="128">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</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>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>51</red>
<green>51</green>
<blue>51</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>225</red>
<green>225</green>
<blue>225</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>