#include <UnitsModel.hxx>
Inherits QAbstractListModel.
Definition at line 118 of file UnitsModel.hxx.
◆ UnitVec
◆ UnitsModel()
| UnitsModel::UnitsModel |
( |
| ) |
|
◆ data()
| QVariant UnitsModel::data |
( |
const QModelIndex & | index, |
|
|
int | role ) const |
|
override |
◆ doesWrap()
| bool UnitsModel::doesWrap |
( |
| ) |
const |
◆ isPrefix()
| bool UnitsModel::isPrefix |
( |
| ) |
const |
◆ isUnitInMode()
| bool UnitsModel::isUnitInMode |
( |
int | unit | ) |
const |
◆ maxTextForMetrics()
| QString UnitsModel::maxTextForMetrics |
( |
| ) |
const |
◆ maxValue()
| double UnitsModel::maxValue |
( |
| ) |
const |
◆ minValue()
| double UnitsModel::minValue |
( |
| ) |
const |
◆ mode()
◆ modeChanged
◆ numChoices()
| int UnitsModel::numChoices |
( |
| ) |
const |
◆ numDecimals()
| int UnitsModel::numDecimals |
( |
| ) |
const |
◆ roleNames()
| QHash< int, QByteArray > UnitsModel::roleNames |
( |
| ) |
const |
|
override |
◆ rowCount()
| int UnitsModel::rowCount |
( |
const QModelIndex & | parent | ) |
const |
|
override |
◆ selectedIndex()
| int UnitsModel::selectedIndex |
( |
| ) |
const |
|
inline |
◆ selectedUnit()
◆ selectionChanged
| void UnitsModel::selectionChanged |
( |
int | selectedIndex | ) |
|
|
signal |
◆ setMode
◆ setSelectedIndex
| void UnitsModel::setSelectedIndex |
( |
int | selectedIndex | ) |
|
|
slot |
◆ setSelectedUnit
| void UnitsModel::setSelectedUnit |
( |
int | u | ) |
|
|
slot |
◆ shortText()
| QString UnitsModel::shortText |
( |
| ) |
const |
◆ stepSize()
| double UnitsModel::stepSize |
( |
| ) |
const |
◆ validator()
| QValidator * UnitsModel::validator |
( |
| ) |
const |
◆ isPrefix
| bool UnitsModel::isPrefix |
|
read |
◆ maxTextForMetrics
| QString UnitsModel::maxTextForMetrics |
|
read |
◆ maxValue
| double UnitsModel::maxValue |
|
read |
◆ minValue
| double UnitsModel::minValue |
|
read |
◆ mode
◆ numChoices
| int UnitsModel::numChoices |
|
read |
◆ numDecimals
| int UnitsModel::numDecimals |
|
read |
◆ selectedIndex
| int UnitsModel::selectedIndex |
|
readwrite |
◆ selectedUnit
| int UnitsModel::selectedUnit |
|
readwrite |
◆ shortText
| QString UnitsModel::shortText |
|
read |
◆ stepSize
| double UnitsModel::stepSize |
|
read |
◆ validator
| QValidator* UnitsModel::validator |
|
read |
◆ wraps
The documentation for this class was generated from the following files: