| 1131 | |
| 1132 | |
| 1133 | class EditorAttributeInputBase64Image(EditorAttributeInputUrl): |
| 1134 | def __init__(self, widget, attributeName, propertyDef, attributeDict, appInstance, *args, **kwargs): |
| 1135 | super(EditorAttributeInputBase64Image, self).__init__( |
| 1136 | widget, attributeName, propertyDef, attributeDict, appInstance, *args, **kwargs) |
| 1137 | |
| 1138 | def file_dialog_confirmed(self, widget, fileList): |
| 1139 | if len(fileList) > 0: |
| 1140 | self.inputWidget.set_value(gui.load_resource(fileList[0])) |
| 1141 | return self.on_attribute_changed(None, self.inputWidget.get_value()) |
| 1142 | |
| 1143 | |
| 1144 | class EditorAttributeInputFile(EditorAttributeInputUrl): |