Wykres commitów

448 Commity (223e7e2c357d250113afaba630ddd5257a20bff5)

Autor SHA1 Wiadomość Data
nyanpasu64 bbdf79ffe5 Terminate ffmpeg/ffplay when cancelling GUI ovgen 2018-12-18 20:53:23 -08:00
nyanpasu64 4d115eb02a reformat 2018-12-18 20:53:23 -08:00
nyanpasu64 1b63f66d47 Add Ovgen progress callbacks, switch to Arguments parameter 2018-12-18 20:53:23 -08:00
nyanpasu64 85caa921ec Fix GUI when cfg.render.line_width missing 2018-12-18 20:53:23 -08:00
nyanpasu64 7797929338 Cleanup ffplay logs, disable ffmpeg printouts 2018-12-18 20:53:23 -08:00
nyanpasu64 207b8815c5 Print widget at fault, when GUI binding error occurs 2018-12-18 20:53:23 -08:00
nyanpasu64 c5ae077ea5 [wip] Bind render action (but no status/cancel) 2018-12-18 20:53:23 -08:00
nyanpasu64 565ea2f24c Add keyboard shortcuts 2018-12-18 20:53:23 -08:00
nyanpasu64 82e56d24be [!] Unlock thread when showing "render in progress" dialog 2018-12-18 20:53:23 -08:00
nyanpasu64 9836100b42 [gui] Move Ovgen.play() to OvgenThread 2018-12-18 20:53:23 -08:00
nyanpasu64 0c67b63334 Move gui.color2hex to gui/util.py 2018-12-18 20:53:23 -08:00
nyanpasu64 be3355b0c8 Eliminate BrokenPipeError when closing ffplay 2018-12-18 20:53:23 -08:00
nyanpasu64 83ff8bcfae cleanup comments 2018-12-18 20:53:23 -08:00
nyanpasu64 8551a46b24 [wip] Bind Play action (runs on main thread)
TODO run on new thread to not block GUI
2018-12-18 20:53:23 -08:00
nyanpasu64 47597f7663 Add function to copy config objects 2018-12-18 20:53:23 -08:00
nyanpasu64 25147e66bc Bind Exit action 2018-12-18 20:53:23 -08:00
nyanpasu64 6222ecf812 Expose PresentationModel.cfg to public 2018-12-18 20:53:23 -08:00
nyanpasu64 999546f094 Reorganize UI/config MainWindow.__init__() 2018-12-18 20:53:23 -08:00
nyanpasu64 1d5cdf8db0 [ui] Delete unused channel widget 2018-12-18 20:53:23 -08:00
nyanpasu64 1fc8b49ff9 [ui] Widen window, remove unfinished color swatches, add toolbar and stuff 2018-12-18 20:53:23 -08:00
nyanpasu64 80b9a3197f Switch default per-channel trigger to empty dict
Don't write empty GUI dicts
2018-12-18 20:53:23 -08:00
nyanpasu64 73147bac39 Convert colors to hex, when loading config in GUI 2018-12-18 20:53:23 -08:00
nyanpasu64 201e6e3e78 Replace dunder with newline (table headers) 2018-12-18 20:53:23 -08:00
nyanpasu64 532aaef187 Add trigger table columns 2018-12-18 20:53:23 -08:00
nyanpasu64 93d65ee637 Change order of Column dataclass 2018-12-18 20:53:23 -08:00
nyanpasu64 04da8a3f27 Treat whitespace-only GUI inputs as default value 2018-12-18 20:53:23 -08:00
nyanpasu64 b49618cfbc Add ability to edit existing data (as str)
Editing as int/float is bad,
since users cannot easily blank out a numeric field
(and setting =0 is unintuitive).
2018-12-18 20:53:23 -08:00
nyanpasu64 663015ad2c Switch UI to use "Line Color" consistently 2018-12-18 20:53:23 -08:00
nyanpasu64 36c4f82071 Expand window by default 2018-12-18 20:53:23 -08:00
nyanpasu64 926b745652 Index table rows from 1 2018-12-18 20:53:23 -08:00
nyanpasu64 4b69fb2d06 [channels] Add column display_name 2018-12-18 20:53:23 -08:00
nyanpasu64 be1e9f6563 [channels] Replace __attrs_post_init__ with self-factory 2018-12-18 20:53:23 -08:00
nyanpasu64 be3d537500 Fix ChannelModel data() recursion error, implement setData 2018-12-18 20:53:23 -08:00
nyanpasu64 baad00a938 Squash branch "qt-gui" 2018-12-18 20:53:23 -08:00
nyanpasu64 f02883745d Create README.md (#19) 2018-12-14 19:28:43 -08:00
nyanpasu64 86043f078d Switch default line_width to 1.5, bg_color to #hex
Makes job easier for Qt GUI
2018-12-10 09:25:48 -08:00
nyanpasu64 cef21d7ab8 Allow per-channel triggers to inherit from global (if untyped dicts) (#83)
trigger:
  edge_strength: -1
2018-12-08 18:56:34 -08:00
nyanpasu64 85a4163f8a Merge pull request #85 from nyanpasu64/alter-config-defaults
Make always-dumped CorrelationTriggerConfig attributes required
- Move buffer_falloff to default_config().
- Edit test_trigger.py by adding a custom CorrelationTriggerConfig template.
    - This template is *very different* from the previous
      CorrelationTriggerConfig optional-defaults. The tests pass anyway.
2018-12-06 12:48:22 -08:00
nyanpasu64 89cec1e6b4 Improve yaml_sink description 2018-12-06 12:45:01 -08:00
nyanpasu64 8aa5a116b1 Remove CorrelationTriggerConfig.always_dump (they are now required) 2018-12-06 12:37:26 -08:00
nyanpasu64 2aa919b7b7 Fix test_trigger by adding CorrelationTriggerConfig template
This template is *very different* from the previous
CorrelationTriggerConfig optional-defaults.
The tests pass anyway.
2018-12-06 12:36:13 -08:00
nyanpasu64 cd0a998a66 Make always-dumped CorrelationTriggerConfig attributes required
- Update default_config() template to coincide with `always_dump`
  (add buffer_falloff).
- Make `use_edge_trigger` required.

Breaks unit tests.
2018-12-06 12:33:07 -08:00
nyanpasu64 ffd92f4622 Split trigger/render_ms (#79)
Keep Config.trigger/render_width, but raise warning if encountered.
2018-12-06 12:11:39 -08:00
nyanpasu64 6d312f5de4 Improve config organization and defaults (#84)
`Config` defaults are optional attributes.
`default_config` defaults are template values.
2018-12-06 11:04:22 -08:00
nyanpasu64 78d4512fb9 Add `-h` command-line option which shows `--help` 2018-12-06 06:52:11 -08:00
nyanpasu64 53b4f64a87 Switch color types to str or Optional 2018-12-05 07:52:59 -08:00
nyanpasu64 d52f68a875 Appease Mypy (partly) 2018-12-05 05:14:04 -08:00
nyanpasu64 c9a57f84d2 Update metadata files (pycharm style, .gitignore qt creator) 2018-12-05 04:37:28 -08:00
nyanpasu64 f4add75049 Improve organization and commenting of CorrelationTrigger 2018-12-05 04:00:35 -08:00
nyanpasu64 d1d441884c Reorganize setup.py 2018-11-26 18:29:08 -08:00