Hi,
I am using the following code for set the style for the table in simulator(S60).
searchTable->setStyleSheet("background: rgb(255,255,255);color:rgb(0,0,0); font-family:Arial Narrow;font-size:20px; border: 4px outset rgb(255,255,255);gridline-color: #669933;"
"selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #486909, stop: 1 white);"
);
But When I am selecting the element in the data I got the following output. Please find the attachment. Thanks in advance.. What I did wrong in this code..


 
					
					 
							
						 
    
    
    
    
    
    
   
    
    
    
    
    
    
   QTableView -Selection background color
 QTableView -Selection background color
		 
				
				
				
					 Reply With Quote
  Reply With Quote 
			
Bookmarks