Home > other >  How to realize like VS the sidebar to form hidden automatically
How to realize like VS the sidebar to form hidden automatically

Time:02-04

In a lot of software like VS have similar window, click the auto hide button, move the mouse to the border of the window, the window automatically pop up, after the mouse left, window automatically hide, don't know how to achieve this effect QT, hope directly, thank you!

CodePudding user response:

How no one reply ah, where is the master?

CodePudding user response:

You know this is not a principle? Is in accordance with the principle of step by step, to realize, fixed in the position of flag is false, the mouse slip or fully displayed in the widget interface components, a few seconds when the mouse out parts hidden or back,

CodePudding user response:

I did this to take encapsulation, added to tianchi,

CodePudding user response:

Can be monitored sidebar button to Enter and Leave the event, when Enter the window show

CodePudding user response:

The building Lord know into the solution?
  • Related