31 QValidator::State
validate(QString &input,
int &pos)
const;
44 QMap<QString, QStringList > p_map;
Definition BandSpinBox.h:23
void setBandBin(Pvl &pvl, const QString &key="BandNumber")
Sets the band bin.
Definition BandSpinBox.cpp:41
QSize sizeHint() const
returns a size hint for the spin box
Definition BandSpinBox.cpp:182
void setKey(QString key)
Sets the key to the provided key.
Definition BandSpinBox.cpp:101
QString textFromValue(int val) const
Gets the text using p_map.
Definition BandSpinBox.cpp:141
int valueFromText(const QString &text) const
gets the value (int) using p_map.
Definition BandSpinBox.cpp:165
BandSpinBox(QWidget *parent=0)
BandSpinBox constructor.
Definition BandSpinBox.cpp:21
QValidator::State validate(QString &input, int &pos) const
returns how valid the value from the spin box is.
Definition BandSpinBox.cpp:216
QStringList BandBinKeys()
returns the list of keys.
Definition BandSpinBox.cpp:90
Container for cube-like labels.
Definition Pvl.h:119
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16