MCPcopy Create free account
hub / github.com/ccMSC/ckb / toString

Method toString

src/ckb/gradientbutton.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80QString GradientButton::toString() const {
81 QStringList result;
82 foreach(const QGradientStop& stop, _stops){
83 QString string;
84 const QColor& color = stop.second;
85 result << string.sprintf("%d:%02x%02x%02x%02x", (int)round(stop.first * 100.f), color.alpha(), color.red(), color.green(), color.blue());
86 }
87 return result.join(" ");
88}
89
90void GradientButton::pickGradient(){
91 GradientDialog dialog(this);

Callers 15

listMethod · 0.80
printParamsMethod · 0.80
loadMethod · 0.80
animActionMethod · 0.80
KbAnimMethod · 0.80
saveMethod · 0.80
KbProfileMethod · 0.80
loadMethod · 0.80
foreachFunction · 0.80
loadGlobalRemapMethod · 0.80
loadMethod · 0.80
foreachFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected