mirror-chatterino2/src/widgets/rippleeffectlabel.hpp
2017-09-22 00:50:43 +02:00

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