git-svn-id: svn://db.shs.com.ru/libs@562 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -5,15 +5,18 @@
|
||||
#include <QDebug>
|
||||
#include <QWidget>
|
||||
#include "piqt.h"
|
||||
#include "piintrospection_containers_p.h"
|
||||
|
||||
#ifdef PIP_INTROSPECTION
|
||||
# include "piintrospection_containers_p.h"
|
||||
#endif
|
||||
|
||||
class ContainersModel: public QAbstractItemModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ContainersModel();
|
||||
|
||||
#ifdef PIP_INTROSPECTION
|
||||
void update(const PIMap<uint, PIIntrospectionContainers::Type> & td, const PIMap<uint, PIString> & tn);
|
||||
#endif
|
||||
void clear();
|
||||
|
||||
int rowCount(const QModelIndex & parent = QModelIndex()) const override;
|
||||
@@ -26,7 +29,9 @@ public:
|
||||
Qt::ItemFlags flags(const QModelIndex & index) const override;
|
||||
|
||||
protected:
|
||||
#ifdef PIP_INTROSPECTION
|
||||
PIMap<uint, PIIntrospectionContainers::Type> typedata, prev_typedata;
|
||||
#endif
|
||||
PIMap<uint, PIString> typenames;
|
||||
PIVector<uint> typeids;
|
||||
PIVector<llong> all, prev_all;
|
||||
@@ -46,10 +51,10 @@ class ContainersView: public QWidget, private Ui::ContainersView
|
||||
public:
|
||||
ContainersView(QWidget * parent = 0);
|
||||
~ContainersView();
|
||||
|
||||
#ifdef PIP_INTROSPECTION
|
||||
void showContainers(const PIMap<uint, PIIntrospectionContainers::Type> & data, const PIMap<uint, PIString> & typenames);
|
||||
#endif
|
||||
void clear();
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent * e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user