mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Replace potentially unterminated std::string::data() for pre-c++11
This commit is contained in:
29
YACReader/page_label_widget.h
Normal file
29
YACReader/page_label_widget.h
Normal 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 * imgLabel;
|
||||
QLabel * textLabel;
|
||||
QPropertyAnimation * animation;
|
||||
|
||||
//void resizeEvent(QResizeEvent * event);
|
||||
|
||||
public:
|
||||
PageLabelWidget(QWidget * parent);
|
||||
|
||||
public slots:
|
||||
void show();
|
||||
void hide();
|
||||
void setText(const QString & text);
|
||||
void updatePosition();
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user