added label content loading

This commit is contained in:
Luis Ángel San Martín
2014-11-21 18:54:07 +01:00
parent 2af75b35ca
commit 2289e24602
15 changed files with 193 additions and 32 deletions

View File

@ -0,0 +1,26 @@
#ifndef EMPTY_LABEL_WIDGET_H
#define EMPTY_LABEL_WIDGET_H
#include <QtWidgets>
#include "yacreader_global.h"
class EmptyLabelWidget : public QWidget
{
Q_OBJECT
public:
explicit EmptyLabelWidget(QWidget *parent = 0);
void setColor(YACReader::LabelColors color);
void paintEvent(QPaintEvent *event);
signals:
public slots:
protected:
QLabel * iconLabel;
QLabel * titleLabel;
QString backgroundColor;
};
#endif // EMPTY_LABEL_WIDGET_H