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.
AppFlow/GUIDialog/GUICalculateDialog/CompTranPhasesWidget.h

76 lines
2.0 KiB
C

/**********************************************************************
* @file CompTranPhasesWidget.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*********************************************************************/
#ifndef _CompTranPhasesWidget_H
#define _CompTranPhasesWidget_H
#include "GUICalculateWidgetBase.h"
#include "GUICalculateDialogAPI.h"
namespace Ui {
class CompTranPhasesWidget;
}
namespace Interface {
class FITKOFTransportPhase;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
class GUICalculateDialogAPI CompTranPhasesWidget : public GUICalculateWidgetBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] phaseData
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
CompTranPhasesWidget(Interface::FITKOFTransportPhase* phaseData, int index, QWidget* parent = nullptr);
/**
* @brief
* @return void
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
~CompTranPhasesWidget();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
void init();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
Ui::CompTranPhasesWidget* _ui = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
int _index = -1;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
Interface::FITKOFTransportPhase* _phaseData = nullptr;
};
}
#endif