Show progress bar when appending plots to multiplot (#8976)

* Show progress bar when appending plots to multiplot
* Stop plot manager from going crazy creating plots when filter text is blank
* Speed up plot manager create plot
This commit is contained in:
jonjenssen
2022-05-30 11:39:05 +02:00
committed by GitHub
parent 17f169e513
commit db589c7e32
6 changed files with 44 additions and 23 deletions

View File

@@ -69,6 +69,9 @@ public:
void removePlot( RimPlot* plot ) override;
void movePlotsToThis( const std::vector<RimPlot*>& plots, int insertAtPosition );
virtual void startBatchAddOperation();
virtual void endBatchAddOperation();
virtual void removePlotNoUpdate( RimPlot* plot );
virtual void updateAfterPlotRemove();
@@ -169,6 +172,8 @@ protected:
friend class RiuMultiPlotBook;
QPointer<RiuMultiPlotBook> m_viewer;
bool m_delayPlotUpdatesDuringBatchAdd;
private:
caf::PdmChildArrayField<RimPlot*> m_plots;