| 509 | class SmallToolButton : public QToolButton { |
| 510 | public: |
| 511 | SmallToolButton(const QPixmap &pm, const QString &textLabel, |
| 512 | const QString &grouptext, |
| 513 | QObject *receiver, const char *slot, |
| 514 | QWidget *parent) : |
| 515 | QToolButton(parent) |
| 516 | { |
| 517 | setIcon(QIcon(pm)); |
| 518 | setToolTip(textLabel); |
| 519 | setStatusTip(grouptext); |
| 520 | connect(this, SIGNAL(clicked(bool)), receiver, slot); |
| 521 | } |
| 522 | |
| 523 | QSize sizeHint() const |
| 524 | { |
nothing calls this directly
no outgoing calls
no test coverage detected