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

Method components

src/frontend/AboutDialog.cpp:205–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205QVector<QStringList> AboutDialog::components() {
206 QVector<QStringList> components;
207
208 // alphabetically
209 QString version;
210 QString missing = QLatin1String("<font color=\"red\">") + i18n("missing") + QLatin1String("</font>");
211#ifdef HAVE_CANTOR_LIBS
212 version = QLatin1String(CANTOR_VERSION_STRING);
213#else
214 version = missing;
215#endif
216 components << (QStringList() << QLatin1String("Cantor") << i18n("Frontend to Mathematical Applications") << version << QStringLiteral("https://cantor.kde.org/"));
217#ifdef HAVE_FITS
218 version = QLatin1String(CFITSIO_VERSION_STRING);
219#else
220 version = missing;
221#endif
222 components << (QStringList() << QLatin1String("CFITSIO") << i18n("Support data files in FITS (Flexible Image Transport System) data format") << version << QStringLiteral("https://heasarc.gsfc.nasa.gov/fitsio"));
223#ifdef HAVE_DISCOUNT
224 version = QLatin1String(DISCOUNT_VERSION_STRING);
225#else
226 version = missing;
227#endif
228 components << (QStringList() << QLatin1String("Discount") << i18n("Markdown markup language support") << version << QStringLiteral("http://www.pell.portland.or.us/~orc/Code/discount/"));
229#ifdef HAVE_EIGEN3
230 version = QLatin1String(EIGEN3_VERSION_STRING);
231#else
232 version = missing;
233#endif
234 components << (QStringList() << QLatin1String("Eigen3") << i18n("C++ library for linear algebra") << version << QStringLiteral("https://eigen.tuxfamily.org/index.php?title=Main_Page"));
235#ifdef HAVE_FFTW3
236 version = QLatin1String(FFTW3_VERSION_STRING);
237#else
238 version = missing;
239#endif
240 components << (QStringList() << QLatin1String("FFTW3") << i18n("Fastest Fourier Transform in the West") << version << QStringLiteral("http://fftw.org/"));
241 components << (QStringList() << QLatin1String("GSL") << i18n("GNU Scientific Library") << QStringLiteral(GSL_VERSION) << QStringLiteral("https://www.gnu.org/software/gsl"));
242#ifdef HAVE_HDF5
243 version = QLatin1String(H5_VERS_INFO);
244#else
245 version = missing;
246#endif
247 components << (QStringList() << QLatin1String("HDF5") << i18n("High-performance data management and storage suite") << version << QStringLiteral("https://www.hdfgroup.org/solutions/hdf5"));
248#ifdef HAVE_KF_SYNTAX_HIGHLIGHTING
249 version = QLatin1String(KSYNTAXHIGHLIGHTING_VERSION_STRING);
250#else
251 version = missing;
252#endif
253 components << (QStringList() << QLatin1String("KSyntaxHighlighting") << i18n("Syntax highlighting engine") << version << QStringLiteral("https://api.kde.org/frameworks/syntax-highlighting/html/index.html"));
254#ifdef HAVE_KUSERFEEDBACK
255 version = QLatin1String(KUSERFEEDBACK_VERSION_STRING);
256#else
257 version = missing;
258#endif
259 components << (QStringList() << QLatin1String("KUserfeedback") << i18n("Support collecting feedback from users") << version << QStringLiteral("https://github.com/KDE/kuserfeedback"));
260#ifdef HAVE_LIBCERF
261 version = QLatin1String(LIBCERF_VERSION_STRING);
262#else

Callers

nothing calls this directly

Calls 3

liboriginVersionStringFunction · 0.85
replaceMethod · 0.80
QStringClass · 0.50

Tested by

no test coverage detected