Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #7860
- Loading branch information
Showing
7 changed files
with
332 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IndirectSymmetrise.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
#ifndef MANTIDQTCUSTOMINTERFACES_INDIRECTSYMMETRISE_H_ | ||
#define MANTIDQTCUSTOMINTERFACES_INDIRECTSYMMETRISE_H_ | ||
|
||
#include "MantidQtCustomInterfaces/IndirectDataReductionTab.h" | ||
|
||
#include "MantidAPI/MatrixWorkspace.h" | ||
#include "MantidKernel/System.h" | ||
|
||
// Suppress a warning coming out of code that isn't ours | ||
#if defined(__INTEL_COMPILER) | ||
#pragma warning disable 1125 | ||
#elif defined(__GNUC__) | ||
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6 ) | ||
#pragma GCC diagnostic push | ||
#endif | ||
#pragma GCC diagnostic ignored "-Woverloaded-virtual" | ||
#endif | ||
#include <QtCheckBoxFactory> | ||
#if defined(__INTEL_COMPILER) | ||
#pragma warning enable 1125 | ||
#elif defined(__GNUC__) | ||
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6 ) | ||
#pragma GCC diagnostic pop | ||
#endif | ||
#endif | ||
|
||
namespace MantidQt | ||
{ | ||
namespace CustomInterfaces | ||
{ | ||
/** IndirectSymmetrise | ||
@author Dan Nixon | ||
@date 23/07/2014 | ||
Copyright © 2013 ISIS Rutherford Appleton Laboratory & NScD Oak Ridge National Laboratory | ||
This file is part of Mantid. | ||
Mantid is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 3 of the License, or | ||
(at your option) any later version. | ||
Mantid is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
File change history is stored at: <https://github.com/mantidproject/mantid> | ||
Code Documentation is available at: <http://doxygen.mantidproject.org> | ||
*/ | ||
class DLLExport IndirectSymmetrise : public IndirectDataReductionTab | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
IndirectSymmetrise(Ui::IndirectDataReduction& uiForm, QWidget * parent = 0); | ||
virtual ~IndirectSymmetrise(); | ||
|
||
virtual void setup(); | ||
virtual void run(); | ||
virtual bool validate(); | ||
|
||
private slots: | ||
void plotRawInput(); | ||
void updateRangeSelector(QtProperty *prop, double value); | ||
|
||
}; | ||
} // namespace CustomInterfaces | ||
} // namespace Mantid | ||
|
||
#endif //MANTIDQTCUSTOMINTERFACES_INDIRECTSYMMETRISE_H_ |
Oops, something went wrong.