Parent Previous Next

It appears that this property can be read to determine if the current editor window will accept objects dropped onto it.

For example Tw will accept images and place a LaTeX \includegraphics{real image path} in the document at the cursor.

This property is read only.

Qt   acceptDrops : bool

This property holds whether drop events are enabled for this widget.

Setting this property to true announces to the system that this widget may be able to accept drop events.

If the widget is the desktop (QWidget::(windowType() == Qt::Desktop)), this may fail if another application is using the desktop; you can call acceptDrops() to test if this occurs.

Warning: Do not modify this property in a Drag&Drop event handler.

Access functions:

bool acceptDrops () const

void setAcceptDrops ( bool on )


Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source