:param parent: parent widget. :param target: driver object to connect. :param feat: Feat to connect.
(cls, parent, target, feat)
| 294 | """ |
| 295 | |
| 296 | def __new__(cls, parent, target, feat): |
| 297 | """ |
| 298 | :param parent: parent widget. |
| 299 | :param target: driver object to connect. |
| 300 | :param feat: Feat to connect. |
| 301 | """ |
| 302 | widget = WidgetMixin.from_feat(feat, parent) |
| 303 | widget.bind_feat(feat) |
| 304 | widget.lanz_target = target |
| 305 | return widget |
| 306 | |
| 307 | |
| 308 | class DictFeatWidget(QtGui.QWidget): |