You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
381 B
C++
23 lines
381 B
C++
#ifndef FAVBUTTON_H
|
|
#define FAVBUTTON_H
|
|
|
|
#include <QToolButton>
|
|
|
|
class FavButton : public QToolButton
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
FavButton(QWidget *parent = 0);
|
|
|
|
signals:
|
|
void itemDropped();
|
|
|
|
// QWidget interface
|
|
protected:
|
|
virtual void dragEnterEvent(QDragEnterEvent *event) override;
|
|
virtual void dropEvent(QDropEvent *event) override;
|
|
};
|
|
|
|
#endif // FAVBUTTON_H
|