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

Qt-interest Archive, December 2006
how to set image in tableWidget's verticalheader


Message 1 in thread

hi all
plz give me the solution for my problem

1--->i have one tablewidget
each table have vertical header and horizontal header
2--->in horizontal header (col 0) name is ImageType and in horizontal  
header (col 1) Extention
3--->Now verticalheaderitem(0) is one icon and row(0)col(0) i have  
"Nikon" (that is inserted by code) & checkbox and in row(0)col(1) its  
having "Png" (inserted by coding)


MyProblem is:

i want to increase the height and width of verticalheaderitem(0)  
which is an icon and icon height should be as same as cell height is  
like my cell height is 30 icon height should be same 30 and width  
should be half of the width of cell width

and my form name is imageselect an my function name is tableitems()
and i have toolbutton(in another mainwindow form) "openimageselect"  
in my toolbar
as i click this button the imageselect (dialog form) opened


i ll thankfull to you







thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx