Commit Graph

1316 Commits (a68f4b059342b4cead09d9560acdcc0fd90408ff)

Author SHA1 Message Date
Tyler Goodlet a68f4b0593 Support (sub)plot names separate from data array keys 2021-07-27 07:28:24 -04:00
Tyler Goodlet 4d66c7ad88 Add position status (health) bar math for sizing and styling 2021-07-27 07:28:24 -04:00
Tyler Goodlet 457cc1a128 Always hide contents labels at startup 2021-07-27 07:28:24 -04:00
Tyler Goodlet 622da73c40 Better search label styling 2021-07-27 07:28:23 -04:00
Tyler Goodlet 8ca6cc180d Add ctrl-p as "pane toggle" 2021-07-27 07:27:14 -04:00
Tyler Goodlet 12c37f3388 Make field form a vertical layout, add formatted style sheets 2021-07-27 07:27:14 -04:00
Tyler Goodlet 01261d601a Allocate pp config form alongside god widget as a side-pane 2021-07-27 07:27:14 -04:00
Tyler Goodlet f27db80bf4 Start using a small schema for generating forms 2021-07-27 07:27:14 -04:00
Tyler Goodlet 4336939507 WIP add input handler for each widget in the form 2021-07-27 07:27:14 -04:00
Tyler Goodlet fd73d1eef1 Support opening a handler on a collection of widgets 2021-07-27 07:27:14 -04:00
Tyler Goodlet 3302d21086 Use font scaled delegate from forms module 2021-07-27 07:27:14 -04:00
Tyler Goodlet 39ad1ab18f Size view delegate from monkey patched parent 2021-07-27 07:27:14 -04:00
Tyler Goodlet 43a9fc60e3 OMG Qt view item sizing is sooo dumb.. 2021-07-27 07:27:14 -04:00
Tyler Goodlet 27cece20c5 Use "slots" as name for "number of entries" 2021-07-27 07:27:14 -04:00
Tyler Goodlet a94a86fed1 Mock up initial selection field and progress bar 2021-07-27 07:27:14 -04:00
Tyler Goodlet 0a7ef0cb67 "Forms" is a better module name 2021-07-27 07:27:14 -04:00
Tyler Goodlet e80ca26649 Allocate pp config with new actory, drop old line update method 2021-07-27 07:27:14 -04:00
Tyler Goodlet 9c07db368d Use mode name setter throughout 2021-07-27 07:27:14 -04:00
Tyler Goodlet 5c58d0b5fc Add mode name setter 2021-07-27 07:27:14 -04:00
Tyler Goodlet af3e5e53bc Drop stale anchors 2021-07-27 07:27:14 -04:00
Tyler Goodlet df9e3654f0 Move font-aware line edit to "text entry" mod 2021-07-27 07:27:14 -04:00
Tyler Goodlet 39edbc126a Toggle pp config widget on order mode active 2021-07-27 07:27:14 -04:00
Tyler Goodlet f30bf3102d Change order label format to color:count 2021-07-27 07:27:14 -04:00
Tyler Goodlet ec6639f275 First WIP of pp config entry widget on status bar 2021-07-27 07:27:14 -04:00
Tyler Goodlet 501828d906 Use one marker, drop old anchors, add graphics update on marker paint 2021-07-27 07:27:14 -04:00
Tyler Goodlet 67721a5832 Add dpi font scale getter 2021-07-27 07:27:14 -04:00
Tyler Goodlet 9887b14518 Skip line stage when chart not yet initialized 2021-07-27 07:27:14 -04:00
Tyler Goodlet 0f417f8c80 Add a tight pp anchor 2021-07-27 07:27:14 -04:00
Tyler Goodlet 393446b933 Start a "text entry widgets" module 2021-07-27 07:27:14 -04:00
Tyler Goodlet d034d7e6b1 Factor font-size-based labeled-line edit into generics widget 2021-07-27 07:27:14 -04:00
Tyler Goodlet 1048ea14d3 Add support for a marker "on paint" callback 2021-07-27 07:27:12 -04:00
Tyler Goodlet 37cd800135 Add a scene bounding rect getter to our label 2021-07-27 07:26:37 -04:00
Tyler Goodlet 5d94ee7479 Just warn for now on unknown dialogs 2021-07-27 07:26:37 -04:00
Tyler Goodlet 40a38284df Move level marker to annotate module 2021-07-27 07:26:36 -04:00
Tyler Goodlet 6cdb2fca41 Actually position msgs get relayed verbatim 2021-07-27 07:19:01 -04:00
Tyler Goodlet fd425dca29 Move DPI / screen get logging to debug; reduce cli noise 2021-07-27 07:19:01 -04:00
Tyler Goodlet 5eada47cbf Drop all `ChartPlotWidget._lc` remap to `.linked 2021-07-27 07:19:01 -04:00
Tyler Goodlet ca2729d2c0 Pass position msg to tracker, append fill msgs 2021-07-27 07:19:01 -04:00
Tyler Goodlet 174b9ce0cf Fixup commented view locate call 2021-07-27 07:19:01 -04:00
Tyler Goodlet 86e71a232f Only hide position (extra) info on order mode exit 2021-07-27 07:19:01 -04:00
Tyler Goodlet c98b60f7aa Fix oustanding label bugs, make `.update()` accept a position msg 2021-07-27 07:19:01 -04:00
Tyler Goodlet 480e5634c4 Stop pulling lot size precision from symbol for now in the UI 2021-07-27 07:19:01 -04:00
Tyler Goodlet 271bf67e78 Drop position-line factory from lines module, add endpoint getter 2021-07-27 07:19:01 -04:00
Tyler Goodlet 23b77fffc6 Make our default label opaque (since it's normally just text) 2021-07-27 07:19:01 -04:00
Tyler Goodlet f9f4fdca7e Increase cursor debounce delay slightly? 2021-07-27 07:19:01 -04:00
Tyler Goodlet c6a02d1bbf Switch mode to touch `.pp` 2021-07-27 07:19:01 -04:00
Tyler Goodlet 5bd764e0e9 Add `.view` property, throttle to 50Hz by default 2021-07-27 07:19:01 -04:00
Tyler Goodlet 8df399b8c1 Add a left-side-of-marker orientation 2021-07-27 07:19:01 -04:00
Tyler Goodlet d323b0c34b Move position tracking to new module
It was becoming too much with all the labels and markers and lines..
Might as well package it all together instead of cramming it in the
order mode loop, chief.

The techincal summary,
- move `_lines.position_line()` -> `PositionInfo.position_line()`.
- slap a `.pp` on the order mode instance which *is* a `PositionInfo`
- drop the position info info label for now (let's see what users want
  eventually but for now let's keep it super minimal).
- add a `LevelMarker` type to replace the old `LevelLine` internal
  marker system (includes ability to change the style and level on the
  fly).
- change `_annotate.mk_marker()` -> `mk_maker_path()` and expect caller
  to wrap in a `QGraphicsPathItem` if needed.
2021-07-27 07:19:01 -04:00
Tyler Goodlet 08fe6fc4f3 Use `QGraphicsPathItem` for marker, add line hide method 2021-07-27 07:19:01 -04:00