Originally Posted by toutarrive To set the background color of selected text or item: Qt Code: Switch view mytableWidget.setStyleSheet(selection-background-color : acolor") mytableWidget.setStyleSheet(selection-background-color : acolor") To copy to clipboard, switch view to plain text mode if i want to change the row's background which i selected with a image? how should i do?
mytableWidget.setStyleSheet(selection-background-color : acolor")
View Tag Cloud
Forum Rules
Bookmarks