QListWidget on freemantle

I have a problem with QListWidget on freemantle (maemo, n900).

I want to use two QListWidget in one window and let the user select a number in each window.

When the user uses the second QListWidget, the "blue" color on it is disparear. How to change the color of an item selected in a QListWidget that is inactive?

+3
source share
1 answer

It’s a hack type, but you can change QPalleteit QListWidgetsso that the inactive color is the same as the active color.

http://qt.nokia.com/doc/4.6/qpalette.html#ColorGroup-enum

: http://www.qtcentre.org/threads/17922-two-qlistwidgets, . Qt, , .

+2

Source: https://habr.com/ru/post/1733903/


All Articles