How to emit signal when total items count reaches a threshold in QListWidget
-
How can I get a signal when total items added in a QListWidget reaches a threshold(say listbox.count()=8)?
Also is there any way to limit number of items to be added in a QListWidget (such as a max limit or something)? -
Hi,
the only way is to sub-class QListWidget.
-
yeah i have subclassed it and now trying, btw thanks