-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop file on support #74
Comments
Really nice idea actually. Looks like there is a dropped event in PyQt. So we could implement something like this: http://stackoverflow.com/questions/4151637/pyqt4-drag-and-drop-files-into-qlistwidget Where we take the file path, check it exists and then open a new tab with the file on it. |
For bonus points: implement drag-and-drop for the file pane (i.e. from the OS file manager to the project folder or the device) |
Played a bit and it seems quite doable, just got to get my head around how the relationship between More to play with! |
OK... there's a way in Qt to register event handlers with events (signals) emitted by a widget. The Does this make sense? |
That makes sense |
One was a pain to write but I weirdly enjoyed writing the tests for this |
WRT Travis... pyflakes is complaining that an import is unused... I'll fix this up as part of the review. @ZanderBrown heh... writing tests can be plenty of fun. ;-) |
Better late than never... many thanks to @ZanderBrown for the work! :-) |
It would be great to be able to simply drop a .py file onto the application in the menu bar. Although not a majorly important feature, it would be great to see it there. Have had a few times so far where I have gone to drop a script on it and then remembered I can't just yet.
The text was updated successfully, but these errors were encountered: