2025-02-08 19:58:54 -05:00
|
|
|
#ifndef ZONEFILEVIEWER_H
|
|
|
|
|
#define ZONEFILEVIEWER_H
|
|
|
|
|
|
|
|
|
|
#include "zonefile.h"
|
|
|
|
|
#include "utils.h"
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
class ZoneFileViewer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class ZoneFileViewer : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit ZoneFileViewer(QWidget *parent = nullptr);
|
|
|
|
|
~ZoneFileViewer();
|
|
|
|
|
|
|
|
|
|
void SetZoneFile(std::shared_ptr<ZoneFile> aZoneFile);
|
2025-05-03 09:57:47 -04:00
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
void SortTags(const QString &aSearchText);
|
|
|
|
|
|
|
|
|
|
void HighlightRecordInOrder();
|
|
|
|
|
|
2025-02-08 19:58:54 -05:00
|
|
|
private:
|
|
|
|
|
Ui::ZoneFileViewer *ui;
|
2025-05-03 09:57:47 -04:00
|
|
|
std::shared_ptr<ZoneFile> mZoneFile;
|
2025-02-08 19:58:54 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // ZONEFILEVIEWER_H
|