Para Qs Object Element Inspectors Element Inspector How
Para. Q's Object & Element Inspectors ● ● Element Inspector – How it works – Improvements Object Inspector – How it works – Improvements
Element Inspector ● Objects – pq. Data. Set. Model – Implements Qabstract. Item. Model. It is basically a wrapper for vtk. Unstructured. Grid. – pq. Element. Inspector. Widget – A view of the dataset. pq. Data. Set. Model pq. Element. Inspector. Widget vtk. Unstructured. Grid
Element Inspector
Element Inspector ● Improvements – Should use same mechanism charting uses to pull data to client side for display. – Make several smaller requests instead of one request for data based on what data is currently visible in the view.
Object Inspector ● pq. Object. Inspector – Implements QAbstract. Item. Model. It is a wrapping of the properties of a proxy. pq. Object. Inspector vtk. SMProxy - Properties
Object Inspector ● pq. Object. Inspector. Delegate – Implements Qitem. Delegate for editing properties. Editors (line edits, combo boxes, etc. . . depending on property type). pq. Object. Inspector. Delegate pq. Object. Inspector vtk. SMProxy - Properties
Object Inspector ● Custom Property Pages – A method of adding custom panels was added in pq. Object. Inspector. Widget. – ui file created in Qt designer, and widgets are named after the property they represent. – widget properties are linked with vtk. SMProxy's properties
Object Inspector ● pq. SMAdaptor – Qt based interface for setting and getting proxy properties. pq. Object. Inspector pq. SMAdaptor vtk. SMProxy - Properties – Get and Set properties using QVariant – Supports all Property types (enum, int, double, etc. . . ) except Proxy Property
Object Inspector ● Improvements – Support Proxy Properties with pq. SMAdaptor ● Frees the application from having pointers to proxies, which may go stale. – Support auto generated panels? – Perhaps implement another custom panel method. ● We don't have much control over ui file compatibility.
- Slides: 9