Isis Developer Reference
|
Handles how control networks should be displayed to the user. More...
#include <CnetDisplayProperties.h>
Signals | |
void | composeProgressChanged (int) |
void | composeProgressRangeChanged (int, int) |
void | compositionFinished () |
Public Member Functions | |
virtual | ~CnetDisplayProperties () |
bool | currentlyComposing () const |
QList< QString > | getCubeList (ControlNet *cnet) const |
TODO comment me. | |
QString | getFileName (QString fileName, bool forceFullPaths=false) const |
QString | getImageName (QString cubeSerialNumber, bool forceFullPaths=false) const |
QString | getSerialNumber (QString imageId) |
bool | getShowsFullPaths () const |
void | setCubeList (QString fileName) |
void | setFileNameUsage (bool preferFileNames) |
void | setShowsFullPaths (bool newState) |
Static Public Member Functions | |
static CnetDisplayProperties * | getInstance () |
Handles how control networks should be displayed to the user.
This class handles how control networks should be displayed to the user. For example, this class keeps track of whether cube serial numbers or file names should be displayed to the user, and provides an interface to translate between the two.
This class is a singleton.
|
virtual |
|
signal |
|
signal |
|
signal |
bool Isis::CnetDisplayProperties::currentlyComposing | ( | ) | const |
Referenced by getCubeList().
QList< QString > Isis::CnetDisplayProperties::getCubeList | ( | ControlNet * | cnet | ) | const |
TODO comment me.
If a cube list is currently being loaded, this method will return an empty list. If there is no cube list, it will also return an empty list.
This method is thread safe.
References currentlyComposing(), and getImageName().
QString Isis::CnetDisplayProperties::getFileName | ( | QString | fileName, |
bool | forceFullPaths = false ) const |
References getShowsFullPaths().
Referenced by getImageName().
QString Isis::CnetDisplayProperties::getImageName | ( | QString | cubeSerialNumber, |
bool | forceFullPaths = false ) const |
cubeSerialNumber | Cube serial number as a QString |
This method is thread safe!
References getFileName().
Referenced by getCubeList().
|
static |
QString Isis::CnetDisplayProperties::getSerialNumber | ( | QString | imageId | ) |
bool Isis::CnetDisplayProperties::getShowsFullPaths | ( | ) | const |
Referenced by getFileName().
void Isis::CnetDisplayProperties::setCubeList | ( | QString | fileName | ) |
References _FILEINFO_, and Isis::IException::Programmer.
void Isis::CnetDisplayProperties::setFileNameUsage | ( | bool | preferFileNames | ) |
void Isis::CnetDisplayProperties::setShowsFullPaths | ( | bool | newState | ) |