From c67ee1eab7499fae81ce73f36e7db8b0e73cfdd9 Mon Sep 17 00:00:00 2001 From: Amin Date: Mon, 23 Sep 2024 15:54:59 -0700 Subject: [PATCH] adding shakermaker to the EE-UQ tools --- WorkflowAppEE_UQ.cpp | 49 ++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/WorkflowAppEE_UQ.cpp b/WorkflowAppEE_UQ.cpp index 8461ed59..b88fffc4 100644 --- a/WorkflowAppEE_UQ.cpp +++ b/WorkflowAppEE_UQ.cpp @@ -84,7 +84,8 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #include #include #include -#include +// #include +#include #include "CustomizedItemModel.h" #include @@ -224,28 +225,36 @@ WorkflowAppEE_UQ::setMainWindow(MainWindowWorkflowApp* window) { // Add Simple Test // - RemoteAppTest *theTest = new RemoteAppTest(); - QString testAppName = "simple-tool-test"; - QString testAppVersion = "1.0.0"; - QString testMachine = "stampede3"; - QList testQueues; - testQueues << "simcenter"; - - SC_RemoteAppTool *theTestTool = new SC_RemoteAppTool(testAppName, - testAppVersion, - testMachine, - testQueues, - theRemoteService, - theTest, - theToolDialog); - theToolDialog->addTool(theTestTool, "Simple Tool Test"); +// RemoteAppTest *theTest = new RemoteAppTest(); + ShakerMaker *theShakerMaker = new ShakerMaker(); + +// QString testAppName = "simple-tool-test"; +// QString testAppVersion = "1.0.0"; +// QString testMachine = "stampede3"; +// QList testQueues; +// testQueues << "simcenter"; + +// SC_RemoteAppTool *theTestTool = new SC_RemoteAppTool(testAppName, +// testAppVersion, +// testMachine, +// testQueues, +// theRemoteService, +// theTest, +// theToolDialog); +// theToolDialog->addTool(theTest, "Simple Tool Test"); + theToolDialog->addTool(theShakerMaker, "ShakerMaker"); // // Set the path to the input file - QAction *showTest = toolsMenu->addAction("&Simple Tool Test"); - connect(showTest, &QAction::triggered, this,[this, theDialog=theToolDialog, theEmp = theTestTool] { - theDialog->showTool("Simple Tool Test"); - }); +// QAction *showTest = toolsMenu->addAction("&Simple Tool Test"); + QAction *showShakerMaker = toolsMenu->addAction("&ShakerMaker"); +// connect(showTest, &QAction::triggered, this,[this, theDialog=theToolDialog, theEmp = theTest] { +// theDialog->showTool("Simple Tool Test"); +// }); + + connect(showShakerMaker, &QAction::triggered, this,[this, theDialog=theToolDialog, theEmp = theShakerMaker] { + theDialog->showTool("ShakerMaker"); + }); // // Add Tools to menu bar