#include <Tank.h>
◆ LabelPosition
◆ Style
Enumerator |
---|
VerticalCylinder | |
HorizontalCylinder | |
Cuboid | |
◆ Tank()
Tank::Tank |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~Tank()
◆ addMedium()
◆ clearMedia()
void Tank::clearMedia |
( |
| ) |
|
◆ event()
bool Tank::event |
( |
QEvent * |
event | ) |
|
|
overrideprivate |
◆ getBackgroundColor()
QColor Tank::getBackgroundColor |
( |
| ) |
const |
◆ getCapHeight()
int Tank::getCapHeight |
( |
| ) |
const |
◆ getLabelPosition()
◆ getLabelWidth()
int Tank::getLabelWidth |
( |
| ) |
const |
◆ getLevelDecimals()
int Tank::getLevelDecimals |
( |
| ) |
const |
◆ getLevelSuffix()
QString Tank::getLevelSuffix |
( |
| ) |
const |
◆ getMaxLevel()
double Tank::getMaxLevel |
( |
| ) |
const |
◆ getMaxVolume()
double Tank::getMaxVolume |
( |
| ) |
const |
◆ getStyle()
◆ getVolumeDecimals()
int Tank::getVolumeDecimals |
( |
| ) |
const |
◆ getVolumeSuffix()
QString Tank::getVolumeSuffix |
( |
| ) |
const |
◆ paintEvent()
void Tank::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprivate |
◆ resetBackgroundColor()
void Tank::resetBackgroundColor |
( |
| ) |
|
◆ resetCapHeight()
void Tank::resetCapHeight |
( |
| ) |
|
◆ resetLabelPosition()
void Tank::resetLabelPosition |
( |
| ) |
|
◆ resetLabelWidth()
void Tank::resetLabelWidth |
( |
| ) |
|
◆ resetLevelDecimals()
void Tank::resetLevelDecimals |
( |
| ) |
|
◆ resetLevelSuffix()
void Tank::resetLevelSuffix |
( |
| ) |
|
◆ resetMaxLevel()
void Tank::resetMaxLevel |
( |
| ) |
|
◆ resetMaxVolume()
void Tank::resetMaxVolume |
( |
| ) |
|
◆ resetStyle()
void Tank::resetStyle |
( |
| ) |
|
◆ resetVolumeDecimals()
void Tank::resetVolumeDecimals |
( |
| ) |
|
◆ resetVolumeSuffix()
void Tank::resetVolumeSuffix |
( |
| ) |
|
◆ resizeEvent()
void Tank::resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
overrideprivate |
◆ setBackgroundColor()
void Tank::setBackgroundColor |
( |
QColor |
c | ) |
|
◆ setCapHeight()
void Tank::setCapHeight |
( |
int |
height | ) |
|
◆ setLabelPosition()
◆ setLabelWidth()
void Tank::setLabelWidth |
( |
int |
width | ) |
|
◆ setLevelDecimals()
void Tank::setLevelDecimals |
( |
int |
d | ) |
|
◆ setLevelSuffix()
void Tank::setLevelSuffix |
( |
const QString & |
str | ) |
|
◆ setMaxLevel()
void Tank::setMaxLevel |
( |
double |
level | ) |
|
◆ setMaxVolume()
void Tank::setMaxVolume |
( |
double |
vol | ) |
|
◆ setStyle()
void Tank::setStyle |
( |
Style |
s | ) |
|
◆ setVolumeDecimals()
void Tank::setVolumeDecimals |
( |
int |
d | ) |
|
◆ setVolumeSuffix()
void Tank::setVolumeSuffix |
( |
const QString & |
str | ) |
|
◆ sizeHint()
QSize Tank::sizeHint |
( |
| ) |
const |
◆ TankMedium
◆ Impl
◆ impl
std::unique_ptr<Impl> Pd::Tank::impl |
|
private |
Referenced by addMedium(), clearMedia(), getBackgroundColor(), getCapHeight(), getLabelPosition(), getLabelWidth(), getLevelDecimals(), getLevelSuffix(), getMaxLevel(), getMaxVolume(), getStyle(), getVolumeDecimals(), getVolumeSuffix(), Pd::TankMedium::Impl::Value::newValues(), paintEvent(), resizeEvent(), setBackgroundColor(), setCapHeight(), setLabelPosition(), setLabelWidth(), setLevelDecimals(), setLevelSuffix(), setMaxLevel(), setMaxVolume(), setStyle(), setVolumeDecimals(), setVolumeSuffix(), and sizeHint().
◆ backgroundColor
QColor Pd::Tank::backgroundColor |
|
readwrite |
◆ capHeight
◆ labelPosition
◆ labelWidth
◆ levelDecimals
int Pd::Tank::levelDecimals |
|
readwrite |
◆ levelSuffix
QString Pd::Tank::levelSuffix |
|
readwrite |
◆ maxLevel
double Pd::Tank::maxLevel |
|
readwrite |
◆ maxVolume
double Pd::Tank::maxVolume |
|
readwrite |
◆ style
◆ volumeDecimals
int Pd::Tank::volumeDecimals |
|
readwrite |
◆ volumeSuffix
QString Pd::Tank::volumeSuffix |
|
readwrite |
The documentation for this class was generated from the following files: