#include <QmitkLevelWindowPresetDefinitionDialog.h>
|
| PresetTableModel (std::map< std::string, double > &levels, std::map< std::string, double > &windows, QObject *parent=nullptr) |
|
int | rowCount (const QModelIndex &) const override |
|
int | columnCount (const QModelIndex &) const override |
|
QVariant | data (const QModelIndex &index, int) const override |
|
QVariant | headerData (int section, Qt::Orientation orientation, int) const override |
|
void | addPreset (std::string &name, double level, double window) |
|
void | removePreset (const QModelIndex &) |
|
void | changePreset (int row, std::string &name, double level, double window) |
|
void | getLevels (std::map< std::string, double > &levels) |
|
void | getWindows (std::map< std::string, double > &windows) |
|
bool | contains (std::string &name) |
|
Entry | getPreset (const QModelIndex &) const |
|
◆ PresetTableModel()
QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::PresetTableModel |
( |
std::map< std::string, double > & |
levels, |
|
|
std::map< std::string, double > & |
windows, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
◆ addPreset()
void QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::addPreset |
( |
std::string & |
name, |
|
|
double |
level, |
|
|
double |
window |
|
) |
| |
◆ changePreset()
void QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::changePreset |
( |
int |
row, |
|
|
std::string & |
name, |
|
|
double |
level, |
|
|
double |
window |
|
) |
| |
◆ columnCount()
int QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::columnCount |
( |
const QModelIndex & |
| ) |
const |
|
override |
◆ contains()
bool QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::contains |
( |
std::string & |
name | ) |
|
◆ data()
QVariant QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
|
|
) |
| const |
|
override |
◆ getLevels()
void QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::getLevels |
( |
std::map< std::string, double > & |
levels | ) |
|
◆ getPreset()
Entry QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::getPreset |
( |
const QModelIndex & |
| ) |
const |
◆ getWindows()
void QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::getWindows |
( |
std::map< std::string, double > & |
windows | ) |
|
◆ headerData()
QVariant QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
|
|
) |
| const |
|
override |
◆ removePreset()
void QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::removePreset |
( |
const QModelIndex & |
| ) |
|
◆ rowCount()
int QmitkLevelWindowPresetDefinitionDialog::PresetTableModel::rowCount |
( |
const QModelIndex & |
| ) |
const |
|
override |
The documentation for this class was generated from the following file: