MCPcopy Create free account
hub / github.com/baldurk/renderdoc / setProgress

Method setProgress

qrenderdoc/Windows/MainWindow.cpp:1792–1805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1790}
1791
1792void MainWindow::setProgress(float val)
1793{
1794 if(val < 0.0f || val >= 1.0f)
1795 {
1796 statusProgress->setVisible(false);
1797 statusText->setText(QString());
1798 }
1799 else
1800 {
1801 statusProgress->setVisible(true);
1802 statusProgress->setMaximum(1000);
1803 statusProgress->setValue(1000 * val);
1804 }
1805}
1806
1807void MainWindow::setCaptureHasErrors(bool errors)
1808{

Callers 2

LoadCaptureMethod · 0.80
UpdateLoadProgressMethod · 0.80

Calls 4

setMaximumMethod · 0.80
QStringFunction · 0.50
setTextMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected