Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, December 2007
Checkbox in Jambi Table Cell ?


Message 1 in thread

Is there a way to put a checkbox or any other control
(widget) in a Jambi table cell (QTableWidget) ? 

I know that in Qt, in a QTable cell, you can either
put a QTableItem, or a QCheckTableItem or even a
QComboTableItem... is this possible with Jambi also ?

Thanks,
Danny


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


Message 2 in thread

Hello,

try somthing like this :


Le Friday 07 December 2007 19:19:07 Danny Sporea, vous avez écrit :
> Is there a way to put a checkbox or any other control
> (widget) in a Jambi table cell (QTableWidget) ?
>
> I know that in Qt, in a QTable cell, you can either
> put a QTableItem, or a QCheckTableItem or even a
> QComboTableItem... is this possible with Jambi also ?
>
> Thanks,
> Danny
>
>
>      
> ___________________________________________________________________________
>_________ Looking for last minute shopping deals?
> Find them fast with Yahoo! Search. 
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping



Message 3 in thread

Hello,

Sorry, I've sent it before my wish.
I would like to write :

Try something like this :

QCheckBox ch = new QCheckBox();
lScreen.table.setIndexWidget(lscreen.table.model().index(0, 0),ch);

Where lScreen is your ui and table a QTableWidget.

Regards,
Paul.

Le Friday 07 December 2007 21:24:25 paul, vous avez écrit :
> Hello,
>
> try somthing like this :
>
> Le Friday 07 December 2007 19:19:07 Danny Sporea, vous avez écrit :
> > Is there a way to put a checkbox or any other control
> > (widget) in a Jambi table cell (QTableWidget) ?
> >
> > I know that in Qt, in a QTable cell, you can either
> > put a QTableItem, or a QCheckTableItem or even a
> > QComboTableItem... is this possible with Jambi also ?
> >
> > Thanks,
> > Danny
> >
> >
> >
> > _________________________________________________________________________
> >__ _________ Looking for last minute shopping deals?
> > Find them fast with Yahoo! Search.
> > http://tools.search.yahoo.com/newsearch/category.php?category=shopping



Message 4 in thread

Hello,

Sorry, I've sent it before my wish.
I would like to write :

Try something like this :

QCheckBox ch = new QCheckBox();
lScreen.table.setIndexWidget(lscreen.table.model().index(0, 0),ch);

Where lScreen is your ui and table a QTableWidget.

Regards,
Paul.

Le Friday 07 December 2007 21:24:25 paul, vous avez écrit :
> Hello,
>
> try somthing like this :
>
> Le Friday 07 December 2007 19:19:07 Danny Sporea, vous avez écrit :
> > Is there a way to put a checkbox or any other control
> > (widget) in a Jambi table cell (QTableWidget) ?
> >
> > I know that in Qt, in a QTable cell, you can either
> > put a QTableItem, or a QCheckTableItem or even a
> > QComboTableItem... is this possible with Jambi also ?
> >
> > Thanks,
> > Danny
> >
> >
> >
> > _________________________________________________________________________
> >__ _________ Looking for last minute shopping deals?
> > Find them fast with Yahoo! Search.
> > http://tools.search.yahoo.com/newsearch/category.php?category=shopping