mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-06 02:15:52 +00:00
update additional files
update translations add "Add lambda" button to ui
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user