summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorFabian Schillinger2010-11-08 13:38:45 +0100
committerFabian Schillinger2010-11-08 13:38:45 +0100
commit472fe3ded907ab6de33a63dce7fe1d8b09e28c37 (patch)
tree9ca80b2ce4d95bfa8eff717abb518674379d693a /src/gui
parentCleanup (diff)
downloadpvs-472fe3ded907ab6de33a63dce7fe1d8b09e28c37.tar.gz
pvs-472fe3ded907ab6de33a63dce7fe1d8b09e28c37.tar.xz
pvs-472fe3ded907ab6de33a63dce7fe1d8b09e28c37.zip
modified showprocesses
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/processWidget.cpp10
-rw-r--r--src/gui/processesStartDialog.cpp24
2 files changed, 1 insertions, 33 deletions
diff --git a/src/gui/processWidget.cpp b/src/gui/processWidget.cpp
index ac0b419..38dd2ae 100644
--- a/src/gui/processWidget.cpp
+++ b/src/gui/processWidget.cpp
@@ -128,16 +128,6 @@ void ProcessWidget::stopProcess()
}
//tell client to update his list
sendCommand("SHOWPROCESSES", "");
- /*
- QMessageBox::StandardButton start = QMessageBox::question(0,
- tr("PVS Start Process"), tr("Do you want to stop the process: ") + prowui->processTable->item(prowui->processTable->currentRow(),1)->text() +
- tr(" on this Client?"),
- QMessageBox::Ok | QMessageBox::Cancel, QMessageBox::Ok);
- if (start == QMessageBox::Ok)
- {
- sendCommand("KILLPROCESS", prowui->processTable->item(prowui->processTable->currentRow(),0)->text());
- sendCommand("SHOWPROCESSES", "");
- }*/
}
}
diff --git a/src/gui/processesStartDialog.cpp b/src/gui/processesStartDialog.cpp
index f176f7e..d1a7017 100644
--- a/src/gui/processesStartDialog.cpp
+++ b/src/gui/processesStartDialog.cpp
@@ -23,36 +23,14 @@ ProcessesStartDialog::ProcessesStartDialog(QWidget *parent) :
procStartUi(new Ui::ProcessesStartDialog)
{
procStartUi->setupUi(this);
- /*textLabel = new QLabel;
- textLabel->setText("Process to start:");
-
- messageEdit = new QLineEdit;
-
- layout = new QGridLayout;
-
- sendButton = new QPushButton(tr("Start"));
- cancelButton = new QPushButton(tr("Cancel"));
-
- connect( sendButton, SIGNAL( clicked()), this, SLOT( send()));
- connect( cancelButton, SIGNAL( clicked()), this, SLOT( NotSend()));
-
- layout->addWidget(textLabel,0,0);
- layout->addWidget(messageEdit,1,0);
- layout->addWidget(cancelButton,2,1);
- layout->addWidget(sendButton,2,0);
-
- setLayout(layout);
- setWindowTitle(tr("PVS start Process"));*/
-
connect( procStartUi->sendButton, SIGNAL( clicked()), this, SLOT( send()));
connect( procStartUi->cancelButton, SIGNAL( clicked()), this, SLOT( notSend()));
procStartUi->listOfProcessesButton->hide();
- //connect( procStartUi->listOfProcessesButton, SIGNAL( clicked()), this, SLOT( listProcesses()));
}
ProcessesStartDialog::~ProcessesStartDialog()
{
- //delete procstartui;
+ //
}
void ProcessesStartDialog::send()