Mantid
Loading...
Searching...
No Matches
qt
widgets
common
src
SelectionNotificationService.cpp
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#include "
MantidQtWidgets/Common/SelectionNotificationService.h
"
8
9
using namespace
MantidQt::API
;
10
14
SelectionNotificationServiceImpl::SelectionNotificationServiceImpl
() {}
15
33
void
SelectionNotificationServiceImpl::sendQPointSelection
(
bool
lab_coords,
double
qx,
double
qy,
double
qz) {
34
emit
QPointSelection_signal
(lab_coords, qx, qy, qz);
35
// std::cout << "QPointSelection_signal emitted\n";
36
}
SelectionNotificationService.h
MantidQt::API::SelectionNotificationServiceImpl::sendQPointSelection
void sendQPointSelection(bool lab_coords, double qx, double qy, double qz)
Emit the QPointSelection_signal, callable from any thread.
Definition
SelectionNotificationService.cpp:33
MantidQt::API::SelectionNotificationServiceImpl::SelectionNotificationServiceImpl
SelectionNotificationServiceImpl()
private constructor, since SelectionNotificationService is a singleton
Definition
SelectionNotificationService.cpp:14
MantidQt::API::SelectionNotificationServiceImpl::QPointSelection_signal
void QPointSelection_signal(bool, double, double, double)
MantidQt::API
Definition
AlgorithmDialog.h:62
Generated by
1.9.8