update additional files

update translations
add "Add lambda" button to ui
This commit is contained in:
arcan1s
2015-08-22 00:40:14 +03:00
parent 835eb00f0d
commit 29b75e2b12
18 changed files with 839 additions and 1300 deletions

View File

@ -67,6 +67,20 @@ public:
m_items = getItems();
};
T *itemByTag(const QString _tag) const
{
if (debug) qDebug() << PDEBUG;
T *found = nullptr;
foreach(T *item, m_items) {
if (item->tag() != _tag) continue;
found = item;
break;
}
return found;
}
T *itemByTagNumber(const int _number) const
{
if (debug) qDebug() << PDEBUG;