53 lines
1.2 KiB
C
53 lines
1.2 KiB
C
|
#ifndef CCSFIXTABLE_H
|
|||
|
#define CCSFIXTABLE_H
|
|||
|
#include "ccstable.h"
|
|||
|
#include "ccsreport_global.h"
|
|||
|
|
|||
|
namespace CCS_Report {
|
|||
|
class CCSTableFixPrivate;
|
|||
|
|
|||
|
class CCS_COMPASSREPORT_EXPORT CCSTableFix:public CCSTable
|
|||
|
{
|
|||
|
Q_OBJECT
|
|||
|
Q_PROPERTY(int frame READ frame WRITE SetFrame)
|
|||
|
|
|||
|
public:
|
|||
|
CCSTableFix(QObject * parent = 0);
|
|||
|
~CCSTableFix();
|
|||
|
virtual CCSBaseItemInterface * createInstance(QObject * parent) const;
|
|||
|
virtual CCSBaseItemInterface * clone(bool withChildren = true, bool init = true) const;
|
|||
|
virtual void SetValue(const QString &text,int iPos=0){}
|
|||
|
virtual void exeFunction(ReportFunPara& arg);
|
|||
|
int frame() const;
|
|||
|
void SetFrame(const int &frames);
|
|||
|
virtual int Parse(QList<QPair<CCSTableInterface*, int>>& tablesinfo, QList<QPair<QString,QString>>& groupkey);
|
|||
|
|
|||
|
protected:
|
|||
|
Q_DECLARE_PRIVATE(CCSTableFix)
|
|||
|
CCSTableFix(CCSTableFixPrivate *dd, QObject * parent);
|
|||
|
virtual CCSBaseItemInterface * itemClone() const;
|
|||
|
|
|||
|
|
|||
|
private:
|
|||
|
//是否有边框 0 无 1 有
|
|||
|
int m_frame;
|
|||
|
|
|||
|
};
|
|||
|
|
|||
|
class CCSTableFixPrivate:public CCSTablePrivate
|
|||
|
{
|
|||
|
public:
|
|||
|
CCSTableFixPrivate()
|
|||
|
:CCSTablePrivate()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
CCSTableFixPrivate(const CCSTableFixPrivate & p)
|
|||
|
:CCSTablePrivate(p)
|
|||
|
{}
|
|||
|
|
|||
|
|
|||
|
};
|
|||
|
}
|
|||
|
#endif // CCSFIXTABLE_H
|