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

GUI - support multiple tree selections #600

Closed
shawnlaffan opened this issue May 31, 2016 · 2 comments
Closed

GUI - support multiple tree selections #600

shawnlaffan opened this issue May 31, 2016 · 2 comments
Assignees
Milestone

Comments

@shawnlaffan
Copy link
Owner

It would be useful for users to be able to click on branches in the trees to colour the cells, but where each click does not override the preceding colouring.

This will probably need a different selection mode, with the option to choose colours as the clicking progresses.

shawnlaffan added a commit that referenced this issue Sep 6, 2016
shawnlaffan added a commit that referenced this issue Sep 6, 2016
Some subs weren't being used, some of which had never been used
and which had equivalents that were in use.

Also add option for sequential colouring.  Does nothing
at the moment, hence the name.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 6, 2016
Internal names need to change, and the colours need to be
incremented to reduce user interaction (if not desired).

Also does not clean up after itself properly yet.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 6, 2016
Multi-select ignores the cluster numbers,
and normal select ignores the colour.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 6, 2016
Also add methods to get the colour palettes as Gtk2::Gdk::Color objects.

The increment process needs some thought yet,
as it currently resets to red if a colour from
outside the palette is used.

This will be simplified once we keep track of which nodes are which colour.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 6, 2016
This simplifies the code below.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 6, 2016
Now we cache by node name, with hash values being the refs.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 6, 2016
Also increment the colour when we switch and something
has been selected already.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 6, 2016
Uses a toggle button to do so.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 8, 2016
This allows us to reload from saved files.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 9, 2016
Still has debugging statements that will be
cleaned up in the next commit.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 9, 2016
This is at the cost of yet more flags.
This package is in much need of a refactor
and simplification.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 9, 2016
shawnlaffan added a commit that referenced this issue Sep 9, 2016
shawnlaffan added a commit that referenced this issue Sep 9, 2016
This is shown when hovering over a branch
and makes it more obvious that clearing will
occur on click.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 9, 2016
The system double triggers for some reason
that needs to be looked into.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 12, 2016
This is preparatory to undo/redo,
as well as being good hygiene.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 12, 2016
We also store the undone stack for a later redo option.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 12, 2016
Currently we reset the redo stack as soon as a branch
is coloured as multiple redo branches would be a nightmare.

Updates #600
@shawnlaffan shawnlaffan self-assigned this Sep 12, 2016
@shawnlaffan shawnlaffan added this to the Release_2.0 milestone Sep 12, 2016
shawnlaffan added a commit that referenced this issue Sep 12, 2016
This was the user is prompted to save the changes,
and thus the selections.

Updates #600
shawnlaffan added a commit that referenced this issue Sep 12, 2016
shawnlaffan added a commit that referenced this issue Sep 12, 2016
shawnlaffan added a commit that referenced this issue Sep 12, 2016
Sequential was a place holder.

Updates #600
@shawnlaffan
Copy link
Owner Author

shawnlaffan commented Sep 13, 2016

To do:

  • Optionally turn off autoincrement. (Done in 94b0984 )

shawnlaffan added a commit that referenced this issue Sep 13, 2016
@shawnlaffan
Copy link
Owner Author

Mark as fixed.
Further changes can be listed under their own issues and cross-reference this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant