Main window frameless + Switching to MSVC2019

This commit is contained in:
Alexis Delhaie
2020-08-28 14:47:21 +02:00
parent ff64fa14d3
commit 257bc67f61
6 changed files with 169 additions and 30 deletions

View File

@@ -7,19 +7,19 @@
<x>0</x>
<y>0</y>
<width>1206</width>
<height>649</height>
<height>662</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>1206</width>
<height>649</height>
<height>662</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>1206</width>
<height>649</height>
<height>662</height>
</size>
</property>
<property name="font">
@@ -42,7 +42,7 @@
<property name="geometry">
<rect>
<x>192</x>
<y>19</y>
<y>41</y>
<width>20</width>
<height>81</height>
</rect>
@@ -55,7 +55,7 @@
<property name="geometry">
<rect>
<x>236</x>
<y>29</y>
<y>51</y>
<width>151</width>
<height>61</height>
</rect>
@@ -117,7 +117,7 @@ color: white;</string>
<property name="geometry">
<rect>
<x>40</x>
<y>29</y>
<y>51</y>
<width>161</width>
<height>61</height>
</rect>
@@ -179,7 +179,7 @@ color: white;</string>
<property name="geometry">
<rect>
<x>1022</x>
<y>23</y>
<y>45</y>
<width>153</width>
<height>61</height>
</rect>
@@ -258,7 +258,7 @@ color: white;</string>
<property name="geometry">
<rect>
<x>427</x>
<y>30</y>
<y>52</y>
<width>161</width>
<height>61</height>
</rect>
@@ -320,7 +320,7 @@ color: white;</string>
<property name="geometry">
<rect>
<x>378</x>
<y>20</y>
<y>42</y>
<width>20</width>
<height>81</height>
</rect>
@@ -333,7 +333,7 @@ color: white;</string>
<property name="geometry">
<rect>
<x>930</x>
<y>600</y>
<y>622</y>
<width>261</width>
<height>31</height>
</rect>
@@ -346,7 +346,7 @@ color: white;</string>
<property name="geometry">
<rect>
<x>140</x>
<y>160</y>
<y>182</y>
<width>921</width>
<height>391</height>
</rect>
@@ -1341,7 +1341,7 @@ font-size: 22px;</string>
<property name="geometry">
<rect>
<x>20</x>
<y>588</y>
<y>610</y>
<width>44</width>
<height>44</height>
</rect>
@@ -1371,8 +1371,106 @@ font-size: 22px;</string>
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="window_title">
<property name="geometry">
<rect>
<x>10</x>
<y>-1</y>
<width>1081</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="QPushButton" name="closeButton">
<property name="geometry">
<rect>
<x>1156</x>
<y>0</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Segoe MDL2 Assets</family>
<pointsize>-1</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border: none;
font-size: 14px;</string>
</property>
<property name="text">
<string></string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="minimizeButton">
<property name="geometry">
<rect>
<x>1101</x>
<y>0</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Segoe MDL2 Assets</family>
<pointsize>-1</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border: none;
font-size: 14px;</string>
</property>
<property name="text">
<string></string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</widget>
</widget>
<resources/>
<connections/>
<connections>
<connection>
<sender>closeButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>1186</x>
<y>10</y>
</hint>
<hint type="destinationlabel">
<x>602</x>
<y>330</y>
</hint>
</hints>
</connection>
<connection>
<sender>minimizeButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>showMinimized()</slot>
<hints>
<hint type="sourcelabel">
<x>1126</x>
<y>15</y>
</hint>
<hint type="destinationlabel">
<x>602</x>
<y>330</y>
</hint>
</hints>
</connection>
</connections>
</ui>