vajindarladdad
26th December 2008, 11:08
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[])
{
QApplication app(argc , argv);
QDirModel model;
QTreeView treeview;
treeview.setAnimated(true);
treeview.setModel(&model);
treeview.setRootIsDecorated(true);
treeview.show();
return app.exec();
}
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[])
{
QApplication app(argc , argv);
QDirModel model;
QTreeView treeview;
treeview.setAnimated(true);
treeview.setModel(&model);
treeview.setRootIsDecorated(true);
treeview.show();
return app.exec();
}