mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-06-23 06:33:49 +08:00
新增用于About和其他详细信息的%14颜色
This commit is contained in:
@@ -35,6 +35,7 @@ SpkAbout::SpkAbout(QWidget *parent) : SpkDialog(parent)
|
|||||||
"more Debian-based Linux OSes, and build a real community software repository "
|
"more Debian-based Linux OSes, and build a real community software repository "
|
||||||
"for users around the world.";
|
"for users around the world.";
|
||||||
mDescriptionText = new QLabel;
|
mDescriptionText = new QLabel;
|
||||||
|
mDescriptionText->setObjectName("spk_about_desc");
|
||||||
mDescriptionText->setWordWrap(true);
|
mDescriptionText->setWordWrap(true);
|
||||||
mDescriptionText->setText(description);
|
mDescriptionText->setText(description);
|
||||||
|
|
||||||
|
|||||||
@@ -146,7 +146,8 @@ namespace SpkUi
|
|||||||
0x6b6b6b, 0x656565, 0x606060, 0x404040, 0x383838,
|
0x6b6b6b, 0x656565, 0x606060, 0x404040, 0x383838,
|
||||||
ColorTextOnBackground(0x0070ff),
|
ColorTextOnBackground(0x0070ff),
|
||||||
ColorTextOnBackground(0x282828),
|
ColorTextOnBackground(0x282828),
|
||||||
ColorTextOnBackground(0x282828)
|
ColorTextOnBackground(0x282828),
|
||||||
|
/* TODO: %14 lighter text */
|
||||||
};
|
};
|
||||||
CurrentStylesheet = StylesheetFromColors(LightColor);
|
CurrentStylesheet = StylesheetFromColors(LightColor);
|
||||||
qApp->setStyleSheet(CurrentStylesheet);
|
qApp->setStyleSheet(CurrentStylesheet);
|
||||||
@@ -159,7 +160,8 @@ namespace SpkUi
|
|||||||
0x6b6b6b, 0x656565, 0x606060, 0x404040, 0x383838,
|
0x6b6b6b, 0x656565, 0x606060, 0x404040, 0x383838,
|
||||||
ColorTextOnBackground(0x0070ff),
|
ColorTextOnBackground(0x0070ff),
|
||||||
ColorTextOnBackground(0x282828),
|
ColorTextOnBackground(0x282828),
|
||||||
ColorTextOnBackground(0x282828)
|
ColorTextOnBackground(0x282828),
|
||||||
|
0xd5d5d5
|
||||||
};
|
};
|
||||||
CurrentStylesheet = StylesheetFromColors(DarkColor);
|
CurrentStylesheet = StylesheetFromColors(DarkColor);
|
||||||
CurrentColorSet = DarkColor;
|
CurrentColorSet = DarkColor;
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
%11: Text on Selection/Activation
|
%11: Text on Selection/Activation
|
||||||
%12: Text on Global background
|
%12: Text on Global background
|
||||||
%13: Text on controls background
|
%13: Text on controls background
|
||||||
|
%14: Text slightly lighter
|
||||||
*/
|
*/
|
||||||
|
|
||||||
QWidget
|
QWidget
|
||||||
@@ -155,3 +156,8 @@ QScrollBar::add-line, QScrollBar::sub-line
|
|||||||
{
|
{
|
||||||
height:0px
|
height:0px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#spk_about_desc
|
||||||
|
{
|
||||||
|
color: %14
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user