File indexing completed on 2024-05-19 04:27:46

0001 /*
0002  * SPDX-FileCopyrightText: 2023 Srirupa Datta <srirupa.sps@gmail.com>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef KISTAGLABEL_H
0008 #define KISTAGLABEL_H
0009 
0010 #include <QWidget>
0011 #include "kritaresourcewidgets_export.h"
0012 
0013 
0014 class KRITARESOURCEWIDGETS_EXPORT KisTagLabel : public QWidget
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     explicit KisTagLabel(QString string, QWidget *parent = nullptr);
0020     ~KisTagLabel();
0021 
0022 public:
0023     QString getText();
0024 
0025 protected:
0026     void paintEvent(QPaintEvent *event) override;
0027 
0028 private:
0029     QString m_string;
0030 };
0031 
0032 #endif // KISTAGLABEL_H