X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ImportImageDlg.h;h=2adcb89592d532a9bb874e9e6b2da8494969c923;hb=36005df362d7bee6db949b079960cec90333aed2;hp=fb4b3e1b6433c27b64721d744a692bd3c63250da;hpb=474c2cd65280d793f1c81ca528bc92e1cff988e6;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ImportImageDlg.h b/src/HYDROGUI/HYDROGUI_ImportImageDlg.h index fb4b3e1b..2adcb895 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageDlg.h +++ b/src/HYDROGUI/HYDROGUI_ImportImageDlg.h @@ -1,8 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either @@ -43,6 +39,7 @@ class QCheckBox; class QtxDoubleSpinBox; class QtxIntSpinBox; class QAbstractSpinBox; +class QToolButton; class HYDROGUI_ImportImageDlg : public HYDROGUI_InputPanel { @@ -109,6 +106,8 @@ public: void initializePointSelection(); + void ActivateFile( const QString& theFileName, bool isEnableFilesChoice ); + public: static TransformationData ComputeTrsfData( const int theMode, @@ -146,10 +145,12 @@ signals: void modeActivated( int ); void refImageActivated( const QString& ); void setCIsUsed( bool theIsByTwoPoints ); + void filesSelected( const QStringList& ); private: QGroupBox* myFileNameGroup; //!< The group for the source image file selection QLineEdit* myFileName; //!< Source image file name input field + QToolButton* myBrowseBtn; QGroupBox* myImageNameGroup; //!< The group for the image name input field QLineEdit* myImageName; //!< The image name input field