git-svn-id: svn://db.shs.com.ru/libs@569 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-06-27 15:49:30 +00:00
parent 9fd50a8082
commit 5e2ca10e73
3 changed files with 17 additions and 11 deletions

View File

@@ -57,6 +57,7 @@ config(piqt(config_), QIODevice::ReadWrite), coeffs(config_, "k", true) {
ui->scrollArea->setAutoFillBackground(false);
ui->scrollAreaWidgetContents->setAutoFillBackground(false);
ui->widget->setAutoFillBackground(false);
ui->label_17->setFixedSize(preferredIconSize(1.25, this));
log_menu.addAction(ui->actionClear);
prot_x = 0;
prot_c = 0;

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1034</width>
<height>559</height>
<width>1759</width>
<height>852</height>
</rect>
</property>
<property name="windowTitle">
@@ -18,7 +18,7 @@
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@@ -233,6 +233,9 @@
<property name="pixmap">
<pixmap resource="kx_pult.qrc">:/icons/edit-find.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
@@ -457,8 +460,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>851</width>
<height>462</height>
<width>1370</width>
<height>655</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
@@ -1273,16 +1276,16 @@
<extends>QFrame</extends>
<header>graphic.h</header>
</customwidget>
<customwidget>
<class>QPIConfigWidget</class>
<extends>QTreeWidget</extends>
<header>qpiconfigwidget.h</header>
</customwidget>
<customwidget>
<class>CLineEdit</class>
<extends>QLineEdit</extends>
<header>clineedit.h</header>
</customwidget>
<customwidget>
<class>QPIConfigWidget</class>
<extends>QTreeWidget</extends>
<header>qpiconfigwidget.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="kx_pult.qrc"/>

View File

@@ -27,8 +27,10 @@ ContainersModel::ContainersModel() {
void ContainersModel::update(const PIVector<PIIntrospectionContainers::TypeInfo> & t) {
prev_data.clear();
all.fill(0U);
piForeachC (PIIntrospectionContainers::TypeInfo & i, t) {
piForeachC (PIIntrospectionContainers::TypeInfo & i, cur_data) {
prev_data[i.id] = i;
}
piForeachC (PIIntrospectionContainers::TypeInfo & i, t) {
all[ccCount] += i.count;
all[ccBytesAllocated] += i.allocated * i.item_size;
all[ccBytesUsed] += i.used * i.item_size;