mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
35 lines
1002 B
C++
35 lines
1002 B
C++
#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:
|
|
};
|
|
|