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.
73 lines
1.5 KiB
C++
73 lines
1.5 KiB
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
#include "iDlgBase.h"
|
|
|
|
#include "mSubWnd_global.h"
|
|
|
|
namespace Ui {
|
|
class iWxTabShareOption;
|
|
}
|
|
|
|
class ZxSegmentInfo;
|
|
class ZxDataWell;
|
|
class iSubWnd;
|
|
class iJobRun;
|
|
class ZxTabWidget;
|
|
class M_SUB_WND_EXPORT iWxTabShareOption : public iDlgBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit iWxTabShareOption(QWidget *parent = 0);
|
|
~iWxTabShareOption();
|
|
|
|
virtual void initUI();
|
|
|
|
void setTabWx(ZxTabWidget* pTabWx);
|
|
|
|
private:
|
|
|
|
// 初始化
|
|
void initTitle();
|
|
void getAndCheckSubWnds(QMap<QString, iSubWnd*>& map);
|
|
void findSubWndsOf(bool bAnal, QMap<QString, iSubWnd*>& map);
|
|
void freshTypes();
|
|
void freshWnds();
|
|
|
|
// 结果处理
|
|
bool runApply();
|
|
|
|
signals:
|
|
|
|
// 获取窗体的信号
|
|
void signalGetAllWnds(QMap<QString, iSubWnd*>& map, ZxTabWidget* pTabWx);
|
|
// 结果处理的信号
|
|
void sigCreateOneWnd(QString sWndTag,
|
|
QString sWndID,
|
|
iSubWnd* pWndRefer,
|
|
ZxTabWidget* pTabWx);
|
|
|
|
private slots:
|
|
|
|
void on_btnOK_clicked();
|
|
void on_btnApply_clicked();
|
|
void on_btnCancel_clicked();
|
|
void on_btnHelp_clicked();
|
|
|
|
void on_radioButtonAnal_clicked();
|
|
|
|
void on_radioButtonFitting_clicked();
|
|
|
|
void on_cbxCopyFrom_clicked();
|
|
|
|
private:
|
|
Ui::iWxTabShareOption *ui;
|
|
|
|
QMap<QString, iSubWnd*> m_mapAllSubWnds;
|
|
QMap<QString, iSubWnd*> m_mapAllSubWnds_a; //Anal
|
|
QMap<QString, iSubWnd*> m_mapAllSubWnds_f; //Fitting
|
|
|
|
ZxTabWidget* m_pTabWx;
|
|
};
|