tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

Add button dropdown #109

Closed bibimbop closed 11 years ago

bibimbop commented 11 years ago

In the Find tab, it might be more accessible to have a drop-down menu with the set of button from the extra directory. Selecting a set will load the buttons, instead of using the "load button" function in the file directory and navigate the filesystem to find the right file.

tallforasmurf commented 11 years ago

I do not want to add a widget to the Find panel in any case. And this would have to be a dynamically-populated pop-up that runs out to get a current list of files from the extras folder whenever it is clicked. Plus, extras has other things in it than find buttons, and it's not obvious how to populate a pop-up with only the button files. Plus, the overall design is that users can develop new sets of buttons, for example sets of buttons that are unique to one book, which you would save other places, like the book folder.

However, the extras folder ought the default starting folder for the select-a-file dialog -- instead of the current directory which is the default now. So as soon as you select File > Load Find Buttons, you are looking at the list of files in the extras folder.

Also, both File > Open/Save and File > Load/Save Find Buttons should (independently) save the folder path the user last chose, and make that the default for the next command. File > Open does that (I think) but File > Load Find Buttons should do it independently. So wherever you load find buttons from, that is the starting point for a save or the next load.

This would make it more convenient and intuitive for the common use case of "load the next set of canned buttons in the work flow".