mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
32 lines
578 B
C++
32 lines
578 B
C++
#pragma once
|
|
|
|
#include "widgets/basewidget.hpp"
|
|
#include "widgets/helper/rippleeffectbutton.hpp"
|
|
#include "widgets/helper/signallabel.hpp"
|
|
|
|
#include <QHBoxLayout>
|
|
#include <QLabel>
|
|
#include <QPaintEvent>
|
|
#include <QWidget>
|
|
|
|
namespace chatterino {
|
|
namespace widgets {
|
|
|
|
class RippleEffectLabel : public RippleEffectButton
|
|
{
|
|
public:
|
|
explicit RippleEffectLabel(BaseWidget *parent, int spacing = 6);
|
|
|
|
SignalLabel &getLabel()
|
|
{
|
|
return this->label;
|
|
}
|
|
|
|
private:
|
|
QHBoxLayout hbox;
|
|
SignalLabel label;
|
|
};
|
|
|
|
} // namespace widgets
|
|
} // namespace chatterino
|