GlueItemWidget¶
-
class
glue.utils.qt.
GlueItemWidget
(parent=None)[source]¶ Bases:
object
A mixin for QtGui.QListWidget/GlueTreeWidget subclasses, that provides drag+drop funtionality.
Attributes Summary
SUPPORTED_MIME_TYPE
data
Methods Summary
drop_data
(item)get_data
(item)Convenience method to fetch the data associated with a QxxWidgetItem
.mimeData
(selected_items)Return a list of MIME data associated with the each selected item. mimeTypes
()Return the list of MIME Types supported for this object. set_data
(item, data)Convenience method to set data associated with a QxxWidgetItem
.Attributes Documentation
-
SUPPORTED_MIME_TYPE
= None¶
-
data
¶
Methods Documentation
-