Skip to content

FiltersDialog now uses a color picker for color selection - #194

Open
safield wants to merge 1 commit into
nickbnf:masterfrom
safield:master
Open

FiltersDialog now uses a color picker for color selection#194
safield wants to merge 1 commit into
nickbnf:masterfrom
safield:master

Conversation

@safield

@safield safield commented Dec 24, 2017

Copy link
Copy Markdown

-FiltersDialog no longer uses a drop down box of predefined SVG color strings. In place it uses two push buttons that launch a QColorDialog. This allows for custom color specification.

-refactored Filter class to use QColor for its fore and back colors, instead of the old approach which uses strings. This reduces coupling with UI.

-incrememnted FilterSet::FILTERSET_VERSION to 2, since Filters now store custom colors. These colors are saved in config as hex strings. BACKWARDS COMPATIBILITY IS MAINTAINED WITH VERSION 1 CONFIG FILES. (made the assumption that backwards compatibility should always be maintained.)

-FiltersDialog no long uses a drop down box of predefined SVG color strings. In place it uses two push buttons that launch a QColorDialog. This allows custom color specification.

-refactored Filter class to QColor for its fore and back colors, instead of the old approach which uses strings. 

-incrememnted FilterSet::FILTERSET_VERSION to 2, since Filters noW store custom colors. These colors are saved in config as hex strings. BACKWARDS COMPATIBILITY IS MAINTAINED WITH VERSION 1 CONFIG FILES.
@safield

safield commented Dec 25, 2017

Copy link
Copy Markdown
Author

I believe the travis-ci clang build is broken, unrelated to this commit.

@variar

variar commented Dec 25, 2017

Copy link
Copy Markdown
Contributor

Qt in brew has been updated to 5.10. Seems like this version does not support macos 10.7. Changing to 10.8 in glogg.pro should fix ci build.

@safield

safield commented Dec 25, 2017

Copy link
Copy Markdown
Author

Should that be fixed in the mainline, then I pull in the commit to my fork, then resubmit pull request?

Are pull requests ever accepted with failed continuous integration builds?

@variar

variar commented Dec 25, 2017

Copy link
Copy Markdown
Contributor

I've created PR #202 to address ci issue

@safield

safield commented Nov 22, 2018

Copy link
Copy Markdown
Author

Has this pull request not been accepted because the design direction is not desirable, or because the code implementation is not of a high enough quality?

Or is it just a matter of free time to review it?

I would be willing to address the issues, if there were some.

variar added a commit to variar/klogg that referenced this pull request Jan 30, 2019
danberindei pushed a commit to danberindei/glogg that referenced this pull request Apr 21, 2021
@nekromoff

Copy link
Copy Markdown

Implemented in: https://github.com/nekromoff/neoglogg

1 similar comment
@nekromoff

Copy link
Copy Markdown

Implemented in: https://github.com/nekromoff/neoglogg

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.

3 participants