c++ - QWidget Transformation -


i writing application using qt , have "metro style" interface. finished except don't know how make widget appear , disappear. instance, in wpf can animate (uielement.rendertransform).(translatetransform.y) y becomes 0 or negative. how can move qwidget in qgridlayout can hide?

example: enter image description here

after doing research figured out way this. instead of letting qt layout handled myself via move , set width/height functions. overriding resizeevent made update values in case window resized. additionally used setmask ensure widget did not leak on unwanted locations in ui.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -