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/FITK_Kernel/FITKCore/FITKAbstractGUI.cpp

72 lines
1.4 KiB
C++

#include "FITKAbstractGUI.h"
#include "FITKOperatorRepo.h"
#include "FITKGUIRepo.h"
namespace Core
{
/**
* @brief Destroy the FITKWidget::FITKWidget object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-02
*/
FITKWidget::~FITKWidget()
{
}
void FITKWidget::flush()
{
// this->repaint();
}
void FITKWidget::initOperator(const QString & operName)
{
_oper = FITKOperatorRepo::getInstance()->getOperator(operName);
}
/**
* @brief Destroy the FITKDialog::FITKDialog object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-02
*/
FITKDialog::~FITKDialog()
{
}
/**
* @brief Destroy the FITKMainWindow::FITKMainWindow object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-02
*/
FITKMainWindow::~FITKMainWindow()
{
}
void FITKMainWindow::closeEvent(QCloseEvent *event)
{
//关闭全部对话框
FITKGUIREPO->closeAllDialog();
QMainWindow::closeEvent(event);
}
void FITKMainWindow::flush()
{
// this->repaint();
}
FITKRibbonMainWindow::~FITKRibbonMainWindow()
{
}
void FITKRibbonMainWindow::closeEvent(QCloseEvent *event)
{
//关闭全部对话框
FITKGUIREPO->closeAllDialog();
QMainWindow::closeEvent(event);
}
void FITKRibbonMainWindow::flush()
{
}
}