defuze.me
Client
|
00001 #ifndef EVENTCOLOR_HPP 00002 #define EVENTCOLOR_HPP 00003 00004 #include <QPushButton> 00005 00006 #include "scheduler.hpp" 00007 00008 namespace Scheduler 00009 { 00010 00011 class EventColor : public QPushButton 00012 { 00013 Q_OBJECT 00014 public: 00015 EventColor(QWidget *parent = 0, int id = 0, QString color = "FFFFFF"); 00016 virtual ~EventColor(); 00017 00018 int getId() const; 00019 QString getColor() const; 00020 00021 public slots: 00022 void on_colorPicker_clicked(); 00023 00024 private: 00025 QWidget *parent; 00026 00027 int id; 00028 QString color; 00029 }; 00030 } 00031 00032 #endif // EVENTCOLOR_HPP