MCPcopy Create free account
hub / github.com/KDE/labplot / showAsciiHeaderOptions

Method showAsciiHeaderOptions

src/frontend/datasources/AsciiOptionsWidget.cpp:156–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void AsciiOptionsWidget::showAsciiHeaderOptions(bool headerLinevisible, bool columnNamesVisible) {
157 ui.chbHeader->setVisible(headerLinevisible);
158 ui.sbHeaderLine->setVisible(headerLinevisible);
159
160 // if the columns names are visible in general, show/hide them depending on the current setting for the option "Names at Line"
161 if (columnNamesVisible) {
162 ui.lVectorNames->setVisible(!ui.chbHeader->isChecked());
163 ui.kleVectorNames->setVisible(!ui.chbHeader->isChecked());
164 }
165}
166
167void AsciiOptionsWidget::showTimestampOptions(bool visible) {
168 ui.chbCreateTimestamp->setVisible(visible);

Callers 1

updateHeaderOptionsMethod · 0.80

Calls 1

setVisibleMethod · 0.45

Tested by

no test coverage detected