PDA

View Full Version : QList resize manually



nina1983
12th August 2008, 16:05
Dear,

I have a QList widget inside a QStackedWidget. I would like to allow the user to resize the list manually from the GUI. I explain better what I mean: dragging and dropping the left side of the list its size should changed.
Is it possible to do it?
If you didn't understand the problem let me know. I'll explain it better!

Thanks a lot

Annalisa

jpn
12th August 2008, 16:12
Are you talking about QListView (or QListWidget)? QList is not a GUI component, it's a generic container class.

nina1983
12th August 2008, 16:18
You're right!
Sorry, I'm new in Qt...
:-(

I'm using QListWidget... if it's a container it's not possible to resize it manually from the GUI? How can I do it?

Thanks Annalisa

jpn
12th August 2008, 16:39
Your description "dragging and resizing from the left side" sounds like you'd like to place the list and stacked widget both into a QSplitter.

nina1983
12th August 2008, 16:42
Exactly!

Thanks a looooooooooooooot!!!!

:cool: