- qtgui
- qtdbus
- qtwidgets
- qtcore
- dtkcore
- qsettingbackend_zh
- dobject_zh
- abstractappender_zh
- abstractstringappender_zh
- dfilewatcher_zh
- outputdebugappender_zh
- dsettingsbackend_zh
- drecentmanager_zh
- ddesktopentry_zh
- consoleappender_zh
- gsettingsbackend_zh
- dsettingsgroup_zh
- dlogmanager_zh
- fileappender_zh
- dsettings_zh
- dfilesystemwatcher_zh
- dfilewatchermanager_zh
- dbasefilewatcher_zh
- dtkgui
- dtkwidget
- dviewitemaction_zh
- dstandarditem_zh
- dfiledialog_zh
- dclipeffectwidget_zh
- danchors_zh
- dgraphicsclipeffect_zh
- dstyle_zh
- dcoloredprogressbar_zh
- dbuttonboxbutton_zh
- dlabel_zh
- dtiplabel_zh
- darrowlinedrawer_zh
- daboutdialog_zh
- dsettingswidgetfactory_zh
- dsearchcombobox_zh
- dcrumbedit_zh
- dcommandlinkbutton_zh
- dsettingsdialog_zh
- dwindowoptionbutton_zh
- dspinner_zh
- dsimplelistview_zh
- dwaterprogress_zh
- dmainwindow_zh
- dhidpihelper_zh
- dslider_zh
- dpasswordedit_zh
- danchorinfo_zh
- dmpriscontrol_zh
- darrowbutton_zh
- dbackgroundgroup_zh
- dcircleprogress_zh
- dwarningbutton_zh
- dwindowclosebutton_zh
- dvideowidget_zh
- dfilechooseredit_zh
- dblureffectwidget_zh
- darrowrectangle_zh
- dsearchedit_zh
- dfloatingmessage_zh
- dswitchlineexpand_zh
- dtabbar_zh
- dlineedit_zh
- danchorsbase_zh
- dstylediconengine_zh
- dwindowmaxbutton_zh
- dpageindicator_zh
- dsuggestbutton_zh
- dapplicationsettings_zh
- dtooltip_zh
- dwindowminbutton_zh
- ddrawer_zh
- dtitlebar_zh
- dsimplelistitem_zh
- dpicturesequenceview_zh
dfiledragclient_zh
Class::DFileDragClient
暂无该属性
Detailed Description
~chinese ~chinese
提供拖拽文件时与文件发送方交互的接口。
DFileDragClient::progress
int progress() const ~chinese
DFileDragClient::progress ~chinese Returns 返回当前拖拽的进度
DFileDragClient::state
DFileDragState state() const ~chinese
DFileDragClient::state ~chinese Returns 返回当前状态,见 DFileDragState
DFileDragClient::stateChanged
void stateChanged(DFileDragState state)
DFileDragClient::serverDestroyed
void serverDestroyed()
DFileDragClient::checkMimeData
bool checkMimeData(const QMimeData *data) ~chinese
~chinese data ~chinese Returns 包含 DND_MIME_PID 格式的数据时返回 true,否则返回 false ~chinese Note: 通常在接收拖放数据的应用的dropEvent(QDropEvent *event)函数中检测当前 event->mimeData() 是否是 DFileDrag
DFileDragClient::setTargetData
void setTargetData(const QMimeData *data, int key, int value) ~chinese
~chinese data 拖放时传入的data,用于获取和发送数据的应用dbus通讯需要的一些信息 ~chinese key ~chinese value ~chinese Note: 向文件发送方设置自定义数据
DFileDragClient::setTargetUrl
void setTargetUrl(const QMimeData *data, int url) ~chinese
~chinese data ~chinese url ~chinese Note: 告知文件发送方拖拽目标路径