MCPcopy Create free account
hub / github.com/dannagle/PacketSender / themeTheButton

Function themeTheButton

src/sendpacketbutton.cpp:40–51  ·  view source on GitHub ↗

used by mainwindow.cpp and panelgenerator.cpp

Source from the content-addressed store, hash-verified

38
39//used by mainwindow.cpp and panelgenerator.cpp
40void themeTheButton(QPushButton * button)
41{
42 button->setCursor(Qt::PointingHandCursor);
43 button->update();
44 return;
45 QPalette pal = button->palette();
46 pal.setColor(QPalette::Button, QColor("#F5F5F5"));
47 button->setAutoFillBackground(true);
48 button->setPalette(pal);
49 button->setStyleSheet("QPushButton { color: white; background-color: #505F69; } QPushButton::hover { color: #BC810C; background-color: #505F69; } ");
50
51}

Callers 5

PanelGeneratorMethod · 0.85
renderViewModeMethod · 0.85
renderEditModeMethod · 0.85
MainWindowMethod · 0.85
setIPModeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected