[SOLVED] stylesheet on QTableWidgetItem just edited
-
Hello,
I'm currently working on a QTableWidget custom with stylesheet.
When I modify an item and press enter to apply, the item changes automatically to some creemy background color.I can't find a way to disable it via the doc. Do you know some possibilities?
Thanks
-
@ QString styleSheet = QString(
"QWidget {" " color: white;" " background-color: rgba(0, 0, 0, 0);" "}"
"QLabel {"
" color: white;"
"}"
"QLineEdit {"
" border: 1px solid blue ;"
" border-radius: 3px;"
" border-style: ridge ;"
"}"
"QScrollBar:vertical {"
" width: 12px;"
" background-color:green;"
"}"
"QHeaderView::section {"
"background-color: rgba(62, 78, 104, 160);"
"color: white;"
"}"
"QComboBox {"
"background-color: rgba(62, 78, 104, 160);"
"color: white;"
"}"
"QTableWidget QLineEdit {"
"background-color: rgba(62, 78, 104, 255);"
"}"
);
setStyleSheet(styleSheet);@I really don't do anything that involve that cream color which is a default color in Qt for QTableWifdget I think