MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / AddButton

Method AddButton

src/render_panel/devices/stream_content.cpp:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24{
25
26 AddButton::AddButton(QWidget* parent) : QLabel(parent) {
27 setFixedSize(50, 50);
28 setStyleSheet("background:#00000000;");
29 auto ps = new QGraphicsDropShadowEffect();
30 ps->setBlurRadius(15);
31 ps->setOffset(0, 0);
32 ps->setColor(0x999999);
33 this->setGraphicsEffect(ps);
34 }
35
36 void AddButton::paintEvent(QPaintEvent *) {
37 QPainter painter(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected