Tyler Goodlet
4f4f9f66b4
Move view mode mouse click into async handler
2021-09-06 09:28:10 -04:00
Tyler Goodlet
5ce6dcf3cb
Properly capture graphics scene mouse events
2021-09-06 09:28:10 -04:00
Tyler Goodlet
3ddd4bc2c2
Add a private level change cb, fix marker hidingn
2021-09-06 09:28:10 -04:00
Tyler Goodlet
7fc7f72643
Add mouse event and signal proxying support
2021-09-06 09:28:10 -04:00
Tyler Goodlet
cebfe9dca3
Split up form creation and input handling, require a `.model`
2021-09-06 09:28:10 -04:00
Tyler Goodlet
1d7300577e
Drop godwidget ref to `FieldsForm`
2021-09-06 09:28:10 -04:00
Tyler Goodlet
7295ceb51a
Pass labels to form builder, toy with broadcast consumer task
2021-09-06 09:28:10 -04:00
Tyler Goodlet
a40205728f
Position tracker is passed at init
2021-09-06 09:28:10 -04:00
Tyler Goodlet
4ddfea654b
Lol, initial size calcs on order line update
2021-09-06 09:28:10 -04:00
Tyler Goodlet
5528e80c22
Basic allocator state updates from pp sidepane
2021-09-06 09:28:10 -04:00
Tyler Goodlet
ce7eb75ada
Validate allocator assignments with pydantic
2021-09-06 09:28:10 -04:00
Tyler Goodlet
a7920689b6
Add reference gist for Qt guest mode stuff
2021-09-06 09:28:10 -04:00
Tyler Goodlet
a3d1a71017
Unpack keyboard events into an explicit msg model
2021-09-06 09:28:10 -04:00
Tyler Goodlet
b302707bf3
Order mode docs/comments updates
2021-09-06 09:28:10 -04:00
Tyler Goodlet
c982634839
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-09-06 09:28:10 -04:00
Tyler Goodlet
2d1deb7ab7
Drop uneeded `typing` types for py3.9+
2021-09-06 09:28:10 -04:00
Tyler Goodlet
b79b9c8c41
"last" and "current" are better names
2021-09-06 09:28:10 -04:00
Tyler Goodlet
deedcb2c4a
Flip to view mode on field exit key combos
2021-09-06 09:28:10 -04:00
Tyler Goodlet
5f7c9a16fb
Make god widget focus to chart / "view mode"
2021-09-06 09:28:10 -04:00
Tyler Goodlet
70a283e336
Call god what it is
2021-09-06 09:28:10 -04:00
Tyler Goodlet
d1f9273418
Use lightest default for pp line
2021-09-06 09:28:10 -04:00
Tyler Goodlet
8eaf2a1afe
Allocate minority to OHLC chart since 2 fsps by default is likely
2021-09-06 09:28:10 -04:00
Tyler Goodlet
75f50f4b7e
"bracket"-ify fills bar + labels and try to evenly space the pane sections
2021-09-06 09:28:10 -04:00
Tyler Goodlet
1fc9047746
Drop old pp config widget inserts; use new pane layout func
2021-09-06 09:28:10 -04:00
Tyler Goodlet
3e237124ec
Break health bar and pane layout into separate routines
2021-09-06 09:28:10 -04:00
Tyler Goodlet
b0ab240f9e
Match search bar margins to pp pane
2021-09-06 09:28:10 -04:00
Tyler Goodlet
41b79d0f9a
Fix pp pane to show on symbol switches
2021-09-06 09:28:10 -04:00
Tyler Goodlet
e005c8b345
Use `QFormLayout` instead of rolling our own; add pp and feed status sections
2021-09-06 09:28:10 -04:00
Tyler Goodlet
318f3b45c5
Just always use a lambda ; it's innocuous
2021-09-06 09:28:10 -04:00
Tyler Goodlet
b6c68e381d
Move status back to gunmetal
2021-09-06 09:28:10 -04:00
Tyler Goodlet
0ffbb15bc7
Add a "health bar" factor B)
2021-09-06 09:28:10 -04:00
Tyler Goodlet
63138ccbf4
WIP add a lambda-QFrame to get per chart sidpanes for each linkedsplits row
2021-09-06 09:28:10 -04:00
Tyler Goodlet
825680b8c6
Support (sub)plot names separate from data array keys
2021-09-06 09:28:10 -04:00
Tyler Goodlet
65158b8c64
Add position status (health) bar math for sizing and styling
2021-09-06 09:28:10 -04:00
Tyler Goodlet
3eabe93d54
Always hide contents labels at startup
2021-09-06 09:28:10 -04:00
Tyler Goodlet
21d1e17c6a
Better search label styling
2021-09-06 09:28:10 -04:00
Tyler Goodlet
30ac32da55
Add ctrl-p as "pane toggle"
2021-09-06 09:28:10 -04:00
Tyler Goodlet
0ce356f5d9
Make field form a vertical layout, add formatted style sheets
2021-09-06 09:28:10 -04:00
Tyler Goodlet
1ae39c963a
Allocate pp config form alongside god widget as a side-pane
2021-09-06 09:28:10 -04:00
Tyler Goodlet
d022a105bb
Start using a small schema for generating forms
2021-09-06 09:28:10 -04:00
Tyler Goodlet
011f36fc3c
WIP add input handler for each widget in the form
2021-09-06 09:28:10 -04:00
Tyler Goodlet
43b769a136
Support opening a handler on a collection of widgets
2021-09-06 09:28:10 -04:00
Tyler Goodlet
d1244608bd
Use font scaled delegate from forms module
2021-09-06 09:28:10 -04:00
Tyler Goodlet
5ec00ee762
Size view delegate from monkey patched parent
2021-09-06 09:28:10 -04:00
Tyler Goodlet
940aafe1be
OMG Qt view item sizing is sooo dumb..
2021-09-06 09:28:10 -04:00
Tyler Goodlet
29ea91553d
Use "slots" as name for "number of entries"
2021-09-06 09:28:10 -04:00
Tyler Goodlet
c18cf4f0bf
Mock up initial selection field and progress bar
2021-09-06 09:28:10 -04:00
Tyler Goodlet
7e2e316cbf
"Forms" is a better module name
2021-09-06 09:28:10 -04:00
Tyler Goodlet
a2b61a67b5
Allocate pp config with new actory, drop old line update method
2021-09-06 09:28:10 -04:00
Tyler Goodlet
e8e9e20124
Use mode name setter throughout
2021-09-06 09:28:10 -04:00