2012-12-11 15:35:47 +01:00
|
|
|
#ifndef CSV_TOOLS_REPORTSUBVIEW_H
|
|
|
|
#define CSV_TOOLS_REPORTSUBVIEW_H
|
|
|
|
|
|
|
|
#include "../doc/subview.hpp"
|
|
|
|
|
|
|
|
class QTableView;
|
2012-12-12 22:36:20 +01:00
|
|
|
class QModelIndex;
|
2012-12-11 15:35:47 +01:00
|
|
|
|
|
|
|
namespace CSMDoc
|
|
|
|
{
|
|
|
|
class Document;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSVTools
|
|
|
|
{
|
2014-12-06 13:01:55 +01:00
|
|
|
class ReportTable;
|
2012-12-11 15:35:47 +01:00
|
|
|
|
|
|
|
class ReportSubView : public CSVDoc::SubView
|
|
|
|
{
|
2022-09-22 21:26:05 +03:00
|
|
|
Q_OBJECT
|
2012-12-12 22:36:20 +01:00
|
|
|
|
2022-09-22 21:26:05 +03:00
|
|
|
ReportTable* mTable;
|
|
|
|
CSMDoc::Document& mDocument;
|
|
|
|
int mRefreshState;
|
2012-12-11 15:35:47 +01:00
|
|
|
|
2022-09-22 21:26:05 +03:00
|
|
|
public:
|
|
|
|
ReportSubView(const CSMWorld::UniversalId& id, CSMDoc::Document& document);
|
2012-12-11 15:35:47 +01:00
|
|
|
|
2022-09-22 21:26:05 +03:00
|
|
|
void setEditLock(bool locked) override;
|
2012-12-11 15:35:47 +01:00
|
|
|
|
2022-09-22 21:26:05 +03:00
|
|
|
private slots:
|
2012-12-12 22:36:20 +01:00
|
|
|
|
2022-09-22 21:26:05 +03:00
|
|
|
void refreshRequest();
|
2012-12-11 15:35:47 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2014-04-22 22:19:53 -05:00
|
|
|
#endif
|