Hi all,
I need to implement auto hide widgets option like visual studio editor..
Please help me how to proceed to create such control
Thanks in advance!!
Kishore
Hi all,
I need to implement auto hide widgets option like visual studio editor..
Please help me how to proceed to create such control
Thanks in advance!!
Kishore
Please post specific questions, you don't expect us to deliver you the full implementation I hope...
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
How do you intend to show the widgets after they are hidden ?
You can implement auto-hide with either mouseMoveEvent or focusOutEvent...
To show the widget back, you can use mouseMoveEvent in the main class..
Deleted deleted
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
When mouse leaves control set a timer. When this timer expires, use another timer to slowly move and/or resize the control. When you get focus, you can use timer to slowly move and/or resize the control back to normal size.
Bookmarks