[Qt-interest] Emulating Qt-widget Box kind of layout

Santhosh Y santhosh at softjin.com
Thu May 28 11:34:12 CEST 2009


Sean Harmer wrote:
> On Wednesday 27 May 2009 12:25:09 Santhosh Y wrote:
>   
>> Hi
>>
>> I would like to implement a widget in which there are a set of items
>> under one header.
>>
>> There are "n- number of headers" and in each there are "m-number of items"
>>
>> The widget should display this n-number of headers in a vertical layout
>> and each header should
>> display its status (whether it is in expanded OR collapsed  state by "+"
>> & "-" respectively.)
>>
>> If a header is in expanded state, it should show its item else not.
>>
>> This is exactly how the Qt-Designer "widget-box" looks like.
>>
>> How to implement it.
>>     
> Why not look at the code for Qt Designer then? You have it all there.
>   
The code is too heavy. And the implementation includes every thing (like 
drag & drop etc...)

I need that part which is used for populating the widget box items

Thanks
> Sean
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   


-- 
----------------------------------------------------
Y Santhosh Kumar
Senior Software Engineer
SoftJin Technologies Private Limited
Unit No. 102, Mobius Tower,
I Floor, SJR I - Park,
EPIP, White Field,
Bangalore - 560066, India
U : www.softjin.com
E : santhosh at softjin.com
T : +91-80-41779999
M : +91-9740535265
----------------------------------------------------



Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________





More information about the Qt-interest-old mailing list