mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
39 lines
1.1 KiB
C++
39 lines
1.1 KiB
C++
// SPDX-FileCopyrightText: 2021 Ernie Pasveer <epasveer@att.net>
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
#include <QtWidgets/QWidget>
|
|
#include <QtCore/QString>
|
|
#include "ui_QProcessInfoWidget.h"
|
|
|
|
class QProcessInfoWidget : public QWidget, protected Ui::QProcessInfoWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit QProcessInfoWidget (QWidget* parent = 0);
|
|
~QProcessInfoWidget ();
|
|
|
|
int selectedPid () const;
|
|
QString selectedUsername () const;
|
|
QString selectedName () const;
|
|
QString selectedFullname () const;
|
|
QString selectedCommandLine () const;
|
|
|
|
signals:
|
|
void pidSelected (int pid);
|
|
|
|
public slots:
|
|
|
|
protected slots:
|
|
void refreshList ();
|
|
void refreshView ();
|
|
void handleDoubleClicked ();
|
|
|
|
protected:
|
|
private:
|
|
};
|
|
|