modify: h5 插件系统更新

This commit is contained in:
2025-09-13 12:13:52 +08:00
parent 3631b383d6
commit f94c4b57e4
43 changed files with 16649 additions and 1151 deletions
+24 -6
View File
@@ -15,7 +15,9 @@ QPushButton:pressed{
}
"""
ADD_BUTTON_STYLE = BUTTON_STYLE + """
ADD_BUTTON_STYLE = (
BUTTON_STYLE
+ """
QPushButton {
background-color: #0d6efd;
}
@@ -26,8 +28,11 @@ QPushButton:pressed{
background-color: #0a58ca;
}
"""
)
DELETE_BUTTON_STYLE = BUTTON_STYLE + """
DELETE_BUTTON_STYLE = (
BUTTON_STYLE
+ """
QPushButton {
background-color: #dc3545;
}
@@ -37,8 +42,11 @@ QPushButton:hover {
QPushButton:pressed{
background-color: #b02a37;
"""
)
BATCH_DELETE_BUTTON_STYLE = BUTTON_STYLE + """
BATCH_DELETE_BUTTON_STYLE = (
BUTTON_STYLE
+ """
QPushButton {
background-color: #fd7e14;
}
@@ -49,8 +57,11 @@ QPushButton:pressed{
background-color: #dc680f;
}
"""
)
UPDATE_BUTTON_STYLE = BUTTON_STYLE + """
UPDATE_BUTTON_STYLE = (
BUTTON_STYLE
+ """
QPushButton {
background-color: #198754;
}
@@ -61,8 +72,11 @@ QPushButton:pressed{
background-color: #146c43;
}
"""
)
IMPORT_BUTTON_STYLE = BUTTON_STYLE + """
IMPORT_BUTTON_STYLE = (
BUTTON_STYLE
+ """
QPushButton {
background-color: #6f42c1;
}
@@ -73,8 +87,11 @@ QPushButton:pressed{
background-color: #4a2d8e;
}
"""
)
EXPORT_BUTTON_STYLE = BUTTON_STYLE + """
EXPORT_BUTTON_STYLE = (
BUTTON_STYLE
+ """
QPushButton {
background-color: #20c997;
}
@@ -85,3 +102,4 @@ QPushButton:pressed{
background-color: #198b6d;
}
"""
)