[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdewebdev/quanta/components/debugger
From: Linus McCabe <Linus () mccabe ! nu>
Date: 2005-08-30 21:26:32
Message-ID: 1125437192.275220.15882.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 455242 by linusmc:
Improved the updated indicator slightly
M +10 -0 variableslistview.cpp
--- branches/KDE/3.5/kdewebdev/quanta/components/debugger/variableslistview.cpp #455241:455242
@@ -39,6 +39,7 @@
enum Columns
{
Name = 0,
+ Status,
Value,
Type,
Size
@@ -51,6 +52,7 @@
{
// If you change here, change the VariablesListViewColumns enums above
addColumn(i18n("Name"));
+ addColumn(i18n(""));
addColumn(i18n("Value"));
addColumn(i18n("Type"));
addColumn(i18n("Size"));
@@ -200,8 +202,16 @@
oldvar->append(child);
}
}
+
item = oldvar->item();
+
+ if(oldvar->value() != newvar->value())
+ item->setPixmap(VariablesListViewColumns::Status, SmallIcon("ok"));
+ else
+ item->setPixmap(VariablesListViewColumns::Status, KPixmap());
+
oldvar->copy(newvar, false);
+
item->setText(VariablesListViewColumns::Name, oldvar->name());
item->setText(VariablesListViewColumns::Type, oldvar->typeName());
item->setText(VariablesListViewColumns::Size, oldvar->sizeName());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic