1 #ifndef NOTECREATEBUTTON_H 2 #define NOTECREATEBUTTON_H 3 4 #include <QPushButton> 5 #include "notetype.h" 6 7 class NoteList; 8 9 class NoteCreateButton : public QPushButton 10 { 11 Q_OBJECT 12 public: 13 explicit NoteCreateButton(QWidget *parent, const NoteType& ntype); 14 //void paintEvent(QPaintEvent* e); 15 16 signals: 17 18 public slots: 19 20 private: 21 const NoteType& note_type; 22 // NoteList* note_list; 23 }; 24 25 #endif // NOTECREATEBUTTON_H 26