Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Gertulla, Janis Luca
UE49Interlock
Commits
357fa2bd
Commit
357fa2bd
authored
Oct 02, 2020
by
Janis Gertulla
Browse files
Schönheitschirurgie
parent
3031fc22
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
UE49Interlock.pro
View file @
357fa2bd
QT
+=
core
gui
network
charts
greaterThan
(
QT_MAJOR_VERSION
,
4
)
:
QT
+=
widgets
greaterThan
(
QT_MAJOR_VERSION
,
5
)
:
QT
+=
widgets
CONFIG
+=
c
++
17
...
...
UE49Interlock.pro.user
View file @
357fa2bd
This diff is collapsed.
Click to expand it.
UE49Interlock.pro.user.5102e59.22
0 → 100644
View file @
357fa2bd
This diff is collapsed.
Click to expand it.
settingstab.cpp
View file @
357fa2bd
...
...
@@ -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
]);
...
...
settingstab.ui
View file @
357fa2bd
...
...
@@ -60,9 +60,9 @@
<widget
class=
"QLineEdit"
name=
"networkIPEdit1"
>
<property
name=
"geometry"
>
<rect>
<x>
1
8
0
</x>
<x>
1
3
0
</x>
<y>
60
</y>
<width>
3
1
</width>
<width>
4
1
</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>
3
1
</width>
<width>
4
1
</width>
<height>
30
</height>
</rect>
</property>
...
...
@@ -108,9 +108,9 @@
<widget
class=
"QLineEdit"
name=
"networkIPEdit3"
>
<property
name=
"geometry"
>
<rect>
<x>
2
52
</x>
<x>
2
30
</x>
<y>
60
</y>
<width>
3
1
</width>
<width>
4
1
</width>
<height>
30
</height>
</rect>
</property>
...
...
@@ -124,9 +124,9 @@
<widget
class=
"QLineEdit"
name=
"networkIPEdit4"
>
<property
name=
"geometry"
>
<rect>
<x>
28
8
</x>
<x>
28
0
</x>
<y>
60
</y>
<width>
3
1
</width>
<width>
4
1
</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>
2
48
</x>
<x>
2
20
</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>
2
84
</x>
<x>
2
70
</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>
window.ui
View file @
357fa2bd
...
...
@@ -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>
...
...
window.ui.autosave
0 → 100644
View file @
357fa2bd
<?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>