nifei
3rd November 2008, 22:41
hi, all. i need control some itemview's item's appearences with style sheet, that is to say, i can control item's size, boder, background .etc by .qss file.
now, i could change other properties except the tableview's item's width and height. i uses "* :: item{height : mpx;}"and it works in treeview and list view, and "* :: item{background-color:green; border:1px solid black;}"works in all the 3 types of views. so i wonder where can i find a full list of detailed destription of widgets' style, or at least, can i use "* :: item{height : npx; width : mpx;}"to tableview?
now, i could change other properties except the tableview's item's width and height. i uses "* :: item{height : mpx;}"and it works in treeview and list view, and "* :: item{background-color:green; border:1px solid black;}"works in all the 3 types of views. so i wonder where can i find a full list of detailed destription of widgets' style, or at least, can i use "* :: item{height : npx; width : mpx;}"to tableview?