A
A
Artem2014-08-18 11:40:54
Qt
Artem, 2014-08-18 11:40:54

How to make transparent background for QWidget?

There is a QWidget with several QLabels on it. How can I make the root QWidget transparent and the QLabels placed on it opaque?
Those. in other words, how do I keep only child widgets visible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexP11223, 2014-08-18
@Properrr

And what's the problem? It seems to be transparent by default.
Well, in any case, for this, it is most likely worth looking towards stylesheet qt-project.org/doc/qt-5/stylesheet.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question