0
QWidget
A поднимает классы CSS, как и ожидалось:Как добавить CSS класс к QVBoxLayout
leftContainerWrapper = new QVBoxLayout();
leftContainerWrapper -> setProperty("class", "top-bar-borders");
Однако QVBoxLayout никогда не делают.
QVBoxLayout leftContainerWrapper = new QVBoxLayout();
leftContainerWrapper -> setProperty("class", "top-bar-borders");
Как я могу идти о добавлении класса стиля, top-bar-borders
ниже, к QHBoxLayout?
.top-bar-borders {
border-top: 2px solid #5676C9;
}