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 @@ ...@@ -8,83 +8,82 @@
// Suppress a warning coming out of code that isn't ours // Suppress a warning coming out of code that isn't ours
#if defined(__INTEL_COMPILER) #if defined(__INTEL_COMPILER)
#pragma warning disable 1125 #pragma warning disable 1125
#elif defined(__GNUC__) #elif defined(__GNUC__)
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6 ) #if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6)
#pragma GCC diagnostic push #pragma GCC diagnostic push
#endif #endif
#pragma GCC diagnostic ignored "-Woverloaded-virtual" #pragma GCC diagnostic ignored "-Woverloaded-virtual"
#endif #endif
#include <QtCheckBoxFactory> #include <QtCheckBoxFactory>
#if defined(__INTEL_COMPILER) #if defined(__INTEL_COMPILER)
#pragma warning enable 1125 #pragma warning enable 1125
#elif defined(__GNUC__) #elif defined(__GNUC__)
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6 ) #if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 6)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif
#endif #endif
namespace MantidQt namespace MantidQt {
{ namespace CustomInterfaces {
namespace CustomInterfaces /** ISISDiagnostics
{ Handles time integration diagnostics for ISIS instruments.
/** ISISDiagnostics
Handles time integration diagnostics for ISIS instruments. @author Dan Nixon
@date 23/07/2014
@author Dan Nixon
@date 23/07/2014 Copyright &copy; 2013 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge
National Laboratory & European Spallation Source
Copyright &copy; 2013 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge National Laboratory & European Spallation Source
This file is part of Mantid.
This file is part of Mantid.
Mantid is free software; you can redistribute it and/or modify
Mantid is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or
the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
(at your option) any later version.
Mantid is distributed in the hope that it will be useful,
Mantid is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <http://www.gnu.org/licenses/>.
File change history is stored at: <https://github.com/mantidproject/mantid>
File change history is stored at: <https://github.com/mantidproject/mantid> Code Documentation is available at: <http://doxygen.mantidproject.org>
Code Documentation is available at: <http://doxygen.mantidproject.org> */
*/ class DLLExport ISISDiagnostics : public IndirectDataReductionTab {
class DLLExport ISISDiagnostics : public IndirectDataReductionTab Q_OBJECT
{
Q_OBJECT public:
ISISDiagnostics(IndirectDataReduction *idrUI, QWidget *parent = 0);
public: virtual ~ISISDiagnostics();
ISISDiagnostics(IndirectDataReduction * idrUI, QWidget * parent = 0);
virtual ~ISISDiagnostics(); virtual void setup();
virtual void run();
virtual void setup(); virtual bool validate();
virtual void run();
virtual bool validate(); private slots:
void algorithmComplete(bool error);
private slots: void handleNewFile();
void algorithmComplete(bool error); void sliceTwoRanges(QtProperty *, bool);
void handleNewFile(); void sliceCalib(bool state);
void sliceTwoRanges(QtProperty*, bool); void rangeSelectorDropped(double, double);
void sliceCalib(bool state); void doublePropertyChanged(QtProperty *, double);
void rangeSelectorDropped(double, double); void setDefaultInstDetails();
void doublePropertyChanged(QtProperty*, double); void updatePreviewPlot();
void setDefaultInstDetails(); void sliceAlgDone(bool error);
void updatePreviewPlot(); void
void sliceAlgDone(bool error); pbRunEditing(); //< Called when a user starts to type / edit the runs to load.
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 pbRunFinding(); //< Called when the FileFinder starts finding the files. void pbRunFinished(); //< Called when the FileFinder has finished finding the
void pbRunFinished(); //< Called when the FileFinder has finished finding the files. //files.
private: private:
Ui::ISISDiagnostics m_uiForm; Ui::ISISDiagnostics m_uiForm;
};
};
} // namespace CustomInterfaces } // namespace CustomInterfaces
} // namespace Mantid } // 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