Home > Mobile >  QT QcomboBox according to specific items
QT QcomboBox according to specific items

Time:03-05

In QcomboBox inside added a lot of items, and use it every time you only according to condition of specific items,
Example: in the QcomboBox added A1aa A1ab A1bb A1bc A2aa A2ab A2bb A2bc, only shows how to implement according to the conditions at the beginning of all A1 or A2 at the beginning of all entries, the remaining entries hidden,

CodePudding user response:

Sections show hidden should not, every time can only change the conditions to add

CodePudding user response:

Remember a setVisible or setHidden
  •  Tags:  
  • Qt
  • Related