You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/mGui/mGuiJob/iWxModelScan.h

59 lines
1.2 KiB
C

#pragma once
#include "iWxModelOption.h"
class ZxPlot;
class iWxModelSketch;
class iModelOption;
class iModelInfoBase;
namespace Ui {
class iWxModelScan;
}
class M_GUI_JOB_EXPORT iWxModelScan : public iWxModelOption
{
Q_OBJECT
public:
explicit iWxModelScan(QWidget *parent = 0);
~iWxModelScan();
virtual void initUI();
void hideBtns();
protected:
virtual void paintEvent(QPaintEvent *);
virtual void resizeEvent(QResizeEvent *e);
// 界面数据到Option载体
virtual void freshUi2Option();
// 填充TableWx
void fillTableWx(QTableWidget* pTableWx, QString sType);
void fillTableWxOneCell(QTableWidget* pTableWx, int r, iModelInfoBase* p);
void drawOneCell(QLabel* p, QString sImg);
void resizeTableWx(QTableWidget* p);
private slots:
void on_btnOK_clicked();
void on_btnApply_clicked();
void on_btnCancel_clicked();
void on_cbxApplyTo_currentIndexChanged(const QString &arg1);
protected slots:
virtual void slotModelOptionChanged(QString s);
private:
void initUI_Cbxs();
void initUI_ListWxs();
void initUI_TableWxs();
void freshTableWxBy(QListWidget* pListWx);
void freshSketBy(QListWidget* pListWx);
private:
Ui::iWxModelScan *ui;
};