00001 #ifndef DONUT_H 00002 #define DONUT_H 00003 00004 #include <QWidget> 00005 00006 namespace PSQt { 00007 00008 class Donut : public QWidget 00009 { 00010 Q_OBJECT 00011 00012 public: 00013 Donut(QWidget *parent = 0); 00014 00015 protected: 00016 void paintEvent(QPaintEvent *event); 00017 }; 00018 00019 } // namespace PSQt 00020 00021 #endif // DONUT_H