hi,
QVBoxLayout *v=new QVBoxLayout(this);
QSplitter *splitter=new QSplitter(this);
splitter->setOrientation(Qt::Vertical);
QPixmap pixmap("Album.png");
splitter->setHandleWidth(pixmap.width());
QLabel* label = new QLabel(splitter->handle(2));
label->setPixmap(pixmap);
QLineEdit *l1=new QLineEdit();
QLineEdit *l2=new QLineEdit();
QLineEdit *l3=new QLineEdit();
bool p=pixmap.isNull();
splitter->addWidget(l1);
splitter->addWidget(l2);
splitter->addWidget(l3);
v->addWidget(splitter);
splitter handle width is equal to the image width,,,,....
But unable to get the image on to the splitter handle...
help plz..
thx
Bookmarks