MPSolve 3.2.1
Loading...
Searching...
No Matches
xmpsolve::RootsModel Class Reference
Inheritance diagram for xmpsolve::RootsModel:

Public Types

enum  Roles {
  RADIUS = Qt::UserRole + 1 , STATUS , SHORT_APPROXIMATION , ROOT ,
  MARKED
}
 

Public Member Functions

 RootsModel (QObject *parent=0)
 
Q_INVOKABLE int rowCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
QHash< int, QByteArray > roleNames () const
 
void setRoots (QList< Root * > roots)
 
Q_INVOKABLE void markRoot (int i=-1)
 markRoot can be used to highlight an approximation. More...
 
double getPointX (int i)
 
double getPointY (int i)
 

Member Function Documentation

◆ markRoot()

void xmpsolve::RootsModel::markRoot ( int  i = -1)

markRoot can be used to highlight an approximation.

Parameters
iis the root to highlight, or -1 to clear any previous highlighting.

The documentation for this class was generated from the following files: