wip transparence

This commit is contained in:
2026-03-04 22:18:37 +01:00
parent 45df0b3cd4
commit ec1321c5c3
10 changed files with 9022 additions and 14 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

+3 -3
View File
@@ -6,14 +6,13 @@ from PyQt6.QtCore import Qt
from PyQt6.QtGui import QFontDatabase, QFont, QColor
from PyQt6.QtWidgets import QApplication, QMainWindow
from win11toast import toast
from slidergroovecolorstyle import ThinSubPageLineStyle, ThinAddPageLineStyle
# Compile resources.qrc into resources_rc.py
# rcc -g python resources.qrc -o resources_rc.py
import resources # This is generated from the .qrc file
import resources_rc # This is generated from the .qrc file
# À placer tout en haut, avant les imports PyQt6 si possible
if sys.platform.startswith('linux'):
@@ -96,7 +95,8 @@ class MainWindow(QMainWindow):
event.accept()
def connexion_btn_link(self):
toast('Hello Python🐍')
#toast('Hello Python🐍')
print("")
if __name__ == "__main__":
+11 -4
View File
@@ -60,10 +60,7 @@
<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>
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
@@ -233,6 +230,9 @@
<height>658</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::Shape::NoFrame</enum>
</property>
@@ -293,6 +293,13 @@
</property>
<item>
<widget class="QFrame" name="frame">
<property name="styleSheet">
<string notr="true">#frame{
background-image: url(:/assets/logo.png);
background-repeat: no-repeat;
background-position: center;
}</string>
</property>
<property name="frameShape">
<enum>QFrame::Shape::NoFrame</enum>
</property>
+1
View File
@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/">
<file>assets/logo.png</file>
<file>assets/system-shutdown.png</file>
<file>assets/Avocado-Cake-Demo.otf</file>
<file>assets/background.png</file>
File diff suppressed because it is too large Load Diff
+9
View File
@@ -95,4 +95,13 @@ QSlider::handle:horizontal {
margin-top: -8px;
margin-bottom: -8px;
border-radius: 2px;
}
QWidget#main_container{
background: qlineargradient(
x1:0, y1:0,
x2:0, y2:0,
stop: 0 rgba(32, 49, 103, 180),
stop: 1 rgba(103, 49, 32, 80)
);
}