MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / onStylesheetChanged

Method onStylesheetChanged

pj_plotting/widget/src/DockToolbar.cpp:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void DockToolbar::onStylesheetChanged(QString theme) {
207 expand_icon_ = loadSvg(":/resources/svg/expand.svg", theme);
208 collapse_icon_ = loadSvg(":/resources/svg/collapse.svg", theme);
209 setButtonIcon(ui_->buttonFullscreen, fullscreen_mode_ ? collapse_icon_ : expand_icon_);
210 setButtonIcon(ui_->buttonClose, loadSvg(":/resources/svg/close-button.svg", theme));
211 setButtonIcon(ui_->buttonSplitHorizontal, loadSvg(":/resources/svg/add_column.svg", theme));
212 setButtonIcon(ui_->buttonSplitVertical, loadSvg(":/resources/svg/add_row.svg", theme));
213}
214
215} // namespace PJ

Callers

nothing calls this directly

Calls 1

setButtonIconFunction · 0.85

Tested by

no test coverage detected