Skip to content
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

export (all) macro(s) by popup menu #3451

Closed
wants to merge 3 commits into from

Conversation

octaeder
Copy link
Contributor

This PR adds a popup menu to the Export button of the Edit Macros dialog. This allows the user to choose whether to export current or all macros.

grafik

So there is no need to know where txs stores the macros internally.

@sunderme
Copy link
Member

the usual gui element for this kind of things is a combobox (see sections/labeles etc. in the default toolbar).
Main advantage: single click for normal export, can be changed to export all.

@octaeder
Copy link
Contributor Author

octaeder commented Dec 28, 2023

@sunderme look here (Edit):

exportMacro(animation with 4 images)

  • You can click on the button showing Export by default and the dialog asking for the target path+name opens.
  • Clicking on the arrow also allows to choose Export all and the dialog asking for the target directory opens.
  • The toolbutton shows the last action selected.
  • Moving the toolbar to the left not only gives a better look, also buttons Browse and Import are now next to each other. This seems to be reasonable since they do basically the same (import).

Maybe interchange Browse and Import?

@sunderme
Copy link
Member

i have taken your code and implemented it with an apropriate toolbutton on dev

@octaeder octaeder closed this Dec 29, 2023
@octaeder octaeder deleted the exportMacros branch December 29, 2023 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants