feat: 视觉引导页面优化
- 点击各个按钮后,能在界面显示操作后结果 - 对排版进行优化 - 下面的位姿拍照删除
This commit is contained in:
+9
-7
@@ -7,8 +7,6 @@
|
||||
class QLabel;
|
||||
class QPushButton;
|
||||
class QTableWidget;
|
||||
class QDoubleSpinBox;
|
||||
class QSpinBox;
|
||||
class VisionService;
|
||||
|
||||
class VisionPage : public QWidget
|
||||
@@ -19,9 +17,10 @@ public:
|
||||
|
||||
public slots:
|
||||
void updateCycle(const QJsonObject &cycle);
|
||||
void setProductionActive(bool active);
|
||||
|
||||
private:
|
||||
void beginOperation(const QString &operation, const QString &message);
|
||||
void showOperation(const QString &state, const QString &message);
|
||||
void showPose(int row, const QJsonValue &pose);
|
||||
void invalidateResult();
|
||||
void refreshControls();
|
||||
@@ -31,12 +30,15 @@ private:
|
||||
QLabel *m_initialization;
|
||||
QLabel *m_cycle;
|
||||
QLabel *m_result;
|
||||
QLabel *m_operation;
|
||||
QTableWidget *m_poses;
|
||||
QPushButton *m_start;
|
||||
QPushButton *m_connect;
|
||||
QPushButton *m_initialize;
|
||||
QPushButton *m_diagnose;
|
||||
QSpinBox *m_tray;
|
||||
QDoubleSpinBox *m_diagnosticPose[6];
|
||||
bool m_productionActive;
|
||||
QPushButton *m_show;
|
||||
QPushButton *m_disconnect;
|
||||
QString m_pendingOperation;
|
||||
bool m_operationPending;
|
||||
};
|
||||
|
||||
#endif // VISIONPAGE_H
|
||||
|
||||
Reference in New Issue
Block a user