T
T
TemaKam2021-03-08 13:34:54
PyQt
TemaKam, 2021-03-08 13:34:54

How to sort qcombobox alphabetically without case sensitivity?

at the moment I use it, but this sorting is case-sensitive, how can I turn it off? in the parameters like you can not pass something like CaseInsensitive
.model().sort(0, 0)
CY3Weic.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andy_U, 2021-03-08
@Andy_U

This issue has never bothered me. But who's stopping you from inheriting from model and rewriting sort()?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question