GCC Code Coverage Report
 Directory: ./ Exec Total Coverage File: plugins/pyqcustomplot/plugin.hh Lines: 0 1 0.0 % Date: 2023-03-14 11:04:37 Branches: 0 0 - %

 Line Branch Exec Source 1 // Copyright (c) 2018 CNRS 2 // Authors: Joseph Mirabel 3 // 4 // 5 // This file is part of gepetto-viewer 6 // gepetto-viewer is free software: you can redistribute it 7 // and/or modify it under the terms of the GNU Lesser General Public 8 // License as published by the Free Software Foundation, either version 9 // 3 of the License, or (at your option) any later version. 10 // 11 // gepetto-viewer is distributed in the hope that it will be 12 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty 13 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 // General Lesser Public License for more details. You should have 15 // received a copy of the GNU Lesser General Public License along with 16 // gepetto-viewer If not, see 17 // . 18 19 #include  20 #include  21 #include  22 23 namespace PyQCustomPlot { 24 /// \ingroup pluginlist 25 /// Provide bindings of QCustomPlot library in PythonQt terminal. 26 /// See QCustomPlotDecorator for the API available in Python. 27 /// 28 /// Add the following to your settings file to activate it. 29 /// 30 /// [plugins] 31 /// libpyqcustomplot.so=true 32 /// 33 /// \par Example: Simple usage of QCustomPlot Python bindings. 34 /// \include pyplugin/qcustomplot_example_1.py 35 /// \sa See examples \ref pyplugin/qcustomplot_example_2.py 36 class Plugin : public QObject, public gepetto::gui::PluginInterface { 37  Q_OBJECT 38  Q_INTERFACES(gepetto::gui::PluginInterface) 39 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) 40  Q_PLUGIN_METADATA(IID "gepetto-viewer.pyqcustomplot") 41 #endif 42 43  public: 44  QString name() const { return QString("PyQCustomPlot"); } 45 46  /// Calls \ref registerQCustomPlot 47  void init(); 48 }; 49 /// \example pyplugin/qcustomplot_example_2.py 50 /// Advanced example usage of QCustomPlot Python bindings. 51 } // namespace PyQCustomPlot

 Generated by: GCOVR (Version 4.2)