##// END OF EJS Templates
Widget of the tab widget are now of type VisualizationTabWidget...
Widget of the tab widget are now of type VisualizationTabWidget Add addTabView and removeTabView lambda method connecter to their correspondant button in the VisuaizationWidget

File last commit:

r53:289a78f309b1
r88:a08c6215b1ad
Show More
SqpApplication.h
46 lines | 1.4 KiB | text/x-c | CLexer
Initialisation de l'application multithread avec le spimpl....
r21 #ifndef SCIQLOP_SQPAPPLICATION_H
#define SCIQLOP_SQPAPPLICATION_H
#include "SqpApplication.h"
#include <QApplication>
#include <QLoggingCategory>
#include <Common/spimpl.h>
Q_DECLARE_LOGGING_CATEGORY(LOG_SqpApplication)
Alexandre Leroux
Define macro for accessing to QcpApplication instance
r34 #if defined(sqpApp)
#undef sqpApp
#endif
#define sqpApp (static_cast<SqpApplication *>(QCoreApplication::instance()))
Alexandre Leroux
Add access to DataSourceController from SqpApplication
r33 class DataSourceController;
Add the visualization controller
r53 class VisualizationController;
Alexandre Leroux
Add access to DataSourceController from SqpApplication
r33
Initialisation de l'application multithread avec le spimpl....
r21 /**
* @brief The SqpApplication class aims to make the link between SciQlop
Alexandre Leroux
Minor fixes...
r32 * and its plugins. This is the intermediate class that SciQlop has to use
* in the way to connect a data source. Please first use load method to initialize
Initialisation de l'application multithread avec le spimpl....
r21 * a plugin specified by its metadata name (JSON plugin source) then others specifics
Alexandre Leroux
Minor fixes...
r32 * method will be able to access it.
Initialisation de l'application multithread avec le spimpl....
r21 * You can load a data source driver plugin then create a data source.
*/
Ajout des règles vera++
r24
Initialisation de l'application multithread avec le spimpl....
r21 class SqpApplication : public QApplication {
Q_OBJECT
public:
explicit SqpApplication(int &argc, char **argv);
virtual ~SqpApplication();
void initialize();
Add the visualization controller
r53 /// Accessors for the differents sciqlop controllers
Alexandre Leroux
Add access to DataSourceController from SqpApplication
r33 DataSourceController &dataSourceController() const noexcept;
Add the visualization controller
r53 VisualizationController &visualizationController() const noexcept;
Alexandre Leroux
Add access to DataSourceController from SqpApplication
r33
Initialisation de l'application multithread avec le spimpl....
r21 private:
class SqpApplicationPrivate;
spimpl::unique_impl_ptr<SqpApplicationPrivate> impl;
};
#endif // SCIQLOP_SQPAPPLICATION_H