hi
My code for mouse over event
bool mouseover()
{
{
return TRUE;
QPixmap pixmap
("image.png");
painter.
drawPixmap(QPoint(10,
10), icon
);
label.setPixmap(pixmap);
label.show();
}
else
{
return FALSE;
}
}
bool mouseover()
{
if(QPoint(10,10)
{
return TRUE; QPixmap pixmap("image.png");
QPixmap icon("test.png");
QPainter painter(&pixmap);
painter.drawPixmap(QPoint(10, 10), icon);
QLabel label;
label.setPixmap(pixmap);
label.show();
}
else
{
return FALSE;
}
}
To copy to clipboard, switch view to plain text mode
But it is not working , i think my problem is in condition....
I have another doubt...
if mouse satisfied the position of image ,how do display the icons on image,
Is it using the push button, tool button. I need that icons should in event...
please suggest me
Thanks
Yuvaraj R
Bookmarks