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

Method StatisticsStyleControl

YUViewLib/src/ui/Statisticsstylecontrol.cpp:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70} // namespace
71
72StatisticsStyleControl::StatisticsStyleControl(QWidget *parent)
73 : QDialog(parent, Qt::Dialog | Qt::WindowStaysOnTopHint)
74{
75 this->ui.setupUi(this);
76
77 this->ui.frameDataColor->setRenderRangeValues(true);
78
79 QSignalBlocker blockerPredefined(this->ui.comboBoxPredefined);
80 for (auto typeName : stats::color::PredefinedTypeMapper.getNames())
81 this->ui.comboBoxPredefined->addItem(QString::fromStdString(typeName));
82 this->refreshComboBoxCustomMapFromStorage();
83}
84
85void StatisticsStyleControl::setStatsItem(stats::StatisticsType *item)
86{

Callers

nothing calls this directly

Calls 4

setupUiMethod · 0.80
setRenderRangeValuesMethod · 0.80
getNamesMethod · 0.80

Tested by

no test coverage detected