50 lines
665 B
C++
50 lines
665 B
C++
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <QTabWidget>
|
|
#include "LogViewWidget.hpp"
|
|
|
|
|
|
namespace N_LogView
|
|
{
|
|
class LogViewTelegramDialog;
|
|
class LogViewSpinBox;
|
|
|
|
|
|
|
|
class LogViewTabWidget : public QTabWidget, public LogViewWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
|
|
LogViewTabWidget(LogViewField* a_field, LogViewTelegramDialog* a_parent, LogViewSpinBox* a_spinBox);
|
|
|
|
bool saveContent(LogViewTelegram* a_telegram) override;
|
|
void addTab(LogViewField* a_field, const bool a_isEmpty, int arrayIdx);
|
|
|
|
public slots:
|
|
|
|
|
|
void changeSize(const int a_newSize);
|
|
|
|
protected:
|
|
|
|
LogViewTelegramDialog* m_TelegramDialog;
|
|
LogViewSpinBox* m_SpinBox;
|
|
|
|
};
|
|
|
|
}
|