Hi all:
I created a mainwindow(QMainWindow) and attached a listwidget(QListWidget) to it , I use QWidget::setMask() to make the mainwindow transparent , but the listwidget is transparent too . That isn't what I want .
So how can I make the listwidget visible when the mainwindow is transparent ?
I don't use QWidget::setWindowOpacity()because I develop this application on WIN_CE with a Qt-4.4.0 , this OS doesn't support this method !
here is my code:
Qt Code:
ui.setupUi(this); maskPix.fill(Qt::transparent); setMask(maskPix.mask());To copy to clipboard, switch view to plain text mode
Thanks for you suggestion.
Bookmarks