Initial implementation of zigzag auto scroll function.

This commit is contained in:
Daisuke Cato
2016-10-14 16:09:45 +09:00
commit 7896949a0d
986 changed files with 90682 additions and 0 deletions

View File

@ -0,0 +1,29 @@
#ifndef PAGE_LABEL_WIDGET_H
#define PAGE_LABEL_WIDGET_H
#include <QWidget>
class QLabel;
class QPropertyAnimation;
class PageLabelWidget : public QWidget
{
Q_OBJECT
private:
QLabel * textLabel;
QPropertyAnimation * animation;
protected:
virtual void paintEvent(QPaintEvent *);
public:
PageLabelWidget(QWidget * parent);
public slots:
void show();
void hide();
void setText(const QString & text);
void updatePosition();
};
#endif