Question 2: how to realize the toolbar center shows that the window size
CodePudding user response:
Nothing controls can do it directly, I don't know, since the draw, you may need a little things, such as setting up the form attribute is Qt: : Tool, this window will not display in the task bar, in the use of the focusIn, and focusOut events, can complete the effect you sayCodePudding user response:
The form attribute? Which forms controls can be set to Qt: : Tool?CodePudding user response:
Qt most controls are inherited from QWidget, form QWidget properties, of course, I mean, now that without this control, why don't you realize a yourself?CodePudding user response:
Event filters enter to leave when the mouse on the toolbar displayed leave the area when hiddenCodePudding user response: