-
Notifications
You must be signed in to change notification settings - Fork 34
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 refactor #102
Gui refactor #102
Conversation
ability to add buttons and images (todo static text, combo and input boxes)
todo: resize / move assets
TODO: cleanup interface and test all features
Add fonts and update add_text method, add alert boxes, add AlertMessageType and AlertResponse, connect actions to comboboxes. Update RSVPKeyboard to use new methods
""" | ||
saved_users = [] | ||
data_save_loc = self.parameters['data_save_loc'] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized that the parameter_location gets updated, but the parameters never get reloaded, so this will always be the data_save_loc from the default parameters. I can fix that after this is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a bug ticket for this! https://www.pivotaltracker.com/story/show/175541919
Overview
Refactored base GUI to use PyQT5 instead of WxPython. This required
gui_main
,BCInterface
andRSVPKeyboard
to be redone.Ticket
https://www.pivotaltracker.com/story/show/175194654
Contributions
gui_main
. I kept many of the same methods and updated them to use PyQt5 functionality. I added more default methods (ex.build_assests
) and abstractions (AlertResponse
,AlertMessageType
) to help isolate the downstream GUIS from the knowledge of PyQT5.RSVPKeyboard
andBCInterface
to use new base class and methods (build_*
)Test
python bcipy/gui/gui_main.py
python bcipy/gui/BCInterface.py
. Select RSVP.python bcipy/gui/mode/RSVPKeyboard.py
. Input a user_id, run a task. Edit and load parameters.Documentaion