Subject | Hash | Author | Date (UTC) |
---|---|---|---|
qt_gui.qt_gui: add EstimationTableWidget | bb44fc8a056ed90906c217cfc95f7cabc6ef71eb | I am | 2022-12-07 23:17:42 |
remove deprecated never used Plotly code | d42ebb3535e4736a1e9fdb84c8d6dae633c83a33 | I am | 2022-12-07 15:03:51 |
dicebox.circumtri.CircumTri: enable estimations | 4fe25ad47d71b1fd19fe00ad03d9b320b8c8614c | I am | 2022-12-07 14:30:46 |
dicebox: introduce new clean experimental CircumTri box | aca3e971212590a59e9d07a3ff1aa952d02a848b | I am | 2022-12-07 04:19:55 |
simplex.Triangulation: keep locally pdfs and failsi, send tuple on simplex invalidation | d2885ce44585e22294f9940159d6313642164f4c | I am | 2022-12-07 04:14:05 |
convex_hull.QHull: manual update() fix | 5ccff702b9920c7525c88d306f2300cd43b2e76b | I am | 2022-12-07 04:02:39 |
simplex: implement BetterCubatureIntegration | 88b14adc4423f0587bd51bed06e74ce6d0d60bd1 | I am | 2022-12-05 22:20:31 |
convex_hull.BrickHull: add get_hyperplane_distances() method a use it as fallback for the Qhull | 48d35c953a5cbbf739e5e838709bc00fe2f047d4 | I am | 2022-12-05 03:30:12 |
convex_hull.Qhull: add get_hyperplane_distances() method, add auto_update parameter | 28aada4b79b52f58c4ad43d270be997ec6359166 | I am | 2022-12-04 22:49:41 |
move diceboxes to the dedicated drawer | 31c7d30ed43f04b9469df843f909814c062adf5e | I am | 2022-12-04 21:27:37 |
reader: finally, add new Store class for the estimations | 673b7daa8213807d0217089b3317674595156f6d | I am | 2022-12-03 17:46:22 |
f_models.SNorm: hotfix | 5f364d1770e18d18fb810760b6207c905b551762 | I am | 2022-12-02 21:33:48 |
f_models: rewrite SNorm in lazy way. Old SNorm class renamed to SNormClassic | 3b6805b2a1d0bce88960bc016bbe74bb5274810b | I am | 2022-12-02 21:11:37 |
simplex: implement CircumCenter class | 0a1a67122854cfb331f696163f22cfc67331f3e8 | I am | 2022-12-01 01:40:38 |
voronoi.ContactVoronoi: add explore_couple() method | 72f4dffa5e8e7ee3165df4648f6a35d75d6678a3 | I am | 2022-11-29 11:59:07 |
voronoi: almost finished | 00b697466c226212aeb1ea76a717cf3db48c3187 | I am | 2022-11-28 16:28:48 |
voronoi: WIP | 29c59822f96df4efd6d1c6555a6fa083a869a2c8 | I am | 2022-11-28 11:14:50 |
voronoi: WIP, clean up | 8e776235f7603a9bc7f3d8254976224a81bb153e | I am | 2022-11-27 19:56:34 |
voronoi: WIP | 41e506eacb502853a1cf70023e7b276539579af7 | I am | 2022-11-27 13:03:08 |
convex_hull: optimize orth basis generation | 4ebfde2955aa792fb31075bf9ac8af718ae07b29 | I am | 2022-11-26 15:35:21 |
File | Lines added | Lines deleted |
---|---|---|
wellmet/qt_gui/qt_gui.py | 44 | 5 |
File wellmet/qt_gui/qt_gui.py changed (mode: 100644) (index 2bc8dc6..20d16ba) | |||
... | ... | class QtGuiWindow(QtWidgets.QMainWindow): | |
252 | 252 | self.addDockWidget(QtCore.Qt.BottomDockWidgetArea, dock) | self.addDockWidget(QtCore.Qt.BottomDockWidgetArea, dock) |
253 | 253 | ||
254 | 254 | ||
255 | dock = QtWidgets.QDockWidget("BlackBox output", self) | ||
256 | self.output_label = QtWidgets.QLabel() | ||
257 | dock.setWidget(self.output_label) | ||
258 | self.dockables.append(dock) | ||
259 | self.tabifyDockWidget(self.dockables[0], dock) | ||
255 | # dock = QtWidgets.QDockWidget("BlackBox output", self) | ||
256 | # self.output_label = QtWidgets.QLabel() | ||
257 | # dock.setWidget(self.output_label) | ||
258 | # self.dockables.append(dock) | ||
259 | # self.tabifyDockWidget(self.dockables[0], dock) | ||
260 | |||
261 | #č graphy už nemusí jít po stm widgetech | ||
262 | if hasattr(self.sample_box, 'estimations'): | ||
263 | dock = QtWidgets.QDockWidget("Estimation data", self) | ||
264 | dock.setWidget(EstimationTableWidget(self.sample_box.estimations, self, dock)) | ||
265 | self.dockables.append(dock) | ||
266 | self.tabifyDockWidget(self.dockables[0], dock) | ||
260 | 267 | ||
261 | 268 | self.simplex_data = qt_graph_widgets.SimplexEstimationData(self.sample_box, self) | self.simplex_data = qt_graph_widgets.SimplexEstimationData(self.sample_box, self) |
262 | 269 | #č graphy už nemusí jít po stm widgetech | #č graphy už nemusí jít po stm widgetech |
... | ... | E Miscellaneous | |
540 | 547 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
541 | 548 | """ | """ |
542 | 549 | ||
550 | |||
551 | class EstimationTableWidget(pg.TableWidget): | ||
552 | def __init__(self, estimations, w, parent=None): | ||
553 | super().__init__(parent) | ||
554 | # sb like samplebox, of course | ||
555 | self.estimations = estimations | ||
556 | w.box_runned.connect(self.update) | ||
557 | w.estimation_added.connect(self.update) | ||
558 | |||
559 | self.setFormat('%g') | ||
560 | self.update(self.estimations) | ||
561 | |||
562 | |||
563 | |||
564 | def update(self, *args, **kwargs): | ||
565 | nrow = self.rowCount() | ||
566 | if nrow >= len(self.estimations): | ||
567 | return | ||
568 | |||
569 | if nrow: | ||
570 | self.appendData(self.estimations[nrow:]) | ||
571 | elif hasattr(self.estimations[0], '_asdict'): | ||
572 | # in case of namedtuples | ||
573 | self.setData([self.estimations[0]._asdict()]) | ||
574 | self.appendData(self.estimations[1:]) | ||
575 | else: | ||
576 | self.setData(self.estimations) | ||
577 | |||
578 | |||
579 | |||
580 | |||
581 | |||
543 | 582 | class BoxTreeWidget(pg.LayoutWidget): | class BoxTreeWidget(pg.LayoutWidget): |
544 | 583 | """ | """ |
545 | 584 | """ | """ |