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.
33 lines
737 B
C
33 lines
737 B
C
|
4 years ago
|
#ifndef _H_QMODELMANGERUI_H_
|
||
|
|
#define _H_QMODELMANGERUI_H_
|
||
|
|
#include <QWidget>
|
||
|
|
#include "ui_QModelMangerUI.h"
|
||
|
|
#include "Station.h"
|
||
|
|
|
||
|
|
class QModelMangerUI : public QWidget
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
QModelMangerUI(QWidget *parent = Q_NULLPTR);
|
||
|
|
~QModelMangerUI();
|
||
|
|
|
||
|
|
void onInitModelList(IWfCtrl *pCtrl);
|
||
|
|
|
||
|
|
Q_SLOT void onButtonClicked();
|
||
|
|
int lastNum(QString str);
|
||
|
|
Q_SLOT bool OnCellDoubleClicked(const QModelIndex &index);
|
||
|
|
Q_SLOT void onCheckBoxChange(int state);
|
||
|
|
QString currentTab();
|
||
|
|
protected:
|
||
|
|
virtual void showEvent(QShowEvent *event);
|
||
|
|
virtual void closeEvent(QCloseEvent *event);
|
||
|
|
virtual void changeEvent(QEvent *event);
|
||
|
|
private:
|
||
|
|
Ui::QModelMangerUI ui;
|
||
|
|
IWfCtrl *m_pCtrl{ nullptr };
|
||
|
|
QMap<QString, QString> m_tabViewKeys;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|