Change background-color Style for containers in widgets
-
Hi, what CSS element is this dark grey container? If I change the QGroupBox background color I can still see the semi transparent box, but I can't find the class to change it's background color. I tried every class in the stylesheet reference but couldn't find this one.
-
Hi
Since all Widgets can be used as a container we cannot guess.It could be a plain Widget with a label over.
However, it does look like a group box in the way the caption looks.
I would try some other property of group box and see if it changes.There is zero access to source code ?
Also if you are programmer, you could use
https://github.com/robertknight/Qt-Inspectorand then see if you can spy on the other app :)
-
This is the source code https://github.com/Cockatrice/Cockatrice/tree/master/cockatrice but I don't really know where to look beside src folder, because I can't read C++ I tried with Qt-Inspector but couldn't even compile it. Is there any other similar software? even for PC?
By the way, I've seen that the QGroupBox only has :Title as useful property, unless I'm mistaken. Any other suggestion?
-
Hi,
You can use KDAB's GammaRay to inspect your application.
Other than that you can also use the dumpObjectTree method to see what you have in that widget.