Items of QListWidget are greyed out
-
Hello.
In my application, i have a widget which contains a QTabWidget composed of two tabs. In the second tab there is a QListWidget. When the first tab is shown, i run a method on the widget corresponding to the second tab in order to populate the list. When i press the second tab, the list items appears, but they are greyed out and i cannot select them.
Could you explain this?
Dvassily
-
-
@JonB Thank you for you response.
I finally figured it out, there was a QSplitter surrounding the QTabWidget and i tought i could prevent it from being resize by calling setEnabled(false) directly on it. I found a solution on Stack Overflow : https://stackoverflow.com/a/9224819/10525519 .
Post 1 of 3