git-svn-id: svn://db.shs.com.ru/libs@567 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
project(piintrospector)
|
||||
file(GLOB SRC "*.h" "*.cpp" "*.ui" "*.qrc" "lang/*.ts")
|
||||
set(PII_ROOT "../../pip/src_main/introspection")
|
||||
pip_code_model(CCM "${PII_ROOT}/piintrospection_server_p.h" "${PII_ROOT}/piintrospection_threads_p.h" OPTIONS "-DPIP_EXPORT" "-Es")
|
||||
pip_code_model(PII_CCM "${PII_ROOT}/piintrospection_server_p.h" "${PII_ROOT}/piintrospection_threads_p.h" OPTIONS "-DPIP_EXPORT" "-Es")
|
||||
find_qt(${QtVersions} Core Gui)
|
||||
qt_wrap(${SRC} HDRS out_HDR CPPS out_CPP QMS out_QM)
|
||||
qt_add_executable(${PROJECT_NAME} WIN32 out_CPP CCM)
|
||||
qt_add_executable(${PROJECT_NAME} WIN32 out_CPP PII_CCM)
|
||||
qt_target_link_libraries(${PROJECT_NAME} pip qad_utils qad_widgets qad_application piqt_utils)
|
||||
message(STATUS "Building ${PROJECT_NAME}")
|
||||
if(LIB)
|
||||
|
||||
@@ -156,6 +156,7 @@ Qt::ItemFlags ContainersModel::flags(const QModelIndex & index) const {
|
||||
|
||||
void ContainersModel::setChangesMode(bool yes) {
|
||||
mode_changes = yes;
|
||||
if (typeids.isEmpty()) return;
|
||||
dataChanged(index(0, ccCount), index(typeids.size_s() - 1, columnCount()));
|
||||
emit headerDataChanged(Qt::Horizontal, ccCount, columnCount());
|
||||
}
|
||||
|
||||
@@ -174,6 +174,7 @@ void QPIIntrospector::peerReceived(const PIString & from, const PIByteArray & da
|
||||
case PIIntrospection::itProcStat: {
|
||||
cs.get(pba);
|
||||
PIIntrospection::unpackProcStat(pba, stat);
|
||||
widgetThreads->setStat(stat.threads);
|
||||
//showInfo(info);
|
||||
} break;
|
||||
case PIIntrospection::itContainers: {
|
||||
|
||||
Reference in New Issue
Block a user