git-svn-id: svn://db.shs.com.ru/libs@550 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -74,10 +74,10 @@ void QPIIntrospector::peerReceived(const PIString & from, const PIByteArray & da
|
|||||||
PIIntrospectionContainers cont;
|
PIIntrospectionContainers cont;
|
||||||
PIByteArray ba(data);
|
PIByteArray ba(data);
|
||||||
ba >> appname >> cont;// >> threads.threads;
|
ba >> appname >> cont;// >> threads.threads;
|
||||||
QMetaObject::invokeMethod(labelAppname, "setText", Qt::QueuedConnection, Q_ARG(QString, PI2QString(appname)));
|
/*QMetaObject::invokeMethod(labelAppname, "setText", Qt::QueuedConnection, Q_ARG(QString, PI2QString(appname)));
|
||||||
QMetaObject::invokeMethod(labelCount, "setText", Qt::QueuedConnection, Q_ARG(QString, QString::number(cont.count)));
|
QMetaObject::invokeMethod(labelCount, "setText", Qt::QueuedConnection, Q_ARG(QString, QString::number(cont.count)));
|
||||||
QMetaObject::invokeMethod(labelAlloc, "setText", Qt::QueuedConnection, Q_ARG(QString, PI2QString(PIString::readableSize(cont.bytes_allocated))));
|
QMetaObject::invokeMethod(labelAlloc, "setText", Qt::QueuedConnection, Q_ARG(QString, PI2QString(PIString::readableSize(cont.bytes_allocated))));
|
||||||
QMetaObject::invokeMethod(labelUsed, "setText", Qt::QueuedConnection, Q_ARG(QString, PI2QString(PIString::readableSize(cont.bytes_used))));
|
QMetaObject::invokeMethod(labelUsed, "setText", Qt::QueuedConnection, Q_ARG(QString, PI2QString(PIString::readableSize(cont.bytes_used))));
|
||||||
QMetaObject::invokeMethod(this, "buildTree", Qt::QueuedConnection, Q_ARG(QByteArray, PI2QByteArray(ba)));
|
QMetaObject::invokeMethod(this, "buildTree", Qt::QueuedConnection, Q_ARG(QByteArray, PI2QByteArray(ba)));*/
|
||||||
//piCout << appname;
|
//piCout << appname;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,9 @@
|
|||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include "piqt.h"
|
#include "piqt.h"
|
||||||
#include "piintrospection.h"
|
#include "pipeer.h"
|
||||||
|
#include "piintrospection_containers_p.h"
|
||||||
|
#include "piintrospection_threads_p.h"
|
||||||
|
|
||||||
class QPIIntrospector: public QMainWindow, private Ui::QPIIntrospector, public PIObject
|
class QPIIntrospector: public QMainWindow, private Ui::QPIIntrospector, public PIObject
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user