MCPcopy Create free account
hub / github.com/IENT/YUView / updateParsingStatusText

Method updateParsingStatusText

YUViewLib/src/ui/widgets/BitstreamAnalysisWidget.cpp:151–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void BitstreamAnalysisWidget::updateParsingStatusText(int progressValue)
152{
153 if (progressValue <= -1)
154 this->ui.parsingStatusText->setText(
155 "No bitstream file selected - Select a bitstream file to start bitstream analysis.");
156 else if (progressValue < 100)
157 this->ui.parsingStatusText->setText(QString("Parsing file (%1%)").arg(progressValue));
158 else
159 {
160 const auto parsingLimitSet = !this->ui.parseEntireFileCheckBox->isChecked();
161 this->ui.parsingStatusText->setText(
162 parsingLimitSet ? "Partial parsing done. Enable full parsing if needed." : "Parsing done.");
163 }
164}
165
166void BitstreamAnalysisWidget::stopAndDeleteParserBlocking()
167{

Callers 4

updateParserItemModelMethod · 0.95
backgroundParsingDoneMethod · 0.95

Calls 1

setTextMethod · 0.80

Tested by

no test coverage detected