Solved is it possible to drag and drop without overriding the dropenterevent
-
since I use the QUiLoader().load to load the ui file. I CANT override the instance of widget.drag and drop function cant work. is it possible to work?or other way to drag and drop a treeview item to textedit to show the file content rather than the url of file path.
-
@pineapple said in is it possible to drag and drop without overriding the dropenterevent:
I CANT override the instance of widget
Can't you just use the promote feature to make the ui point to the overloaded class?
-
@VRonin I use python to program. can qt creator also edit by python? I Try before but I dont get acknowledge to C++ that I failed
-
a .ui file is just plan xml, python or C++ are irrelevant
-
@VRoninTHANKS! promote feature need to provide a head file which is edit by c++ in qt creator? I dont know how to make it
point to the overloaded class?