22 #include "boost/shared_ptr.hpp"
43 QWidget* retval = NULL;
49 retval =
new DataSelectWidget(viewService, patientModelService, parent, dsda, gridLayout, row);
72 if (str->getAllowOnlyValuesInRange())
118 std::cout <<
"Failed to create Data Widget for " << (data ? data->getDisplayName() :
"NULL") << std::endl;
125 QHBoxLayout* topLayout =
new QHBoxLayout;
126 topLayout->setContentsMargins(1,0,0,0);
127 widget->setLayout(topLayout);
133 QHBoxLayout* hackLayout =
new QHBoxLayout;
134 hackLayout->setMargin(0);
135 hackLayout->setSpacing(0);
138 hackLayout->addWidget(first);
140 hackLayout->addWidget(second);