MCPcopy Create free account
hub / github.com/YACReader/yacreader / informationSwitch

Method informationSwitch

YACReader/viewer.cpp:1117–1127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1115}
1116
1117void 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
1129void Viewer::updateInformation()
1130{

Callers

nothing calls this directly

Calls 5

hideMethod · 0.80
setShowInformationMethod · 0.80
updatePositionMethod · 0.45
showMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected