2012-12-11 14:35:47 +00:00
|
|
|
#ifndef CSV_TOOLS_REPORTSUBVIEW_H
|
|
|
|
#define CSV_TOOLS_REPORTSUBVIEW_H
|
|
|
|
|
|
|
|
#include "../doc/subview.hpp"
|
|
|
|
|
|
|
|
class QTableView;
|
2012-12-12 21:36:20 +00:00
|
|
|
class QModelIndex;
|
2012-12-11 14:35:47 +00:00
|
|
|
|
|
|
|
namespace CSMDoc
|
|
|
|
{
|
|
|
|
class Document;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSVTools
|
|
|
|
{
|
2014-12-06 12:01:55 +00:00
|
|
|
class ReportTable;
|
2012-12-11 14:35:47 +00:00
|
|
|
|
|
|
|
class ReportSubView : public CSVDoc::SubView
|
|
|
|
{
|
2012-12-12 21:36:20 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
2014-12-06 12:01:55 +00:00
|
|
|
ReportTable *mTable;
|
2015-06-25 10:03:40 +00:00
|
|
|
CSMDoc::Document& mDocument;
|
|
|
|
int mRefreshState;
|
2012-12-11 14:35:47 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
ReportSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document);
|
|
|
|
|
|
|
|
virtual void setEditLock (bool locked);
|
2012-12-12 21:36:20 +00:00
|
|
|
|
2014-12-06 12:01:55 +00:00
|
|
|
virtual void updateUserSetting (const QString &, const QStringList &);
|
2015-06-25 10:03:40 +00:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
void refreshRequest();
|
2012-12-11 14:35:47 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2014-04-23 03:19:53 +00:00
|
|
|
#endif
|