mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 12:07:51 +03:00
42 lines
669 B
C++
42 lines
669 B
C++
![]() |
#ifndef CSV_TOOLS_REPORTSUBVIEW_H
|
||
|
#define CSV_TOOLS_REPORTSUBVIEW_H
|
||
|
|
||
|
#include "../doc/subview.hpp"
|
||
|
|
||
|
class QTableView;
|
||
|
class QModelIndex;
|
||
|
|
||
|
namespace CSMDoc
|
||
|
{
|
||
|
class Document;
|
||
|
}
|
||
|
|
||
|
namespace CSMTools
|
||
|
{
|
||
|
class ReportModel;
|
||
|
}
|
||
|
|
||
|
namespace CSVTools
|
||
|
{
|
||
|
class Table;
|
||
|
|
||
|
class ReportSubView : public CSVDoc::SubView
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
CSMTools::ReportModel *mModel;
|
||
|
QTableView *mTable;
|
||
|
|
||
|
public:
|
||
|
|
||
|
ReportSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document);
|
||
|
|
||
|
virtual void setEditLock (bool locked);
|
||
|
|
||
|
private slots:
|
||
|
|
||
|
void show (const QModelIndex& index);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|