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

This commit is contained in:
2018-06-08 11:36:49 +00:00
parent a89c41741c
commit ed4ba15d2a
3 changed files with 30 additions and 6 deletions

View File

@@ -96,9 +96,9 @@ void KDockWidget::clear() {
void KDockWidget::changedGlobal() {
piCout << "changedGlobal ..." << k_list.size_s() << info_list.size() << lay->count() << lay->rowCount();
//piCout << "changedGlobal ..." << k_list.size_s() << info_list.size() << lay->count() << lay->rowCount();
for (int i = 0; i < k_list.size_s(); ++i) {
piCout << "update" << i << "0";
//piCout << "update" << i << "0";
if (!K.exists(k_list[i])) {
k_list.remove(i);
info_list.remove(i);
@@ -106,13 +106,13 @@ void KDockWidget::changedGlobal() {
--i;
continue;
}
piCout << "update" << i << "1";
//piCout << "update" << i << "1";
QLabel * lbl = qobject_cast<QLabel*>(lay->itemAt(i, QFormLayout::LabelRole)->widget());
piCout << "update" << i << "2";
//piCout << "update" << i << "2";
if (lbl) lbl->setText(PI2QString(K[k_list[i]].pathString().join(".")) + ":");
piCout << "update" << i << "3";
//piCout << "update" << i << "3";
}
piCout << "changedGlobal ok";
//piCout << "changedGlobal ok";
}