#ifndef COOKPANELBUTTON_H #define COOKPANELBUTTON_H #include namespace Ui { class CookPanelButton; } class CookPanelButton : public QWidget { Q_OBJECT signals: void clicked(QWidget *); void showInfoRequested(QWidget *); void deleteRequested(QWidget *); public: explicit CookPanelButton(QWidget *parent = 0); ~CookPanelButton(); void setText(QString text); private: Ui::CookPanelButton *ui; }; #endif // COOKPANELBUTTON_H