mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
35 lines
585 B
C++
35 lines
585 B
C++
#pragma once
|
|
|
|
#include "widgets/basewidget.hpp"
|
|
#include "widgets/rippleeffectbutton.hpp"
|
|
#include "widgets/signallabel.hpp"
|
|
|
|
#include <QHBoxLayout>
|
|
#include <QLabel>
|
|
#include <QPaintEvent>
|
|
#include <QWidget>
|
|
|
|
namespace chatterino {
|
|
|
|
class ColorScheme;
|
|
|
|
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
|