Commit
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
#ifndef QUALITYPAGE_H
|
||||
#define QUALITYPAGE_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QComboBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QTableWidget;
|
||||
|
||||
class QualityPage : public QWidget
|
||||
{
|
||||
public:
|
||||
explicit QualityPage(QWidget *parent = nullptr);
|
||||
~QualityPage();
|
||||
|
||||
private:
|
||||
void setupInspectionTab();
|
||||
void setupStatisticsTab();
|
||||
void setupTraceTab();
|
||||
void loadInspectionRecords();
|
||||
void loadStatistics();
|
||||
void loadTrace();
|
||||
void setMessage(QLabel *label, const QString &message, bool error);
|
||||
void clearTable(QTableWidget *table);
|
||||
|
||||
QLineEdit *inspectionOrderEdit;
|
||||
QLineEdit *inspectionBarcodeEdit;
|
||||
QLineEdit *inspectionTrayEdit;
|
||||
QLineEdit *inspectionSlotEdit;
|
||||
QComboBox *inspectionModeCombo;
|
||||
QComboBox *inspectionSideCombo;
|
||||
QComboBox *inspectionResultCombo;
|
||||
QTableWidget *inspectionTable;
|
||||
QLabel *inspectionMessageLabel;
|
||||
|
||||
QLineEdit *statisticsOrderEdit;
|
||||
QLabel *planValueLabel;
|
||||
QLabel *completedValueLabel;
|
||||
QLabel *pendingValueLabel;
|
||||
QLabel *okValueLabel;
|
||||
QLabel *ngValueLabel;
|
||||
QLabel *rateValueLabel;
|
||||
QLabel *inspectionCountValueLabel;
|
||||
QLabel *statisticsMessageLabel;
|
||||
QTableWidget *sideStatisticsTable;
|
||||
|
||||
QLineEdit *traceBarcodeEdit;
|
||||
QLabel *traceInfoLabel;
|
||||
QLabel *traceMessageLabel;
|
||||
QTableWidget *traceInspectionTable;
|
||||
QTableWidget *traceProcessTable;
|
||||
QTableWidget *traceHistoryTable;
|
||||
};
|
||||
|
||||
#endif // QUALITYPAGE_H
|
||||
Reference in New Issue
Block a user