Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MONWIDGET
- #define MONWIDGET
- #include <QWidget>
- #include <QtDesigner/QDesignerExportWidget>
- class QLabel;
- class QLineEdit;
- class QPushButton;
- class QProcess;
- class QHBoxLayout;
- class QDESIGNER_WIDGET_EXPORT QtCAmon : public QWidget {
- Q_OBJECT
- public:
- QtCAmon(QWidget* parent = 0);
- ~QtCAmon();
- private slots:
- void updateClicked();
- void readFromStdout();
- private:
- QHBoxLayout* layout1;
- QString program;
- QLabel* pv_val;
- QLineEdit* pv_name;
- QPushButton* updateButton;
- QProcess* proc;
- };
- #endif // MONWIDGET
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement