mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2600 Well CF Visualization: Improve result info text content
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
#include "Rim2dIntersectionView.h"
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
#include "RiuResultTextBuilder.h"
|
||||
#include "RiuSelectionManager.h"
|
||||
#include "RiuViewer.h"
|
||||
|
||||
@@ -657,11 +658,14 @@ void RiuViewerCommands::handlePickAction(int winPosX, int winPosY, Qt::KeyboardM
|
||||
if (!completionDataItems.empty())
|
||||
{
|
||||
QString resultInfoText;
|
||||
resultInfoText += QString("<b>Well Connection Factor :</b> %1<br><br>").arg(connectionFactor);
|
||||
|
||||
// For now, only report the fist completion and not the combined completion if more than one
|
||||
// completion contributes into a cell
|
||||
{
|
||||
RiuResultTextBuilder textBuilder(eclipseView, globalCellIndex, eclipseView->currentTimeStep());
|
||||
|
||||
resultInfoText += textBuilder.geometrySelectionText("<br>");
|
||||
}
|
||||
|
||||
resultInfoText += QString("Well Connection Factor : %1").arg(connectionFactor);
|
||||
resultInfoText += "<br><br>Details : <br>";
|
||||
|
||||
for (const auto& completionData : completionDataItems)
|
||||
|
||||
Reference in New Issue
Block a user