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 implementationCodePudding 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