Not in the automagic fashion you imagine, but you are free to build the style string and then apply it:
"QComboBox QAbstractItemView::item { min-height: %1; min-width: 60px; } "
"QComboBox {min-height: %1; min-width: %2px;} "
);
setStyle(styleString.arg("60px").arg(75));
const QString styleString(
"QComboBox QAbstractItemView::item { min-height: %1; min-width: 60px; } "
"QComboBox {min-height: %1; min-width: %2px;} "
);
setStyle(styleString.arg("60px").arg(75));
To copy to clipboard, switch view to plain text mode
Bookmarks