Advertisement
Guest User

mon_widget.hpp

a guest
Jun 24th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement