In this article we will see how we can set the visible column of combo box. This is used to set the column which will be visible to the user, model column property holds the column in the model that is visible. In order to set this we use
Syntax : combo_box.setModelColumn(n)
Argument : It takes integer as argument i.e column index
Return : None
Below is the implementation
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course