|
Isis 3 Programmer Reference
|
31 QValidator::State
validate(QString &input,
int &pos)
const;
void setKey(QString key)
Sets the key to the provided key.
QStringList p_keys
List of all the keys.
Container for cube-like labels.
int valueFromText(const QString &text) const
gets the value (int) using p_map.
void setBandBin(Pvl &pvl, const QString &key="BandNumber")
Sets the band bin.
QString textFromValue(int val) const
Gets the text using p_map.
BandSpinBox(QWidget *parent=0)
BandSpinBox constructor.
QSize sizeHint() const
returns a size hint for the spin box
QMap< QString, QStringList > p_map
The maps the last key to all the keys.
QString p_lastKey
The last key.
int p_bands
Number of bands.
QValidator::State validate(QString &input, int &pos) const
returns how valid the value from the spin box is.
QStringList BandBinKeys()
returns the list of keys.
This is free and unencumbered software released into the public domain.