Summary context menu cleanup and fixes (#9165)

* Make summary plot ctx menu items show up for the plot you right-click on, not the one selected in the project tree.
This commit is contained in:
jonjenssen
2022-08-08 13:34:27 +02:00
committed by GitHub
parent eedebd71a5
commit c3f538c1dd
15 changed files with 296 additions and 58 deletions

View File

@@ -21,8 +21,10 @@
#include "cafCmdFeature.h"
#include <functional>
#include <vector>
class RiuTabbedTextProvider;
class RimPlot;
//==================================================================================================
///
@@ -36,6 +38,9 @@ protected:
void onActionTriggered( bool isChecked ) override;
void setupActionLook( QAction* actionToSetup ) override;
private:
void getSelection( std::vector<RimPlot*>& selection );
public:
static void showTabbedTextWindow( RiuTabbedTextProvider* textProvider );
static void showTextWindow( const QString& title, const QString& text );