#pragma once #include #include "LogViewWidget.hpp" namespace N_LogView { class LogViewTableWidget : public QTableWidget, public LogViewWidget { Q_OBJECT public: LogViewTableWidget(LogViewField* a_field, QWidget* a_parent, const bool a_readonly); bool saveContent(LogViewTelegram* a_telegram) override; public slots: void changeSize(const int a_newSize); protected: void changeRow(const int a_rowIndex, const QString& a_value); void makePretty(); protected slots: void checkAndOvertakeContent(QTableWidgetItem* a_changedItem); private: bool m_IsFloat; bool m_IsEnum; }; }