Can you record some video what you mean, i don't understand? For recording you can use Camtasia Studio (in windows).
Can you record some video what you mean, i don't understand? For recording you can use Camtasia Studio (in windows).
ok brother what u want to achieve is considered by some as a problem thats why Qt has desigened its layout system such that it does not shrink more than its minimum size of contents...
may be u need to implement your custom layout.
take a look at this example http://doc.trolltech.com/4.5/layouts-flowlayout.html
Thanks for ideas, but a have to say a few words.
To SABROG: Open an explorer in windows XP. Take a look on the left panel. You will see drop down panels such as: System Tasks, Other Places, Details, and may be others. I need the same behaviour. It should be an animated drop down panel with widgets.
But i forgot to mention that it should be resizable. I have found one implementation but it uses grabWidget() to save the content of main form to a picture. It shows that picture, than hides form, and animates the picture instead of controls itself. It has some artifacts, because when we resize main form after collapsing it (the picture was stored with original width) and try to expand it, the picture scales and it does not looks good.
You can see it here: http://qt-apps.org/content/show.php/...?content=79286
I believe it was not so good implementation
To aamer4yu: May be QTreeView can help me, but can it be smooth animated while closing/opening? QToolBox also can not be used, as it has no animation i need. It has a very different behaviour.
To MrDeath: It was a very good idea. I thought about custom layout, but i try to find more simple way for a while.
I don't want manually positioning of every widget in my form. I want to place all of them into a frame with layout, and than somehow fix them on it. And animate it.
Does anyone have an idea?
Did you check the link I gave in previous post ? (Designing Delegates)
You can easily modify the header item to draw arrows or anything u like...play with that example.
ok, thanks! I'll try.
Bookmarks