Changeset 59 in projects for punch-card-project/trunk/punch-card-editor/src/driver/documation-m200-client/controller.h
- Timestamp:
- Jan 22, 2010, 7:44:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
punch-card-project/trunk/punch-card-editor/src/driver/documation-m200-client/controller.h
r53 r59 4 4 #include <QDockWidget> 5 5 #include <QString> 6 #include <QPointer> 6 7 #include <QList> 8 #include <QPushButton> 7 9 8 10 namespace QPunchCard { … … 17 19 #include "driver/driver.h" 18 20 #include "app/mainwindow.h" 21 #include "client.h" 19 22 20 23 namespace QPunchCard { … … 24 27 class Controller : public QWidget { 25 28 Q_OBJECT 29 30 QPointer<ClientThread> worker; 31 QPointer<QTextEdit> log; 32 33 QPushButton *start_button, *stop_button, *ping_button, *reset_button, *quit_button; 34 35 QWidget* createButtonBar(); 36 26 37 public: 27 Controller(); 38 Controller(QWidget* parent = 0); 39 40 public slots: 41 void logResponse(QString code, QString comment); 42 void client_toggle_run(); 28 43 }; 29 44
Note: See TracChangeset
for help on using the changeset viewer.