23 QValidator::State
validate(QString &input,
int &pos)
const;
QValidator::State validate(QString &input, int &pos) const
returns how valid the value from the spin box is.
QStringList p_keys
List of all the keys.
void setKey(QString key)
Sets the key to the provided key.
QString textFromValue(int val) const
Gets the text using p_map.
void setBandBin(Pvl &pvl, const QString &key="BandNumber")
Sets the band bin.
int valueFromText(const QString &text) const
gets the value (int) using p_map.
QSize sizeHint() const
returns a size hint for the spin box
Container for cube-like labels.
BandSpinBox(QWidget *parent=0)
BandSpinBox constructor.
QString p_lastKey
The last key.
QStringList BandBinKeys()
returns the list of keys.
Namespace for ISIS/Bullet specific routines.
QMap< QString, QStringList > p_map
The maps the last key to all the keys.
int p_bands
Number of bands.