18 lines
345 B
C++
18 lines
345 B
C++
#ifndef DUST3D_INFO_LABEL_H
|
|
#define DUST3D_INFO_LABEL_H
|
|
#include <QLabel>
|
|
#include <QIcon>
|
|
#include <QWidget>
|
|
|
|
class InfoLabel : public QWidget
|
|
{
|
|
public:
|
|
InfoLabel(const QString &text=QString(), QWidget *parent=nullptr);
|
|
void setText(const QString &text);
|
|
private:
|
|
QLabel *m_label = nullptr;
|
|
QLabel *m_icon = nullptr;
|
|
};
|
|
|
|
#endif
|