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