StyleSheet Rewrite

Use QDarkStyle to make Standard_Dark.qss and Standard_Light.qss
Use Widget name to stylize them.
This commit is contained in:
Phenom 2021-04-09 11:54:57 +02:00
parent 16ca0dc52c
commit d7981f3811
772 changed files with 12162 additions and 11459 deletions

View file

@ -384,14 +384,14 @@ void CreateGxsForumMsg::checkLength()
int charRemains = MAX_ALLOWED_GXS_MESSAGE_SIZE - msg.length();
if(charRemains >= 0) {
text = tr("It remains %1 characters after HTML conversion.").arg(charRemains);
ui.infoLabel->setStyleSheet("QLabel#infoLabel { }");
ui.info_Label->setStyleSheet("QLabel#info_Label { }");
}else{
text = tr("Warning: This message is too big of %1 characters after HTML conversion.").arg((0-charRemains));
ui.infoLabel->setStyleSheet("QLabel#infoLabel {color: red; font: bold; }");
ui.info_Label->setStyleSheet("QLabel#info_Label {color: red; font: bold; }");
}
ui.postButton->setToolTip(text);
ui.postButton->setEnabled(charRemains>=0);
ui.infoLabel->setText(text);
ui.info_Label->setText(text);
}
void CreateGxsForumMsg::createMsg()