|
Isis 3 Programmer Reference
|
1 #include "SensorInfoWidget.h"
2 #include "ui_SensorInfoWidget.h"
7 #include "CameraDistortionMap.h"
36 if (displayName.contains(
"ISSNA")) {
38 image.load(
":cassini-iss-nac");
40 else if (displayName.contains(
"Metric")) {
41 image.load(
FileName(
"$ISISROOT/images/icons/nasa_apollo_metric_camera.png")
44 else if (displayName.contains(
"HiRISE")) {
46 image.load(
":hirise-camera");
49 m_ui->spacecraftlabel->setText(tr(
"Spacecraft: %1")
52 setMinimumWidth(
m_ui->tabWidget->minimumWidth()+20);
54 m_ui->targetImage->setPixmap(image);
56 setFrameStyle(QFrame::Panel | QFrame::Sunken);
59 m_ui->tabWidget->setCurrentIndex(0);
File name manipulation and expansion.
const GuiCameraDisplayProperties * displayProperties() const
Retrieves the display properties of the camera.
QString spacecraftNameLong()
Retrieves the full name of the spacecraft.
Container class for GuiCamera.
QString displayName() const
Returns the display name.
This is free and unencumbered software released into the public domain.