Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QLabel is ignoring me [background color]

$
0
0
Can anyone tell me why this code does not set the background color of the QLabel to white?     m_pLogOutput = new QLabel("Status");     QPalette logOutputPalette(m_pLogOutput->palette());     logOutputPalette.setColor(QPalette::Window, QColor(Qt::white));     m_pLogOutput->setPalette(logOutputPalette);

Viewing all articles
Browse latest Browse all 18427

Trending Articles