#include <BandSpinBox.h>
|
void | setKey (QString key) |
| Sets the key to the provided key.
|
|
void | setKey (int key) |
| Sets the key to the provided key.
|
|
|
QString | textFromValue (int val) const |
| Gets the text using p_map.
|
|
int | valueFromText (const QString &text) const |
| gets the value (int) using p_map.
|
|
◆ BandSpinBox()
Isis::BandSpinBox::BandSpinBox |
( |
QWidget * | parent = 0 | ) |
|
◆ BandBinKeys()
returns the list of keys.
- Returns
- QStringList
◆ setBandBin()
void Isis::BandSpinBox::setBandBin |
( |
Pvl & | pvl, |
|
|
const QString & | key = "BandNumber" ) |
Sets the band bin.
- Parameters
-
References setKey().
◆ setKey [1/2]
void Isis::BandSpinBox::setKey |
( |
int | key | ) |
|
|
slot |
◆ setKey [2/2]
void Isis::BandSpinBox::setKey |
( |
QString | key | ) |
|
|
slot |
◆ sizeHint()
QSize Isis::BandSpinBox::sizeHint |
( |
| ) |
const |
returns a size hint for the spin box
- Returns
- QSize
References textFromValue().
◆ textFromValue()
QString Isis::BandSpinBox::textFromValue |
( |
int | val | ) |
const |
|
protected |
Gets the text using p_map.
- Parameters
-
- Returns
- QString
Referenced by sizeHint().
◆ validate()
QValidator::State Isis::BandSpinBox::validate |
( |
QString & | input, |
|
|
int & | pos ) const |
returns how valid the value from the spin box is.
- Parameters
-
- Returns
- QValidator::State
◆ valueFromText()
int Isis::BandSpinBox::valueFromText |
( |
const QString & | text | ) |
const |
|
protected |
gets the value (int) using p_map.
- Parameters
-
- Returns
- int
The documentation for this class was generated from the following files:
- /Users/chkim/repos/ISIS3/isis/src/qisis/objs/BandSpinBox/BandSpinBox.h
- /Users/chkim/repos/ISIS3/isis/src/qisis/objs/BandSpinBox/BandSpinBox.cpp