-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Implement Drag-and-Drop Export Functionality in Avogadro #491
base: master
Are you sure you want to change the base?
Conversation
avogadro/mainwindow.cpp
Outdated
else | ||
openFile(fileName); | ||
} | ||
if (mimeData->hasUrls()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, that's okay if people drag a file to open (e.g., SDF) but it breaks drag-python-script to install: addScript(fileName)
above.
avogadro/mainwindow.cpp
Outdated
|
||
else if (mimeData->hasText()) { | ||
|
||
QString textData = mimeData->text(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only looks like it affects the "drop" part .. what's the drag-from portion?
Hi @ghutchis |
I've implemented a new set of changes wherever feasible and requested a review. Through these pull requests I have created recently , I've learned more about production-ready code than I have in two years of my engineering journey. I am sincerely grateful to @ghutchis for their guidance and support. Please review and provide any necessary feedback. Thank you!! |
Currently translated at 99.4% (166 of 167 strings) Translation: Avogadro/avogadroapp Translate-URL: https://hosted.weblate.org/projects/avogadro/avogadroapp/de/ Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
Fixes OpenChemistry#479 Signed-off-by: Geoff Hutchison <[email protected]> Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
Pull Request #365
Introducing a Streamlined Workflow Enhancement for Avogadro: Drag-and-Drop Export Functionality!
Say goodbye to the traditional, multi-step process of exporting your molecules for use in other applications. With this update, you can simply drag a molecule from the Avogadro interface directly into another application, such as a web browser for uploading to platforms like WebMO or CalcUS.
Key Features:
This feature supports exporting in two major formats:
By implementing this feature, we aim to enhance our molecular modeling experience with an intuitive, time-saving functionality that fits seamlessly into users’ workflows.
closes #365