Home > Mobile >  I'm trying to implement a custom QComboBox, but very difficult.
I'm trying to implement a custom QComboBox, but very difficult.

Time:09-22





Look at Qt QComboBox, this part is how to realize the display I am confusing,,

CodePudding user response:

Can use the drop-down list QListView implementation

CodePudding user response:

I am a drop-down menu as an a handle without borders placed at the top of the window, there is also a Qt: : the properties of the tool, click on the button, according to click on the button of the rect drop-down menu window, and atctiveWindow (), setFocus (), shut down automatically when the window loses focus
  •  Tags:  
  • Qt
  • Related