MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / sidePanelRatio

Method sidePanelRatio

Components/MainSpectrum.cpp:705–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703}
704
705qreal
706MainSpectrum::sidePanelRatio(void) const
707{
708 int fullWidth = this->ui->splitter->width();
709
710 return static_cast<qreal>(this->ui->splitter->sizes()[1])
711 / static_cast<qreal>(fullWidth);
712}
713
714void
715MainSpectrum::setSidePanelWidth(int width)

Callers 1

saveUIConfigMethod · 0.80

Calls 1

widthMethod · 0.80

Tested by

no test coverage detected