mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#6345 Remove obsolete include of QFileDialog
This commit is contained in:
parent
6a0a6e9836
commit
1adf97b075
@ -32,7 +32,7 @@
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
#include <QFileInfo>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicImportEclipseCasesFeature, "RicImportEclipseCasesFeature" );
|
||||
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicImportInputEclipseCaseFeature, "RicImportInputEclipseCaseFeature" );
|
||||
|
||||
|
@ -37,7 +37,8 @@
|
||||
#include "cafSelectionManagerTools.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
|
||||
#include <cafUtils.h>
|
||||
|
||||
@ -124,10 +125,10 @@ void RicExportSelectedWellPathsFeature::writeWellPathGeometryToStream( QTextStre
|
||||
stream << "WELLNAME: '" << caf::Utils::makeValidFileBasename( exportName ) << "'" << endl;
|
||||
|
||||
auto numberFormat = RifTextDataTableDoubleFormatting( RIF_FLOAT, 2 );
|
||||
formatter.header( { { "X", numberFormat, RIGHT },
|
||||
{ "Y", numberFormat, RIGHT },
|
||||
{ "TVDMSL", numberFormat, RIGHT },
|
||||
{ useMdRkb ? "MDRKB" : "MDMSL", numberFormat, RIGHT } } );
|
||||
formatter.header( {{"X", numberFormat, RIGHT},
|
||||
{"Y", numberFormat, RIGHT},
|
||||
{"TVDMSL", numberFormat, RIGHT},
|
||||
{useMdRkb ? "MDRKB" : "MDMSL", numberFormat, RIGHT}} );
|
||||
|
||||
while ( currMd < endMd )
|
||||
{
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicExportToLasFileFeature, "RicExportToLasFileFeature" );
|
||||
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "cafSelectionManagerTools.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
#include <QFileInfo>
|
||||
#include <QMessageBox>
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <QAction>
|
||||
#include <QClipboard>
|
||||
#include <QDebug>
|
||||
#include <QFileDialog>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QMdiSubWindow>
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include <QAction>
|
||||
#include <QClipboard>
|
||||
#include <QDebug>
|
||||
#include <QFileDialog>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QMdiSubWindow>
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include <QAction>
|
||||
#include <QClipboard>
|
||||
#include <QDebug>
|
||||
#include <QFileDialog>
|
||||
#include <QFileInfo>
|
||||
#include <QMdiSubWindow>
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicCreatePlotFromSelectionFeature, "RicCreatePlotFromSelectionFeature" );
|
||||
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "cafSelectionManagerTools.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
#include <QInputDialog>
|
||||
#include <QMessageBox>
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "cafUtils.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
#include <QFileInfo>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
@ -44,7 +44,6 @@
|
||||
#include "SummaryPlotCommands/RicNewSummaryPlotFeature.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
#include <QInputDialog>
|
||||
#include <QMessageBox>
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "RimSummaryObservedDataFile.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicImportObservedDataInMenuFeature, "RicImportObservedDataInMenuFeature" );
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "RimSummaryObservedDataFile.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicImportObservedFmuDataInMenuFeature, "RicImportObservedFmuDataInMenuFeature" );
|
||||
|
||||
|
@ -34,7 +34,6 @@
|
||||
#include "RiuPlotMainWindow.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicImportSummaryCaseFeature, "RicImportSummaryCaseFeature" );
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
#include "cafSelectionManagerTools.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
#include <QFileInfo>
|
||||
#include <QMessageBox>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicImportSummaryCasesFeature, "RicImportSummaryCasesFeature" );
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "SummaryPlotCommands/RicNewSummaryPlotFeature.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
#include <QInputDialog>
|
||||
#include <QMessageBox>
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include <QAction>
|
||||
#include <QComboBox>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QFileDialog>
|
||||
#include <QGroupBox>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
|
@ -41,7 +41,8 @@
|
||||
#include <QClipboard>
|
||||
#include <QDateTime>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QFileDialog>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QGroupBox>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "cafSelectionManagerTools.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QFileDialog>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicMoveWellLogFilesFeature, "RicMoveWellLogFilesFeature" );
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "cafPdmFieldIOScriptability.h"
|
||||
|
||||
#include <QFileDialog>
|
||||
#include <QFileInfo>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -20,11 +20,11 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
|
||||
#include "RiuFileDialogTools.h"
|
||||
#include "RiuTools.h"
|
||||
|
||||
#include "ui_RiuMultiCaseImportDialog.h"
|
||||
|
||||
#include <QFileDialog>
|
||||
#include <QFileIconProvider>
|
||||
#include <QFileSystemModel>
|
||||
#include <QStringListModel>
|
||||
@ -101,11 +101,11 @@ RiuMultiCaseImportDialog::~RiuMultiCaseImportDialog()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuMultiCaseImportDialog::on_m_addSearchFolderButton_clicked()
|
||||
{
|
||||
QString selectedFolder =
|
||||
QFileDialog::getExistingDirectory( this,
|
||||
"Select an Eclipse case search folder",
|
||||
RiaApplication::instance()->lastUsedDialogDirectory( "MULTICASEIMPORT" ) );
|
||||
QStringList folderNames = m_searchFolders->stringList();
|
||||
QString selectedFolder = RiuFileDialogTools::getExistingDirectory( this,
|
||||
"Select an Eclipse case search folder",
|
||||
RiaApplication::instance()->lastUsedDialogDirectory(
|
||||
"MULTICASEIMPORT" ) );
|
||||
QStringList folderNames = m_searchFolders->stringList();
|
||||
|
||||
if ( !folderNames.contains( selectedFolder ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user