Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlotJuggler/PlotJuggler
/ setLabelSide
Method
setLabelSide
pj_widgets/src/ToggleSwitch.cpp:93–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
void ToggleSwitch::setLabelSide(LabelSide side) {
94
if (label_side_ == side) {
95
return;
96
}
97
label_side_ = side;
98
update();
99
}
100
101
void ToggleSwitch::setLeftIcon(const QIcon& icon) {
102
left_icon_ = icon;
Callers
2
TEST
Function · 0.80
tryAdaptCheckBox
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64