23 lines
586 B
C++
23 lines
586 B
C++
#ifndef ETABLE_H
|
|
#define ETABLE_H
|
|
|
|
#include "ebase.h"
|
|
|
|
class ETable : public EBase {
|
|
Q_OBJECT
|
|
public:
|
|
explicit ETable(EBase *multiWin = 0);
|
|
explicit ETable(const JObj &json, EBase *multiWin = 0);
|
|
|
|
int type() const override {return EBase::Table;}
|
|
void paint(QPainter*, const QStyleOptionGraphicsItem *, QWidget *) override;
|
|
QWidget* attrWgt() override;
|
|
bool save(const QString &) override {return true;};
|
|
JObj attrJson() const override;
|
|
|
|
QString url;
|
|
int zoom = 100, refresh = 0, _x = 0, _y = 0, scaleX = 100, scaleY = 100;
|
|
};
|
|
|
|
#endif // ETABLE_H
|