PyQt5 QListWidget – Getting its Flow
In this article we will see how we can get the flow of the QListWidget. QListWidget is a convenience class that provides a list view with a classic item-based interface for adding and removing items. QListWidget uses an internal model to manage each QListWidgetItem in the list. Flow tells how the list widget list will be, by default list is vertical i.e rows although by changing the flow we can make horizontal list as well, t can be changed with the help of setFlow method.
In order to do this we will use flow method with the list widget object. Syntax : list_widget.flow() Argument : It takes no argument Return : It returns Flow object
Below is the implementation
My Personal Notes arrow_drop_up
Please Login to comment...