|
MPSolve 3.2.2
|
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. | |
| double | getPointX (int i) |
| double | getPointY (int i) |
| void xmpsolve::RootsModel::markRoot | ( | int | i = -1 | ) |
markRoot can be used to highlight an approximation.
| i | is the root to highlight, or -1 to clear any previous highlighting. |