hey,
how do i design the default button?
QPixmap pixmap
(icon
);
//the file name of the icon QIcon ButtonIcon
(pixmap
);
pb->setIcon(ButtonIcon);
pb->setIconSize(s);
pb->setToolTip(tip);
connect(pb, SIGNAL(clicked()), this, SLOT(statusBtnClicked()));
QPushButton* pb = new QPushButton(statusBar());
QPixmap pixmap(icon);//the file name of the icon
QIcon ButtonIcon(pixmap);
pb->setIcon(ButtonIcon);
QSize s(16,16);
pb->setIconSize(s);
QString tip(btnName);
pb->setToolTip(tip);
connect(pb, SIGNAL(clicked()), this, SLOT(statusBtnClicked()));
To copy to clipboard, switch view to plain text mode
the button has an image in it (as meant to be)
but it has some kind for frame (border) with padding that wraps the button.
i want to remove that
how do i do that?
thank you
Bookmarks