PDA

View Full Version : veritical menu/layout separator?!?!



nupul
21st April 2006, 15:48
I am using a custom menu which is like 600x600 in size. Now the point is I would like to have the menu contents displayed in 3 vertical columns....how can i do this?

OR

If i display the contents in a normal frameless window, using 3 vertical layouts in a horizontal layout, can I i show a separator between the columns? how?

Thanks

Nupul

SkripT
21st April 2006, 16:16
Maybe you need a QSplitter or set an appropiate value for the margins of the horitzontal layout...

SkripT
22nd April 2006, 09:34
Maybe you need a QSplitter or set an appropiate value for the margins of the horitzontal layout...

sorry I mean spacing when I say margins...

nupul
22nd April 2006, 16:46
but will i get a vertical line looking as a separator? :confused:

thanks.

ps: I don't want to use a splitter!

Chicken Blood Machine
22nd April 2006, 23:01
I am using a custom menu which is like 600x600 in size. Now the point is I would like to have the menu contents displayed in 3 vertical columns....how can i do this?

Didn't you learn anything from Microsoft's atrocious start menu:p
Actually, QMenu will not be able to do this for you. You will have to create your own custom popup widget which contains a horizontal layout with five columns. Use frame widgets, with the style set to VLine|Sunken to get the separators in columns 1 and 3.