David Lai

Results 196 comments of David Lai

> But the model governs things like row and column count, and different views on different sets of data may/should have different counts. In this case, it's somewhat convenient that...

> The proxy would be able to provide more specialised data() and setData, along with unique columns and such. They may even be able to act as more specialised business...

`"Form is liberating."`, so I vote "Yes" to these :)

> I think the best location where the code can be maintained in a single location would be another repository Hmmm, how about put it in `core/conventions/gui` ? I personally...

I would vote option 2, since it's much straight forward and simple, but without the optimization. A bit worry about that `io.cached_queries`, if we only allowed to use `_id` to...

Ah, sorry. Forgot to mention it's the behavior in Python 3.6+. You are right if using Python 2.7, but starting from Python 3.6, the dict has [*insertion ordered*](https://stackoverflow.com/questions/39980323/are-dictionaries-ordered-in-python-3-6). So if...

> However, looking at your code isn't the final result still as expected? No no, not if you querying with `find({"data": {"foo": "bar", "subDiv": 1}})`, and the previous inserted document...

We may add a `QtGui.QRegExpValidator` into the asset label `QLineEdit` widget just like the one in the Creator App [here](https://github.com/getavalon/core/blob/091781800e3e08d1b0b77ed74eb93afbd62c38ce/avalon/tools/creator/app.py#L24). But might need to pop an error message to indicate...

Here's a quick implementation I made: ![a0385362-5aa9-49e4-ae6b-ee3bb628c0cd](https://user-images.githubusercontent.com/3357009/79900967-a7223900-8441-11ea-9544-1a8d6b0fe095.gif)

This is related to #159 :)