moved to shstk
This commit is contained in:
53
utils/piintrospector/piintrospector.h
Normal file
53
utils/piintrospector/piintrospector.h
Normal file
@@ -0,0 +1,53 @@
|
||||
#ifndef PIINTROSPECTOR_H
|
||||
#define PIINTROSPECTOR_H
|
||||
|
||||
#include "ui_piintrospector.h"
|
||||
#include <QImage>
|
||||
#include <QTime>
|
||||
#include <QDesktopWidget>
|
||||
#include <QDebug>
|
||||
#include <emainwindow.h>
|
||||
#include "piqt.h"
|
||||
#include "pipeer.h"
|
||||
#include "piintrospection_server_p.h"
|
||||
|
||||
class QPIIntrospector: public EMainWindow, private Ui::QPIIntrospector, public PIObject
|
||||
{
|
||||
Q_OBJECT
|
||||
PIOBJECT(QPIIntrospector)
|
||||
public:
|
||||
QPIIntrospector(QWidget * parent = 0);
|
||||
~QPIIntrospector();
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent * e);
|
||||
void timerEvent(QTimerEvent * );
|
||||
void savingSession(QPIConfig & conf);
|
||||
void loadingSession(QPIConfig & conf);
|
||||
|
||||
void buildDumpSection(QTreeWidgetItem * pi, PIString & str);
|
||||
void showInfo();
|
||||
EVENT_HANDLER(void, reqProcPIEvents) {QMetaObject::invokeMethod(this, "procPIEvents", Qt::QueuedConnection);}
|
||||
QString durationStr(PISystemTime t);
|
||||
|
||||
EVENT_HANDLER2(void, peerReceived, const PIString &, from, const PIByteArray &, data);
|
||||
EVENT_HANDLER1(void, peersChanged, const PIString &, name);
|
||||
|
||||
PIString cur_server;
|
||||
PIIntrospection::ProcessInfo info;
|
||||
PIIntrospection::ProcessStat stat;
|
||||
PIPeer peer;
|
||||
int request_timer;
|
||||
|
||||
private slots:
|
||||
void procPIEvents() {callQueuedEvents();}
|
||||
void buildTree(QByteArray d);
|
||||
void procRequestTimer();
|
||||
void on_listApp_currentRowChanged(int r);
|
||||
void on_buttonRequest_clicked();
|
||||
|
||||
public slots:
|
||||
|
||||
};
|
||||
|
||||
#endif // PIINTROSPECTOR_H
|
||||
Reference in New Issue
Block a user