Changeset 87954 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 4, 2021 3:05:01 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp
r87951 r87954 89 89 registerField("EFIEnabled", this, "EFIEnabled"); 90 90 91 const QPalette pal = palette();92 QColor tabBackgroundColor = pal.color(QPalette::Active, QPalette::Highlight).lighter(110);93 QColor textColor = pal.color(QPalette::Active, QPalette::Text).lighter();94 QColor disabledTextColor = pal.color(QPalette::Disabled, QPalette::Text).lighter();95 96 m_pToolBox->setStyleSheet(QString::fromUtf8("QToolBox::tab {\n"97 " background: %1; \n"98 " border-radius: 5px;\n"99 " color: %2;\n"100 "}\n"101 "\n"102 "QToolBox::tab:selected {\n"103 " font: bold;\n"104 "}\n"105 "\n"106 "QToolBox::tab:hover {\n"107 " font: bold;\n"108 "}\n"109 "QToolBox::tab:disabled {\n"110 " font: italic;\n"111 " color: %3;\n"112 "}").arg(tabBackgroundColor.name()).arg(textColor.name()).arg(disabledTextColor.name()));113 114 91 disableEnableUnattendedRelatedWidgets(isUnattendedEnabled()); 115 92 }
Note:
See TracChangeset
for help on using the changeset viewer.