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.
AppFlowPost/OperatorsModel/OperatorsWorkingDir.cpp

27 lines
680 B
C++

#include "OperatorsWorkingDir.h"
#include "FITK_Component/FITKWidget/FITKWorkingDirDialog.h"
#include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h"
#include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h"
namespace ModelOper
{
bool OperatorsWorkingDir::execGUI()
{
//错误值
if (_emitter == nullptr) return false;
const QString sName = _emitter->objectName();
if (sName == "actionWorkingDir")
{
//弹出对话框
QDialog* dlg = new Comp::FITKWorkingDirDialog(FITKAPP->getGlobalData()->getMainWindow());
dlg->show();
return false;
}
return false;
}
}