Files
uartscope/include/tagwidget.h
Dany Thinnes d3229c7b64 - Auto-scroll standard aktiv
- Tag-Filter wird gespeichert
- Tag Monitor kann bei einem Tag jetzt pro Key mehrere Werte in einer Tabelle anzeigen
- Bug für Clear behoben
2026-06-23 23:19:06 +02:00

31 lines
682 B
C++

#pragma once
#include <QWidget>
#include <QScrollArea>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>
#include <QLabel>
#include <QMap>
#include <QString>
#include "tagpanel.h"
// TagWidget is the side-panel that receives tagDetected() signals from the
// SerialWorker and creates/updates one TagPanel per unique tag.
class TagWidget : public QWidget
{
Q_OBJECT
public:
explicit TagWidget(QWidget *parent = nullptr);
public slots:
void handleTag(const QString &tag, const QString &value);
void clearAll();
void removeTag(const QString &tag);
private:
QVBoxLayout *m_panelLayout = nullptr;
QMap<QString, TagPanel*> m_panels;
};