Qt 6.11 is out! See what's new in the release
blog
QSlider not showing over background image using stylesheet (RESOLVED)
General and Desktop
2
Posts
2
Posters
1.9k
Views
1
Watching
-
QSlider has a PNG image for handle. Shows correctly. Don't need a groove image as
QFrame, for entire workspace, has the artwork. I see a black rectangle with the handle
over top of the background.Other children of the frame (groupboxes, labels, etc) are showing correctly.
@#frame {
background-image: url(:/qml/file_1.png);
}@QSlider::add-page {
color: rgba(0,0,0,0);
}
QSlider::sub-page {
color: rgba(0,0,0,0);
}
QSlider::handle {
image: url(:/qml/file_5.png);
}
QSlider::groove {
background-color: rgba(0, 0, 0, 0);
}What am I missing?
EDIT: I forgot about centralWidget - Resolved