Files
seer/src/SeerSlashProcDialog.cpp
T

46 lines
1008 B
C++
Raw Normal View History

2025-08-26 17:26:05 -05:00
// SPDX-FileCopyrightText: 2021 Ernie Pasveer <epasveer@att.net>
//
// SPDX-License-Identifier: GPL-3.0-or-later
#include "SeerSlashProcDialog.h"
SeerSlashProcDialog::SeerSlashProcDialog (QWidget* parent) : QDialog(parent) {
// Set up the UI.
setupUi(this);
// Setup the widgets
// Connect things.
QObject::connect(processInfoWidget, &QProcessInfoWidget::pidSelected, this, &SeerSlashProcDialog::handlePidSelected);
}
SeerSlashProcDialog::~SeerSlashProcDialog () {
}
int SeerSlashProcDialog::selectedPid () const {
return processInfoWidget->selectedPid();
}
QString SeerSlashProcDialog::selectedName () const {
return processInfoWidget->selectedName();
}
QString SeerSlashProcDialog::selectedFullname () const {
return processInfoWidget->selectedFullname();
}
QString SeerSlashProcDialog::selectedCommandLine () const {
return processInfoWidget->selectedCommandLine();
}
2021-11-28 07:28:07 -06:00
void SeerSlashProcDialog::handlePidSelected() {
done(QDialog::Accepted);
}