MCPcopy Create free account
hub / github.com/Faster3ck/Converseen / resetDisplays

Method resetDisplays

src/mainwindowimpl.cpp:1204–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1202}
1203
1204void MainWindowImpl::resetDisplays()
1205{
1206 labelPreview->setText(tr("Preview"));
1207
1208 img_width = 0;
1209 img_height = 0;
1210
1211 new_img_width = 0;
1212 new_img_height = 0;
1213
1214 m_xResolution = 0;
1215 m_yResolution = 0;
1216
1217 /*spin_resX->setValue(0);
1218 spin_resY->setValue(0);
1219
1220 if (comboResizeValues->currentText() == "%") {
1221 spin_geoWidth->setValue(100);
1222 spin_geoHeight->setValue(100);
1223 }
1224 if (comboResizeValues->currentText() == "px") {
1225 spin_geoWidth->setValue(1);
1226 spin_geoHeight->setValue(1);
1227 }*/
1228
1229 labelType->setText(" - ");
1230 label_ImageSize->setText(" - ");
1231 labelFileSize->setText(" - ");
1232 label_ImageResolution->setText(" - ");
1233
1234 labelPixelGeometry->setText("");
1235}
1236
1237void MainWindowImpl::checkVersion()
1238{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected