oss-slu / Mouser

GNU General Public License v3.0
1 stars 7 forks source link

Button rework started #245

Open NNewbauer opened 2 weeks ago

NNewbauer commented 2 weeks ago

Fixes # add number later

What was changed?

Created a new file that has classes for each button in order to navigate from each experiment easily.

UPDATE

Changed my goal, still a big UI update, but now buttons are bigger and easier to identify.

Why was it changed?

Reduce button clicks for super quick navigation for the scientists.

UPDATE

My original idea became more work than what it was worth. Circular imports became a huge issue and too much code had to be changed for an issue so small. Dr. Toth has mentioned bigger buttons (never mentioned easier nav buttons) so I went ahead and got that done instead.

How was it changed?

Each button is a class that imports what it needs from other files (Data Collection imports Data Exportation, Group Config., Map RFID, but does NOT import Data Collection). This seems like a bad idea in theory, however I did this to avoid circular imports.

UPDATE

Mainly just changed button dimensions, font sizes, and corresponding colors depending on the function of the button. Also resized data collection table. Many other small changes were made just to make things look and change smoother.

jackbelyeu commented 1 week ago

Fixes #246