blob: 7f6737ca65698c878cc486b70c1a689379944bf7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef PROCESSWIDGET_H_
#define PROCESSWIDGET_H_
#include <QDialog>
#include <QtGui>
#include <QVector>
namespace Ui {
class ProcessWidget;
}
class PVSClient;
class ProcessWidget: public QWidget
{
Q_OBJECT
public:
ProcessWidget(QWidget *parent, PVSClient *client);
~ ProcessWidget();
public slots:
void refrProcessList(bool timerEvent = false);
private:
Ui::ProcessWidget *prowui;
PVSClient *client;
QVector<QString> *processes;
QSettings filterSettings;
QString filter;
private slots:
void startProcess();
void stopProcess();
void resendProcessList();
void sendCommand(QString ident, QString message);
};
#endif
|