PSQt/include/allinone.h

Go to the documentation of this file.
00001 #ifndef ALLINONE_H
00002 #define ALLINONE_H
00003 
00004 //#include <QVBox>
00005 //#include <QWidget>
00006 //#include <QLabel>
00007 //#include <QSlider>
00008 //#include <QPushButton>
00009 
00010 #include <Qt>
00011 #include <QtGui>
00012 #include <QtCore>
00013 
00014 namespace PSQt {
00015 
00016 class MyWidget : public QWidget
00017 {
00018  Q_OBJECT // macro is needed for connection of signals and slots
00019 
00020  public:
00021     MyWidget( QWidget *parent = 0 );
00022 
00023     void setFrame() ;
00024     void resizeEvent(QResizeEvent *event = 0) ;
00025     void closeEvent (QCloseEvent  *event = 0) ;
00026     void moveEvent  (QMoveEvent   *event = 0) ;
00027     void mousePressEvent (QMouseEvent *event = 0) ;
00028 
00029  public slots:
00030     void onButton() ;
00031     void onRadio1() ;
00032     void onRadio2() ;
00033     void onTextEdit() ;
00034     void onLineEdit() ;
00035     void onComboBox() ;
00036     void onCheckBox() ;
00037     void onSpinBox() ;
00038     void onCustomButton() ;
00039     void onLineWindow() ;
00040     void onDonutWindow() ;
00041 
00042  private:
00043     QFrame*    m_frame;
00044     QLineEdit* m_line_edit;
00045 };
00046 
00047 } // namespace PSQt
00048 
00049 #endif

Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7