first commit
This commit is contained in:
17
project/fm_viewer/ui/rm_popup_content_background.cpp
Normal file
17
project/fm_viewer/ui/rm_popup_content_background.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user