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

UI 3 #484

Merged
merged 107 commits into from Oct 16, 2022
Merged

UI 3 #484

merged 107 commits into from Oct 16, 2022

Conversation

sezanzeb
Copy link
Owner

@sezanzeb sezanzeb commented Oct 2, 2022

closes #473

will be GTK3 based, because I don't like the theming issues in libadwaita, and because I'd like to save time by continuing to use the GTK version we are using now

migrating to GTK4 might be interesting, because I think then the bottom corners will be rounded as well in gnome

@sezanzeb sezanzeb reopened this Oct 2, 2022
inputremapper/gui/components.py Outdated Show resolved Hide resolved

def _on_preset_changed(self, data: PresetData):
with HandlerDisabled(self._gui, self._on_gtk_select_preset):
self._gui.set_active_id(data.name)
self.show_active_preset(data.name)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mypy] reported by reviewdog 🐶
error: Argument 1 to "show_active_preset" of "PresetSelection" has incompatible type "Optional[str]"; expected "str"

@sezanzeb
Copy link
Owner Author

sezanzeb commented Oct 3, 2022

tests missing

@sezanzeb
Copy link
Owner Author

sezanzeb commented Oct 3, 2022

image

image

The preset-buttons on the second page may some day be extended with more information like mapping-count and modification-date.

The device and preset pages could support a search bar to filter them

image

image

@sezanzeb
Copy link
Owner Author

your new gui code is very nice to work with

@sezanzeb
Copy link
Owner Author

sezanzeb commented Oct 15, 2022

image

image

image

image

image

@sezanzeb
Copy link
Owner Author

@sezanzeb sezanzeb marked this pull request as ready for review October 15, 2022 11:23
inputremapper/gui/components/common.py Outdated Show resolved Hide resolved
inputremapper/gui/components/editor.py Outdated Show resolved Hide resolved
inputremapper/gui/components/editor.py Show resolved Hide resolved
@sezanzeb sezanzeb merged commit 71f8bf4 into beta Oct 16, 2022
@sezanzeb sezanzeb deleted the ui-3 branch October 23, 2022 19:30
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.

None yet

2 participants