MPSolve 3.2.1
Loading...
Searching...
No Matches
mainqmlview.h
1#ifndef XMPSOLVE_MAINQMLVIEW_H
2#define XMPSOLVE_MAINQMLVIEW_H
3
4#include <QtQml/QQmlApplicationEngine>
5#include <QQmlContext>
6#include "rootsmodel.h"
7#include "rootsrenderer.h"
8#include "polynomialsolver.h"
9
10namespace xmpsolve {
11
12class MainQmlView : public QQmlApplicationEngine
13{
14 Q_OBJECT
15public:
16 explicit MainQmlView();
17
18private:
23 RootsModel *m_model;
24
29 PolynomialSolver m_solver;
30
38 QQmlContext *m_rootContext;
39
44 void inflateObjects();
45
46 void loadTypes();
47
48signals:
49
50public slots:
51
52};
53
54} // namespace xmpsolve
55
56#endif // XMPSOLVE_MAINQMLVIEW_H
Definition: mainqmlview.h:13
The PolynomialSolver class aims to solve a polynomial given its coefficients or the content of the li...
Definition: polynomialsolver.h:22
Definition: rootsmodel.h:10