##// END OF EJS Templates
Removed interaction handling in QCP since they are implemented in...
Removed interaction handling in QCP since they are implemented in SciQLop Before the wheel interaction was done multiple times on QCP side first then on SciQLop side. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1348:ea7d1a66f4ab
r1358:48660d9880a2
Show More
SqpApplication.h
76 lines | 2.6 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;
Intialization of network controller
r339 class NetworkController;
Time widget is now used with the variable createion request
r193 class TimeController;
Alexandre Leroux
Inits variable controller and adds it to the SciQlop app
r111 class VariableController;
All the codebase is modified to build with new Variable Controller...
r1348 class VariableController2;
class VariableModel2;
Add the visualization controller
r53 class VisualizationController;
Rename "DragDropHelper" in "DragDropGuiController"
r1075 class DragDropGuiController;
Adds a a gui controller class to manage global actions across the application.
r1076 class ActionsGuiController;
Add catalogue controller to SqpApplication
r1144 class CatalogueController;
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);
All the codebase is modified to build with new Variable Controller...
r1348 ~SqpApplication() override;
Initialisation de l'application multithread avec le spimpl....
r21 void initialize();
Add the visualization controller
r53 /// Accessors for the differents sciqlop controllers
Alexandre Leroux
Make access to controllers non-const (maybe the controller will be modified)
r116 DataSourceController &dataSourceController() noexcept;
Intialization of network controller
r339 NetworkController &networkController() noexcept;
Time widget is now used with the variable createion request
r193 TimeController &timeController() noexcept;
All the codebase is modified to build with new Variable Controller...
r1348 VariableController2 &variableController() noexcept;
std::shared_ptr<VariableController2> variableControllerOwner() noexcept;
//@TODO there should not be any global model it's just GUI impl detail
// VariableModel2 &variableModel() noexcept;
Alexandre Leroux
Make access to controllers non-const (maybe the controller will be modified)
r116 VisualizationController &visualizationController() noexcept;
Add catalogue controller to SqpApplication
r1144 CatalogueController &catalogueController() noexcept;
Alexandre Leroux
Add access to DataSourceController from SqpApplication
r33
drop of variables in the visualization
r850 /// Accessors for the differents sciqlop helpers, these helpers classes are like controllers but
/// doesn't live in a thread and access gui
Rename "DragDropHelper" in "DragDropGuiController"
r1075 DragDropGuiController &dragDropGuiController() noexcept;
Adds a a gui controller class to manage global actions across the application.
r1076 ActionsGuiController &actionsGuiController() noexcept;
New helper class for the drag&drop
r837
Toolbar for interactions modes
r957 enum class PlotsInteractionMode { None, ZoomBox, DragAndDrop, SelectionZones };
enum class PlotsCursorMode { NoCursor, Vertical, Temporal, Horizontal, Cross };
PlotsInteractionMode plotsInteractionMode() const;
void setPlotsInteractionMode(PlotsInteractionMode mode);
PlotsCursorMode plotsCursorMode() const;
void setPlotsCursorMode(PlotsCursorMode mode);
Initialisation de l'application multithread avec le spimpl....
r21 private:
class SqpApplicationPrivate;
spimpl::unique_impl_ptr<SqpApplicationPrivate> impl;
};
#endif // SCIQLOP_SQPAPPLICATION_H