| 1115 | } |
| 1116 | |
| 1117 | void Viewer::informationSwitch() |
| 1118 | { |
| 1119 | informationLabel->updatePosition(); |
| 1120 | information ? informationLabel->hide() : informationLabel->show(); |
| 1121 | // informationLabel->move(QPoint((width()-informationLabel->width())/2,0)); |
| 1122 | information = !information; |
| 1123 | Configuration::getConfiguration().setShowInformation(information); |
| 1124 | // TODO it shouldn't be neccesary |
| 1125 | informationLabel->adjustSize(); |
| 1126 | informationLabel->update(); |
| 1127 | } |
| 1128 | |
| 1129 | void Viewer::updateInformation() |
| 1130 | { |
nothing calls this directly
no test coverage detected