New UI change for guimessagedialog

This commit is contained in:
Krad
2021-10-27 15:53:58 +08:00
parent d7b053dc6b
commit 06936ac4e8
2 changed files with 22 additions and 13 deletions

View File

@@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>620</width>
<height>532</height>
<width>1433</width>
<height>906</height>
</rect>
</property>
<property name="windowTitle">
@@ -40,12 +40,12 @@
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<item>
<spacer name="horizontalSpacer">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -57,22 +57,31 @@
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="lbl_progressicon">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lbl_msg">
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<widget class="QLabel" name="lbl_progressicon">
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>

View File

@@ -65,7 +65,7 @@ MainWindow::MainWindow(QWidget* parent) :
"border-radius:20px;border:5px solid #0078d8; }"
"QDialog QWidget QWidget{ background:transparent;color:#3078d8}"
"QDialog QWidget QWidget QLabel{ font-size:30px}"
"QLabel#lbl_progressicon{min-width:75px;max-width:75px;}"
// "QLabel#lbl_progressicon{min-width:75px;max-width:75px;}"
"#spacer_1, #spacer_2{min-width:2px;max-width:2px;margin-top:6px;margin-bottom:6px;border-right:1px solid #0078d8;}"//green with 2
;
this->setStyleSheet(style);