Hi all intelligent peple.
I am developing an application in which i have a QTreeView.
I want to make it transparent , so that i can see the (image , logo etc) which is behind the QTreeView.
Code is --------------------
#include <QtGui>
int main(int argc , char *argv[])
{
treeview.setAnimated(true);
treeview.setModel(&model);
treeview.setRootIsDecorated(true);
treeview.show();
return app.exec();
}
#include <QtGui>
int main(int argc , char *argv[])
{
QApplication app(argc , argv);
QDirModel model;
QTreeView treeview;
treeview.setAnimated(true);
treeview.setModel(&model);
treeview.setRootIsDecorated(true);
treeview.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks