QScrollBar's slider gets invisible/hidden if setEnabled(false) is given
Unsolved
General and Desktop
-
Hi,
I have created a QListWidget with a customized QScrollbar.
If I click on the list items, I have made a modeless dialog to display some (processing....)progress msgs.
So when the modelss dialogs starts, the listwidget should not receive any inputs from the user. To make this, I have used setEnabled(false) to disable the state of the listwidget QScrollbar before creating the modelss dialog.But the scrollbar's slider goes to invisible state during the modeless dialog box execution.
Kindly looking for some ideas.
Image attached for reference.
Thanks.
-
@Sangeetha24 Why is this behaviour a problem? Why do you want a working scroll bar if whole list widget is disabled? If it is disabled you can't use it.