daily pastebin goal
27%
SHARE
TWEET

mon_widget.hpp

a guest Jun 24th, 2011 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef MONWIDGET
  2. #define MONWIDGET
  3.  
  4. #include <QWidget>
  5. #include <QtDesigner/QDesignerExportWidget>
  6.  
  7. class QLabel;
  8. class QLineEdit;
  9. class QPushButton;
  10. class QProcess;
  11. class QHBoxLayout;
  12.  
  13. class QDESIGNER_WIDGET_EXPORT QtCAmon : public QWidget {
  14.     Q_OBJECT
  15.  
  16. public:
  17.     QtCAmon(QWidget* parent = 0);
  18.     ~QtCAmon();
  19.  
  20. private slots:
  21.     void updateClicked();
  22.     void readFromStdout();
  23.  
  24. private:
  25.     QHBoxLayout* layout1;
  26.    
  27.     QString program;
  28.     QLabel* pv_val;
  29.     QLineEdit* pv_name;
  30.     QPushButton* updateButton;
  31.     QProcess* proc;
  32.  
  33. };
  34.  
  35. #endif // MONWIDGET
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top