43 #include "boost/shared_ptr.hpp"
62 QWidget* retval = NULL;
68 retval =
new DataSelectWidget(viewService, patientModelService, parent, dsda, gridLayout, row);
91 if (str->getAllowOnlyValuesInRange())
131 std::cout <<
"Failed to create Data Widget for " << (data ? data->getDisplayName() :
"NULL") << std::endl;
138 QHBoxLayout* topLayout =
new QHBoxLayout;
139 topLayout->setContentsMargins(1,0,0,0);
140 widget->setLayout(topLayout);
146 QHBoxLayout* hackLayout =
new QHBoxLayout;
147 hackLayout->setMargin(0);
148 hackLayout->setSpacing(0);
151 hackLayout->addWidget(first);
153 hackLayout->addWidget(second);
virtual GuiRepresentation getGuiRepresentation()
boost::shared_ptr< DoublePairPropertyBase > DoublePairPropertyBasePtr
QWidget * createDataWidget(ViewServicePtr viewService, PatientModelServicePtr patientModelService, QWidget *parent, PropertyPtr data, QGridLayout *gridLayout, int row)
Create a widget capable of displaying the input data.
Abstract interface for interaction with internal string-valued data.
boost::shared_ptr< class SelectDataStringPropertyBase > SelectDataStringPropertyBasePtr
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
boost::shared_ptr< class Property > PropertyPtr
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
cxLogicManager_EXPORT ViewServicePtr viewService()
boost::shared_ptr< class ColorPropertyBase > ColorPropertyBasePtr
Abstract interface for interaction with internal data structure: A pair of doubles.
boost::shared_ptr< class FilePathProperty > FilePathPropertyPtr