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

Migrating to improved GUI framework #37

Closed
randrej opened this issue Apr 18, 2021 · 8 comments · Fixed by #122
Closed

Migrating to improved GUI framework #37

randrej opened this issue Apr 18, 2021 · 8 comments · Fixed by #122
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@randrej
Copy link
Contributor

randrej commented Apr 18, 2021

This may be an unpopular idea, and I'm fully aware why. I'm not even sure it does make sense at this point, but still, it's worth considering.

I saw that you considered migrating the project to PySimpleGUIQt. This does make sense, but that project is really in its infancy. Since the GUI part of this project isn't too complex, it would make sense to port the whole thing into raw PySide2.

The benefits?

It's a much more polished library, with fewer bugs, and is a thin layer over Qt which is pretty solid. If you decide to add some more advanced functionality to this program, it's going to be much easier to do in PySide2/Qt than in a PySimpleGUI derivative. It's not too much work to port the app (because it's small), and it's not much harder to use generally, while allowing for improved functionality.

Actual issues solved

Input field behavior on the current version (with PySimpleGUI) is abysmal: if you select text and paste, the selected text doesn't get overwritten. Ctrl + A doesn't work. All this works beautifully in PySide2.

@eeintech
Copy link
Contributor

Hey @randrej I'm definitely open to improve the GUI, I do agree there are gaps for a better user experience. I only picked PySimpleGUI because I wanted a quick and easy way to make a very simple UI, just didn't want to spend much time on that part. I have not heard of PySide2 but open to try it out!

@eeintech
Copy link
Contributor

I played a bit with PySide2 but not convinced it brings much to the table... the Ki-nTree GUI is quite simple.

@eeintech eeintech added the enhancement New feature or request label Oct 21, 2021
@eeintech
Copy link
Contributor

Closing for now. Can re-evaluate later if switch is necessary.

@eeintech eeintech reopened this Jan 6, 2023
@eeintech
Copy link
Contributor

eeintech commented Jan 6, 2023

I stumbled this awesome looking & simple Tkinter GUI wrapper: https://github.com/TomSchimansky/CustomTkinter

Looks super nice and modern, even on Linux 😃

image

I'm reopening this thread, I want to investigate switching to CustomTkinter for next major revision!

@eeintech eeintech changed the title Migrating to PySide2 or PyQT5? Migrating to improved GUI framework: PySide2, PyQT5, CustomTkinter? Jan 6, 2023
@42CrMo4
Copy link

42CrMo4 commented Jan 11, 2023

Hello @eeintech,
just wanted to mention two option you might want to take a look at. I do not have much experience with either of them but thought they might look interesting.
Both have a calculator App as a reference project, so that what i picked as the screenshot ;)

Textual is a TUI (Text User Interface) framework. The homepage link and github repo link .
Could be interesting because it is running in the terminal and has the ability to run remote over ssh.
grafik

and the Flet framework an python flutter alternative. The homepage link and github repo link.
grafik

@eeintech
Copy link
Contributor

Thanks @42CrMo4 for mentioning those two frameworks.

I think Textual is not well fitted for general use, as it needs to be ran inside a terminal.

Flet looks really cool 👍 I might give it a shot to compare it with CustomTkinter.

@eeintech
Copy link
Contributor

eeintech commented Jan 13, 2023

@42CrMo4 See below for Flet

image

image

image

image

image

@42CrMo4
Copy link

42CrMo4 commented Jan 14, 2023

@eeintech wow that was fast. looks good.

@eeintech eeintech changed the title Migrating to improved GUI framework: PySide2, PyQT5, CustomTkinter? Migrating to improved GUI framework Jan 17, 2023
@eeintech eeintech added this to the 1.0.0 milestone Feb 16, 2023
@eeintech eeintech mentioned this issue Feb 20, 2023
6 tasks
@eeintech eeintech self-assigned this Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants