[Qt-interest] layout and QTreeWidget

Yixun Liu enjoywm at cs.wm.edu
Mon Apr 6 15:43:50 CEST 2009


AngelWarrior wrote:
>
>
> On Sun, Apr 5, 2009 at 6:13 PM, AngelWarrior
> <srikanth.bemineni at gmail.com <mailto:srikanth.bemineni at gmail.com>> wrote:
>
>
>
>     On Sun, Apr 5, 2009 at 4:14 PM, Yixun Liu <enjoywm at cs.wm.edu
>     <mailto:enjoywm at cs.wm.edu>> wrote:
>
>         Hi,
>         I have two problems.
>         1. I use QVBoxLayour to align two widgets. I want the bottom
>         one to
>         maintain square shape as I resize.  How to do it?
>
>         What are the widgets ??Is it a tree view and checkbox
>
             The widget is QTreeWidget.
>
>
>         2. I use QTreeWidge with check box. I want to send a single when I
>         change the state of the checkbox. However I try all the signals
>         mentioned in QTreeWidget class reference and only signal
>         itemSelectionChanged() can connect to my slot, but it is not
>         what I want
>         signal.
>
>        If you cannot then create your own signal by creating a class
>     which inherits the QTableWidget. or the other way.Not clear what
>     exactly you want.
>
>
>
>         Thank.
>
>         Yixun
>         _______________________________________________
>         Qt-interest mailing list
>         Qt-interest at trolltech.com <mailto:Qt-interest at trolltech.com>
>         http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
>
>     -- 
>     _/\_
>     With Regards
>     SB Angel Warrior
>
>
>
>
> -- 
> _/\_
> With Regards
> SB Angel Warrior
>




More information about the Qt-interest-old mailing list