ToolDialog.cpp 331 B

12345678910111213141516171819202122232425262728
  1. #include "ToolDialog.h"
  2. ToolDialogImpl::ToolDialogImpl(QWidget *parent)
  3. : DllToolDialog(parent)
  4. {
  5. ui.setupUi(this);
  6. m_Value = 0;
  7. m_Value2 = 20;
  8. m_Value3 = 0;
  9. }
  10. ToolDialogImpl::~ToolDialogImpl()
  11. {
  12. }
  13. int ToolDialogImpl::Execute()
  14. {
  15. m_Value3 = m_Value + m_Value2;
  16. return 0;
  17. }
  18. void ToolDialogImpl::Running(bool bRun)
  19. {
  20. }