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

Method isValid

src/frontend/datasources/AsciiOptionsWidget.cpp:245–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245bool AsciiOptionsWidget::isValid(QString& errorMessage) {
246 QString invalidString;
247 QVector<AbstractColumn::ColumnMode> s;
248 if (!AsciiFilter::determineColumnModes(ui.kleColumnMode->text(), s, invalidString)) {
249 errorMessage = i18n("Datatype not found: %1").arg(invalidString);
250 return false;
251 }
252 return true;
253}
254
255// ##############################################################################
256// ########################## Template handling ##############################

Callers 11

enableRecalculateMethod · 0.45
enableRecalculateMethod · 0.45
updatePaperSizeMethod · 0.45
applyFilterSettingsMethod · 0.45
getIndexRowsMethod · 0.45
checkOkButtonMethod · 0.45
testConnectionMethod · 0.45
importToMethod · 0.45
checkValidMethod · 0.45

Calls 2

argMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected