PDA

View Full Version : Auto hide option in QT



kishore7771
14th June 2010, 07:42
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

high_flyer
14th June 2010, 08:51
Please post specific questions, you don't expect us to deliver you the full implementation I hope...

kishore7771
14th June 2010, 10:04
Please post specific questions, you don't expect us to deliver you the full implementation I hope...

Thanks for reply ...
I tried with tool bar , but still i am not able to proceed.

aamer4yu
14th June 2010, 10:08
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..

high_flyer
14th June 2010, 10:10
Deleted deleted

squidge
14th June 2010, 10:13
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.