git-svn-id: svn://db.shs.com.ru/libs@577 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -18,6 +18,8 @@ protected:
|
||||
void changeEvent(QEvent * e);
|
||||
|
||||
private slots:
|
||||
void sessionSave(QByteArray * data) {*data = treeObjects->header()->saveState();}
|
||||
void sessionLoad(QByteArray * data) {treeObjects->header()->restoreState(*data);}
|
||||
|
||||
public slots:
|
||||
|
||||
|
||||
@@ -65,6 +65,16 @@ void QPIIntrospector::timerEvent(QTimerEvent * e) {
|
||||
}
|
||||
|
||||
|
||||
void QPIIntrospector::savingSession(QPIConfig & conf) {
|
||||
conf.setValue("treeStat_header", treeStat->header()->saveState());
|
||||
}
|
||||
|
||||
|
||||
void QPIIntrospector::loadingSession(QPIConfig & conf) {
|
||||
treeStat->header()->restoreState(conf.getValue("treeStat_header", QByteArray()));
|
||||
}
|
||||
|
||||
|
||||
void QPIIntrospector::buildTree(QByteArray d) {
|
||||
/*PIVector<PIIntrospectionThreads::ThreadInfo> threads;
|
||||
PIByteArray pd = Q2PIByteArray(d);
|
||||
|
||||
@@ -22,7 +22,9 @@ public:
|
||||
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);}
|
||||
|
||||
@@ -69,6 +69,8 @@ protected:
|
||||
ThreadsModel * model;
|
||||
|
||||
private slots:
|
||||
void sessionSave(QByteArray * data) {*data = treeThreads->header()->saveState();}
|
||||
void sessionLoad(QByteArray * data) {treeThreads->header()->restoreState(*data);}
|
||||
void updateHidden();
|
||||
|
||||
public slots:
|
||||
|
||||
Reference in New Issue
Block a user