Hi
im trying to set opacity to QListView , that sits on QDialog
i mange to set the QDialog transperant with setting the
:Qt::WA_TranslucentBackground = true
but the QListView doesn't become transparent with i set the
setWindowOpacity to 1 or 0
Hi
im trying to set opacity to QListView , that sits on QDialog
i mange to set the QDialog transperant with setting the
:Qt::WA_TranslucentBackground = true
but the QListView doesn't become transparent with i set the
setWindowOpacity to 1 or 0
try this:
Qt Code:
listView->setPalette(pal);To copy to clipboard, switch view to plain text mode
try this:
Qt Code:
listView->setPalette(pal);To copy to clipboard, switch view to plain text mode
Bookmarks