18 lines
387 B
C++
18 lines
387 B
C++
#include "rm_popup_content_background.h"
|
|
#include <QStyleOption>
|
|
#include <QPainter>
|
|
|
|
RMPopupContentBackground::RMPopupContentBackground(QWidget *parent) : QWidget(parent)
|
|
{
|
|
|
|
}
|
|
|
|
void RMPopupContentBackground::paintEvent(QPaintEvent *pe)
|
|
{
|
|
Q_UNUSED(pe);
|
|
QStyleOption o;
|
|
o.initFrom(this);
|
|
QPainter p(this);
|
|
style()->drawPrimitive(QStyle::PE_Widget, &o, &p, this);
|
|
}
|