Skip to content
Snippets Groups Projects
Commit b5ea7700 authored by Dan Nixon's avatar Dan Nixon
Browse files

Clang format Re #13525

parent 7a820341
No related branches found
No related tags found
No related merge requests found
......@@ -8,83 +8,82 @@
// Suppress a warning coming out of code that isn't ours
#if defined(__INTEL_COMPILER)
#pragma warning disable 1125
#pragma warning disable 1125
#elif defined(__GNUC__)
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6 )
#pragma GCC diagnostic push
#endif
#pragma GCC diagnostic ignored "-Woverloaded-virtual"
#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
#pragma warning enable 1125
#elif defined(__GNUC__)
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6 )
#pragma GCC diagnostic pop
#endif
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6)
#pragma GCC diagnostic pop
#endif
#endif
namespace MantidQt
{
namespace CustomInterfaces
{
/** ISISDiagnostics
Handles time integration diagnostics for ISIS instruments.
@author Dan Nixon
@date 23/07/2014
Copyright &copy; 2013 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge National Laboratory & European Spallation Source
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 ISISDiagnostics : public IndirectDataReductionTab
{
Q_OBJECT
public:
ISISDiagnostics(IndirectDataReduction * idrUI, QWidget * parent = 0);
virtual ~ISISDiagnostics();
virtual void setup();
virtual void run();
virtual bool validate();
private slots:
void algorithmComplete(bool error);
void handleNewFile();
void sliceTwoRanges(QtProperty*, bool);
void sliceCalib(bool state);
void rangeSelectorDropped(double, double);
void doublePropertyChanged(QtProperty*, double);
void setDefaultInstDetails();
void updatePreviewPlot();
void sliceAlgDone(bool error);
void pbRunEditing(); //< Called when a user starts to type / edit the runs to load.
void pbRunFinding(); //< Called when the FileFinder starts finding the files.
void pbRunFinished(); //< Called when the FileFinder has finished finding the files.
private:
Ui::ISISDiagnostics m_uiForm;
};
namespace MantidQt {
namespace CustomInterfaces {
/** ISISDiagnostics
Handles time integration diagnostics for ISIS instruments.
@author Dan Nixon
@date 23/07/2014
Copyright &copy; 2013 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge
National Laboratory & European Spallation Source
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 ISISDiagnostics : public IndirectDataReductionTab {
Q_OBJECT
public:
ISISDiagnostics(IndirectDataReduction *idrUI, QWidget *parent = 0);
virtual ~ISISDiagnostics();
virtual void setup();
virtual void run();
virtual bool validate();
private slots:
void algorithmComplete(bool error);
void handleNewFile();
void sliceTwoRanges(QtProperty *, bool);
void sliceCalib(bool state);
void rangeSelectorDropped(double, double);
void doublePropertyChanged(QtProperty *, double);
void setDefaultInstDetails();
void updatePreviewPlot();
void sliceAlgDone(bool error);
void
pbRunEditing(); //< Called when a user starts to type / edit the runs to load.
void pbRunFinding(); //< Called when the FileFinder starts finding the files.
void pbRunFinished(); //< Called when the FileFinder has finished finding the
//files.
private:
Ui::ISISDiagnostics m_uiForm;
};
} // namespace CustomInterfaces
} // namespace Mantid
#endif //MANTIDQTCUSTOMINTERFACES_ISISDIAGNOSTICS_H_
#endif // MANTIDQTCUSTOMINTERFACES_ISISDIAGNOSTICS_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment