wip: refacto qss, new assets
This commit is contained in:
101
ui/mainwindow.ui
101
ui/mainwindow.ui
@@ -57,14 +57,6 @@
|
||||
<height>703</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">#main_container {
|
||||
border-radius: 30px;
|
||||
background-image: url(:/assets/background.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
@@ -366,30 +358,18 @@
|
||||
<property name="text">
|
||||
<string>Position en file d'attente: </string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLCDNumber" name="lcdNumber">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
<widget class="QLabel" name="queue_position">
|
||||
<property name="text">
|
||||
<string>20</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Shadow::Sunken</enum>
|
||||
</property>
|
||||
<property name="smallDecimalPoint">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="digitCount">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="value" stdset="0">
|
||||
<double>20.000000000000000</double>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -465,12 +445,22 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<widget class="QPushButton" name="volume_btn">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>32</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="QIcon::ThemeIcon::AudioVolumeHigh"/>
|
||||
<iconset resource="../resources.qrc">
|
||||
<normaloff>:/assets/sound-speaker.svg</normaloff>:/assets/sound-speaker.svg</iconset>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -577,7 +567,7 @@
|
||||
<item alignment="Qt::AlignmentFlag::AlignHCenter">
|
||||
<widget class="QLabel" name="maintitle_label">
|
||||
<property name="text">
|
||||
<string>la taniere</string>
|
||||
<string>LA TANIÈRE</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -606,7 +596,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>un espace pour se retrouver</string>
|
||||
<string>Un espace pour se retrouver</string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::TextFormat::AutoText</enum>
|
||||
@@ -682,7 +672,17 @@
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>connexion</string>
|
||||
<string> Connexion</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../resources.qrc">
|
||||
<normaloff>:/assets/padlock-lock.svg</normaloff>:/assets/padlock-lock.svg</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>32</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -754,7 +754,17 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>discord</string>
|
||||
<string> Discord</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../resources.qrc">
|
||||
<normaloff>:/assets/Logo_Discord_2015.png</normaloff>:/assets/Logo_Discord_2015.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>32</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -780,7 +790,17 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>intranet</string>
|
||||
<string> Intranet</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../resources.qrc">
|
||||
<normaloff>:/assets/computer-tv.svg</normaloff>:/assets/computer-tv.svg</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>32</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -839,16 +859,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QFrame#info_frame{
|
||||
background: qlineargradient(
|
||||
x1:0, y1:0,
|
||||
x2:0, y2:1,
|
||||
stop:0 rgba(255,255,255,30),
|
||||
stop:1 rgba(255,255,255,30)
|
||||
);
|
||||
border-radius: 20px;
|
||||
border: 1px solid rgba(255,255,255,140);
|
||||
}</string>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::StyledPanel</enum>
|
||||
|
||||
Reference in New Issue
Block a user