2
我使用下面的代碼來設置模擬器(S60)(諾基亞Qt SDK)中的表格樣式。QTableView - 選擇背景顏色
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);"
);
但是當我在數據中選擇元素時,我得到了以下輸出。請找到附件。
請幫助我....我沒有什麼錯的..在此先感謝。