hvaldecantos / pcer

A desktop application to run code comprehension experiments with eye tracking.
1 stars 0 forks source link

Add a config file #1

Closed hvaldecantos closed 5 years ago

hvaldecantos commented 5 years ago

For now, the config file will keep the dimension and position of the windows.

swan-klein commented 5 years ago

I made a change that saves the dimension and position of the code_viewer to a text file. I can easily do the same things to the other windows but since we don't track eyes for those, I don't think that is necessary.

hvaldecantos commented 5 years ago

Take a look at the PcerWindow class, a super class of all windows in the project. For now, I think we need only one size for all the windows. We can use a yaml (or similar) format, and the file should be in the root directory of the project.

swan-klein commented 5 years ago

A yaml file now contains dimensions for the CodeViewer class, it also sets them in the PcerWindow class even though none of the windows use the information from that class yet.

hvaldecantos commented 5 years ago

We need to add a section in the README file that explains the need of the config.yml file and the configuration parameters that it should contain.