38 lines
602 B
C
38 lines
602 B
C
|
#ifndef ETEXTSTATICATTR_H
|
||
|
#define ETEXTSTATICATTR_H
|
||
|
|
||
|
#include <QDebug>
|
||
|
#include <QColorDialog>
|
||
|
#include <QPushButton>
|
||
|
#include <QTextOption>
|
||
|
#include "eattr.h"
|
||
|
#include "etext.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class eTextStaticAttr;
|
||
|
}
|
||
|
|
||
|
class eTextStaticAttr : public eAttr
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit eTextStaticAttr(const eText::Data &data, QWidget *parent = nullptr);
|
||
|
~eTextStaticAttr();
|
||
|
|
||
|
private:
|
||
|
void init(const eText::Data &data);
|
||
|
|
||
|
signals: // Widget
|
||
|
|
||
|
|
||
|
signals: //Play
|
||
|
void sPlayDurationChanged(QTime);
|
||
|
|
||
|
protected slots:
|
||
|
|
||
|
private:
|
||
|
Ui::eTextStaticAttr *ui;
|
||
|
};
|
||
|
|
||
|
#endif // ETEXTSTATICATTR_H
|