File indexing completed on 2024-04-21 04:03:17

0001 /*
0002     SPDX-FileCopyrightText: 2007 Paolo Capriotti <p.capriotti@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef PLAYERLABEL_H
0008 #define PLAYERLABEL_H
0009 
0010 #include <QLabel>
0011 #include <QWidget>
0012 
0013 class PlayerLabel : public QWidget 
0014 {
0015 private: 
0016     QLabel *m_name;
0017     QLabel *m_icon;
0018  
0019 public:
0020     PlayerLabel(const QPixmap &icon, const QString &text, QWidget *parent);
0021 
0022     void setData(const QPixmap &icon, const QString &text);
0023     void setText(const QString &text);
0024 };
0025 
0026 #endif // PLAYERLABEL_H
0027