Isis Developer Reference
Isis::CnetDisplayProperties Class Reference

Handles how control networks should be displayed to the user. More...

#include <CnetDisplayProperties.h>

Inheritance diagram for Isis::CnetDisplayProperties:
Inheritance graph
Collaboration diagram for Isis::CnetDisplayProperties:
Collaboration graph

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 CnetDisplayPropertiesgetInstance ()
 

Detailed Description

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.

Author
????-??-?? Eric Hyer

Constructor & Destructor Documentation

◆ ~CnetDisplayProperties()

Isis::CnetDisplayProperties::~CnetDisplayProperties ( )
virtual

Member Function Documentation

◆ composeProgressChanged

void Isis::CnetDisplayProperties::composeProgressChanged ( int )
signal

◆ composeProgressRangeChanged

void Isis::CnetDisplayProperties::composeProgressRangeChanged ( int ,
int  )
signal

◆ compositionFinished

void Isis::CnetDisplayProperties::compositionFinished ( )
signal

◆ currentlyComposing()

bool Isis::CnetDisplayProperties::currentlyComposing ( ) const

Referenced by getCubeList().

◆ 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().

◆ getFileName()

QString Isis::CnetDisplayProperties::getFileName ( QString fileName,
bool forceFullPaths = false ) const

References getShowsFullPaths().

Referenced by getImageName().

◆ getImageName()

QString Isis::CnetDisplayProperties::getImageName ( QString cubeSerialNumber,
bool forceFullPaths = false ) const
Parameters
cubeSerialNumberCube serial number as a QString
Returns
The file name associated with the given cube serial number, or the given cube serial number if a file name can not be found in the current cube list.
See also
setCubeList()

This method is thread safe!

References getFileName().

Referenced by getCubeList().

◆ getInstance()

◆ getSerialNumber()

QString Isis::CnetDisplayProperties::getSerialNumber ( QString imageId)

◆ getShowsFullPaths()

bool Isis::CnetDisplayProperties::getShowsFullPaths ( ) const

Referenced by getFileName().

◆ setCubeList()

void Isis::CnetDisplayProperties::setCubeList ( QString fileName)

◆ setFileNameUsage()

void Isis::CnetDisplayProperties::setFileNameUsage ( bool preferFileNames)

◆ setShowsFullPaths()

void Isis::CnetDisplayProperties::setShowsFullPaths ( bool newState)

The documentation for this class was generated from the following files: