PSQt/include/custombutton.h

Go to the documentation of this file.
00001 #ifndef CUSTOMBUTTON_H
00002 #define CUSTOMBUTTON_H
00003 
00004 //Custom button class
00005 //Qt-articles.blogspot.com
00006 
00007 #include <Qt>
00008 #include <QtGui>
00009 #include <QtCore>
00010 
00011 namespace PSQt {
00012 
00013 class CustomButton : public QPushButton {
00014     Q_OBJECT
00015  
00016 public:
00017     CustomButton(QWidget *parent = 0);
00018     ~CustomButton();
00019  
00020 public:
00021     //QString FirstName, MiddleName, LastName;
00022     QImage SimpleIcon;
00023  
00024 protected:
00025     void paintEvent(QPaintEvent *); 
00026 };
00027 
00028 } // namespace PSQt
00029 
00030 #endif // CUSTOMBUTTON_H

Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7