Home >
Mobile > QTreeView + QDirModel model selected drag and obtain the display content
QTreeView + QDirModel model selected drag and obtain the display content
, please, after QTreeView + QDirModel model selected, drag and drop, how to get after the drag and drop content?
QDirModel * m_pDirModel=new QDirModel (this);
QTreeView * m_pTreeView=new QTreeView (this);
M_pTreeView - & gt; SetModel (m_pDirModel);
Whether to rewrite QTreeView and add drag and drop events??????
Dear bosses, who knows how to do? Please help me with the younger brother, also thank in this!