35 #include <QPushButton>
48 InfoWidget(parent,
"VolumeInfoWidget",
"Volume Info"),
49 mPatientModelService(patientModelService),
50 mActiveData(patientModelService->getActiveData())
52 this->setToolTip(
"Display volume info");
66 void VolumeInfoWidget::addWidgets()
87 mParentFrameAdapter->setData(image);
88 mNameAdapter->setData(image);
89 mUidAdapter->setData(image);
90 mModalityAdapter->setData(image);
91 mImageTypeAdapter->setData(image);
std::map< std::string, std::string > getDisplayFriendlyInfo(MeshPtr mesh)
static StringPropertyParentFramePtr New(PatientModelServicePtr patientModelService)
static StringPropertyDataModalityPtr New(PatientModelServicePtr patientModelService)
boost::shared_ptr< class Image > ImagePtr
static StringPropertyDataUidEditablePtr New()
static StringPropertyImageTypePtr New(PatientModelServicePtr patientModelService)
static StringPropertyDataNameEditablePtr New()
static ActiveImageProxyPtr New(ActiveDataPtr activeData)
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
void activeImageChanged(const QString &uid)
The original image changed signal from DataManager.