wip transparence
This commit is contained in:
BIN
__pycache__/fake_patch_notes.cpython-313.pyc
Normal file
BIN
__pycache__/fake_patch_notes.cpython-313.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
__pycache__/resources_rc.cpython-313.pyc
Normal file
BIN
__pycache__/resources_rc.cpython-313.pyc
Normal file
Binary file not shown.
BIN
__pycache__/slidergroovecolorstyle.cpython-313.pyc
Normal file
BIN
__pycache__/slidergroovecolorstyle.cpython-313.pyc
Normal file
Binary file not shown.
BIN
assets/logo.png
Normal file
BIN
assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 140 KiB |
@@ -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__":
|
||||
|
||||
@@ -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,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
@@ -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)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user