Tyler Goodlet
5ae16bf73e
Add draft `pydantic`-`QWidget` ORM system
...
Move all the ``pydantic`` finagling to an `_orm.py` and
just keep an `Allocator` as the backing model for our pp controls
in the position module. This all needs to be tied together in some sane
with with facility for multiple symbols/streams per chart for when we
get to charting-trading aggregate feeds.
2021-08-06 09:14:30 -04:00
Tyler Goodlet
a57d92c8bd
Drop uneeded `typing` types for py3.9+
2021-08-03 10:03:51 -04:00
Tyler Goodlet
5fe8cb7e53
"last" and "current" are better names
2021-08-03 10:03:51 -04:00
Tyler Goodlet
d0ad5e43f9
Remove dead OHLC index consumers from subs list on error
2021-08-02 22:08:59 -04:00
Tyler Goodlet
f5beb22d6e
Flip to view mode on field exit key combos
2021-08-02 18:53:02 -04:00
Tyler Goodlet
37de9e581c
Make god widget focus to chart / "view mode"
2021-08-02 18:52:22 -04:00
Tyler Goodlet
2e086375e7
Call god what it is
2021-08-01 18:53:59 -04:00
Tyler Goodlet
8296bc2699
Use lightest default for pp line
2021-08-01 18:53:30 -04:00
Tyler Goodlet
d1f5e3f62a
Allocate minority to OHLC chart since 2 fsps by default is likely
2021-08-01 16:29:50 -04:00
Tyler Goodlet
4974579e73
"bracket"-ify fills bar + labels and try to evenly space the pane sections
2021-07-30 23:50:03 -04:00
Tyler Goodlet
637364d1c3
Drop old pp config widget inserts; use new pane layout func
2021-07-30 14:23:46 -04:00
Tyler Goodlet
d69b52ac8c
Break health bar and pane layout into separate routines
2021-07-30 14:22:51 -04:00
Tyler Goodlet
ccf79aecf1
Match search bar margins to pp pane
2021-07-30 10:52:21 -04:00
Tyler Goodlet
12e7ceae2b
Fix pp pane to show on symbol switches
2021-07-30 10:51:50 -04:00
Tyler Goodlet
202817bc4d
Use `QFormLayout` instead of rolling our own; add pp and feed status sections
2021-07-30 10:50:05 -04:00
Tyler Goodlet
66b242e19e
Just always use a lambda ; it's innocuous
2021-07-27 10:41:51 -04:00
Tyler Goodlet
177a75adcc
Fixup missing ib section handling; drop `.api` subsection
2021-07-27 08:28:44 -04:00
Tyler Goodlet
770ae75210
Move status back to gunmetal
2021-07-27 07:30:53 -04:00
Tyler Goodlet
2ddf40b8d3
Add a "health bar" factor B)
2021-07-27 07:30:53 -04:00
Tyler Goodlet
472cf036cb
WIP add a lambda-QFrame to get per chart sidpanes for each linkedsplits row
2021-07-27 07:30:52 -04:00
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