git-svn-id: svn://db.shs.com.ru/libs@569 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -57,6 +57,7 @@ config(piqt(config_), QIODevice::ReadWrite), coeffs(config_, "k", true) {
|
|||||||
ui->scrollArea->setAutoFillBackground(false);
|
ui->scrollArea->setAutoFillBackground(false);
|
||||||
ui->scrollAreaWidgetContents->setAutoFillBackground(false);
|
ui->scrollAreaWidgetContents->setAutoFillBackground(false);
|
||||||
ui->widget->setAutoFillBackground(false);
|
ui->widget->setAutoFillBackground(false);
|
||||||
|
ui->label_17->setFixedSize(preferredIconSize(1.25, this));
|
||||||
log_menu.addAction(ui->actionClear);
|
log_menu.addAction(ui->actionClear);
|
||||||
prot_x = 0;
|
prot_x = 0;
|
||||||
prot_c = 0;
|
prot_c = 0;
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1034</width>
|
<width>1759</width>
|
||||||
<height>559</height>
|
<height>852</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@@ -233,6 +233,9 @@
|
|||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="kx_pult.qrc">:/icons/edit-find.png</pixmap>
|
<pixmap resource="kx_pult.qrc">:/icons/edit-find.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="scaledContents">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
@@ -457,8 +460,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>851</width>
|
<width>1370</width>
|
||||||
<height>462</height>
|
<height>655</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||||
@@ -1273,16 +1276,16 @@
|
|||||||
<extends>QFrame</extends>
|
<extends>QFrame</extends>
|
||||||
<header>graphic.h</header>
|
<header>graphic.h</header>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
<customwidget>
|
|
||||||
<class>QPIConfigWidget</class>
|
|
||||||
<extends>QTreeWidget</extends>
|
|
||||||
<header>qpiconfigwidget.h</header>
|
|
||||||
</customwidget>
|
|
||||||
<customwidget>
|
<customwidget>
|
||||||
<class>CLineEdit</class>
|
<class>CLineEdit</class>
|
||||||
<extends>QLineEdit</extends>
|
<extends>QLineEdit</extends>
|
||||||
<header>clineedit.h</header>
|
<header>clineedit.h</header>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
|
<customwidget>
|
||||||
|
<class>QPIConfigWidget</class>
|
||||||
|
<extends>QTreeWidget</extends>
|
||||||
|
<header>qpiconfigwidget.h</header>
|
||||||
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="kx_pult.qrc"/>
|
<include location="kx_pult.qrc"/>
|
||||||
|
|||||||
@@ -27,8 +27,10 @@ ContainersModel::ContainersModel() {
|
|||||||
void ContainersModel::update(const PIVector<PIIntrospectionContainers::TypeInfo> & t) {
|
void ContainersModel::update(const PIVector<PIIntrospectionContainers::TypeInfo> & t) {
|
||||||
prev_data.clear();
|
prev_data.clear();
|
||||||
all.fill(0U);
|
all.fill(0U);
|
||||||
piForeachC (PIIntrospectionContainers::TypeInfo & i, t) {
|
piForeachC (PIIntrospectionContainers::TypeInfo & i, cur_data) {
|
||||||
prev_data[i.id] = i;
|
prev_data[i.id] = i;
|
||||||
|
}
|
||||||
|
piForeachC (PIIntrospectionContainers::TypeInfo & i, t) {
|
||||||
all[ccCount] += i.count;
|
all[ccCount] += i.count;
|
||||||
all[ccBytesAllocated] += i.allocated * i.item_size;
|
all[ccBytesAllocated] += i.allocated * i.item_size;
|
||||||
all[ccBytesUsed] += i.used * i.item_size;
|
all[ccBytesUsed] += i.used * i.item_size;
|
||||||
|
|||||||
Reference in New Issue
Block a user