qt creator theme pane background color - qt

What variable in QT Creator theme file .creatortheme controls the background colors noted in the figure? I tried BackgroundColorNormal but it didn't work. .

Related

Vaadin Flow dark mode Dialog

How can i set my dialog theme from light to dark?
When i'm doing
dialog.setAttribute("theme", Lumo.DARK);
then background under dialog have solid colour and i can't see what is benath it like in normal theme. I changed dialog theme on the official vaadin page and there isthis same problem. I`m using Vaadin 14.7.6.
There’s no out-of-the-box support for a dark variant for Dialog specifically. You can set the whole application to use the dark theme, though.
If you only want a dark themed Dialog, you need to do what you already did, but override the background color of the <vaadin-dialog-overlay> element.

Change current step line background color

Is it possible to change the background color of the line at which the debugger has currently stopped?
sure, in the qt creator go to editor and enable the "Highlight current line" option

Arch Dark Theme & Qt Creator

I am trying to edit the Arch Dark theme so that the coloring of certain text is white/light colored because it is barely readable when there is black text on a dark blue background. So in my case, I use Qt Creator often to design GUI's and create applications but when you open it, it looks like this:
https://imgur.com/a/gC94UCY
https://imgur.com/a/phMgJHf
As you can see there is black text on the dark backgrounds in the home screen and on the project screen, I am unsure whether these colors have to be changed in Qt or through the theme files themselves but is it possible to change them to white or a lighter color of my choosing.

How to set Qt sRGB gamma for stylesheets and labels?

My QGLWidget has glEnable(GL_FRAMEBUFFER_SRGB) but my Qt widgets are not gamma corrected causing a disconnect between the Qt stylesheet colors and other colors (for color picking) and what is displayed in the QGL view.
Is there a Qt way to gamma correct in these cases?

How to get the dialog background color (window color) in a Qt Gui application?

My Qt version is 4.7.1 and I want to set the background color of a QLineEdit the same as window color, and I use this way:
QString bgColorName = palette().color(QPalette::Normal, QPalette::Window).name();
QString strStyleSheet = QString("QLineEdit {background-color: ").append(bgColorName).append("}");
ui->lineEdit->setStyleSheet(strStyleSheet);
I tried to get the background colors name and then set the stylesheet of the QLineEdit, however, after running the application, I found the QLineEdit's color is a little different, that is, if you look at it carefully, you can see the difference, both on Win7 and Mac.
Could anyone help me to find a way to get the right background color of the dialog, thank you in advance.
The code you posted actually works for me (using Windows 7). Have you verified with an image editor such as Photoshop that the background of the line edit isn't the same as the dialog? Sometimes the mind plays tricks and can think the background color is different (due to the border) when in fact it isn't.
By the way, you can just make the background of your QLineEdit transparent using style sheets like this:
QLineEdit le("Line Edit with transparent BG");
le.setStyleSheet("background:transparent;");

Resources