octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53174] Octave uses Win98 theme on Windows


From: Alexander Wilms
Subject: [Octave-bug-tracker] [bug #53174] Octave uses Win98 theme on Windows
Date: Wed, 11 Apr 2018 04:10:24 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #19, bug #53174 (project octave):

Instead of using setPalette, one can apparently use CSS-like style sheets:
http://doc.qt.io/qt-5/stylesheet-examples.html and
http://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton

The stylesheet can be set for specific widgets:

QColor col = QColor::fromRgb(144,238,144);
QString qss = QString("background-color: %1").arg(col.name());  
button->setStyleSheet(qss);

cf. https://stackoverflow.com/a/48555125

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53174>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]