| 712 | } |
| 713 | |
| 714 | void |
| 715 | MainSpectrum::setSidePanelWidth(int width) |
| 716 | { |
| 717 | QList<int> sizes; |
| 718 | int fullWidth = this->ui->splitter->width(); |
| 719 | |
| 720 | if (fullWidth > 0) { |
| 721 | sizes.append(fullWidth - width); |
| 722 | sizes.append(width); |
| 723 | |
| 724 | this->ui->splitter->setSizes(sizes); |
| 725 | } |
| 726 | } |
| 727 | |
| 728 | int |
| 729 | MainSpectrum::sidePanelWidth(void) const |
no test coverage detected