MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SetButtonIcon

Function SetButtonIcon

lib/utils/ui-helpers.cpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void SetButtonIcon(QAbstractButton *button, const char *path)
81{
82 QIcon icon;
83 icon.addFile(QString::fromUtf8(path), QSize(), QIcon::Normal,
84 QIcon::Off);
85 button->setIcon(icon);
86}
87
88int FindIdxInRagne(QComboBox *list, int start, int stop,
89 const std::string &value, Qt::MatchFlags flags)

Callers 15

RegexConfigWidgetMethod · 0.70
MacroEditMethod · 0.50
SetupMacroSearchWidgetsFunction · 0.50
VariableColorButtonMethod · 0.50
VariableTableMethod · 0.50
ShowTokenMethod · 0.50
HideTokenMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected