44 lines
481 B
C++
44 lines
481 B
C++
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "LogViewWidget.hpp"
|
|
#include <QComboBox>
|
|
|
|
namespace N_LogView
|
|
{
|
|
|
|
|
|
class LogViewEnumEdit : public QComboBox, public LogViewWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
|
|
|
|
LogViewEnumEdit(LogViewField* a_field, QWidget* a_parent, const bool a_readonly, const int a_index);
|
|
|
|
|
|
uint16_t getSize() const override;
|
|
|
|
|
|
|
|
bool saveContent(LogViewTelegram* a_telegram) override;
|
|
|
|
protected slots:
|
|
void checkAndOvertakeContent();
|
|
|
|
};
|
|
|
|
}
|