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.
valvedetect/tpvs17/lpMain/QModelMangerUI.h

35 lines
725 B
C++

#ifndef _H_QMODELMANGERUI_H_
#define _H_QMODELMANGERUI_H_
#include <QWidget>
#include "ui_QModelMangerUI.h"
#include "IWfCtrl.h"
#include "IStation.h"
class QModelMangerUI : public QWidget
{
Q_OBJECT
public:
QModelMangerUI(QWidget *parent = Q_NULLPTR);
~QModelMangerUI();
void onInitModelList(IWfCtrl *pCtrl);
int currentTab();
Q_SLOT void onButtonClicked();
int lastNum(QString str);
Q_SLOT bool OnCellDoubleClicked(const QModelIndex &index);
Q_SLOT void onCheckBoxChange(int state);
private:
IStation * getStation(int nIndex = -1);
protected:
virtual void showEvent(QShowEvent *event);
virtual void closeEvent(QCloseEvent *event);
private:
Ui::QModelMangerUI ui;
IWfCtrl *m_pCtrl{ nullptr };
};
#endif