Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
1a8dbd72
Commit
1a8dbd72
authored
Sep 09, 2021
by
Zhou, Wenduo
Browse files
Release notes and clean up data.
parent
11120f37
Changes
3
Hide whitespace changes
Inline
Side-by-side
docs/source/release/v6.3.0/mantidworkbench.rst
View file @
1a8dbd72
...
...
@@ -10,5 +10,7 @@ New and Improved
Bugfixes
--------
- Fixed an issue to set up "Start Time" in `StartLiveDataDialog`.
:ref:`Release 6.3.0 <v6.3.0>`
\ No newline at end of file
:ref:`Release 6.3.0 <v6.3.0>`
qt/widgets/plugins/algorithm_dialogs/inc/MantidQtWidgets/Plugins/AlgorithmDialogs/StartLiveDataDialog.h
View file @
1a8dbd72
...
...
@@ -38,7 +38,7 @@ private slots:
void
setDefaultAccumulationMethod
(
const
QString
&
/*listener*/
);
void
updateUiElements
(
const
QString
&
/*inst*/
);
void
accept
()
override
;
void
initListenerPropLayout
(
const
QString
&
/*listener*/
);
void
initListenerPropLayout
();
void
updateConnectionChoices
(
const
QString
&
inst_name
);
void
updateConnectionDetails
(
const
QString
&
connection
);
...
...
qt/widgets/plugins/algorithm_dialogs/src/StartLiveDataDialog.cpp
View file @
1a8dbd72
...
...
@@ -185,7 +185,7 @@ void StartLiveDataDialog::initLayout() {
updateConnectionChoices
(
ui
.
cmbInstrument
->
currentText
());
updateConnectionDetails
(
ui
.
cmbConnection
->
currentText
());
setDefaultAccumulationMethod
(
ui
.
cmbConnListener
->
currentText
());
initListenerPropLayout
(
ui
.
cmbConnListener
->
currentText
()
);
initListenerPropLayout
();
//=========== SLOTS =============
connect
(
ui
.
processingAlgo
,
SIGNAL
(
changedAlgorithm
()),
this
,
SLOT
(
changeProcessingAlgorithm
()));
...
...
@@ -394,7 +394,7 @@ void StartLiveDataDialog::accept() {
*
* @param listener Name of the LiveListener class that is selected
*/
void
StartLiveDataDialog
::
initListenerPropLayout
(
const
QString
&
listener
)
{
void
StartLiveDataDialog
::
initListenerPropLayout
()
{
// remove previous listener's properties
auto
props
=
m_algorithm
->
getPropertiesInGroup
(
"ListenerProperties"
);
for
(
auto
&
prop
:
props
)
{
...
...
@@ -406,12 +406,7 @@ void StartLiveDataDialog::initListenerPropLayout(const QString &listener) {
// update algorithm's properties
if
(
ui
.
cmbInstrument
->
currentText
().
toStdString
()
!=
""
)
{
// There is no need to set up m_algorithm property here. It is done in parseInput()
// m_algorithm->setPropertyValue("Instrument", ui.cmbInstrument->currentText().toStdString());
// m_algorithm->setPropertyValue("Listener", listener.toStdString());
// create or clear the layout
std
::
cout
<<
"Listerner "
<<
listener
.
toStdString
()
<<
" will not be used here"
<<
"
\n
"
;
QLayout
*
layout
=
ui
.
listenerProps
->
layout
();
if
(
!
layout
)
{
QGridLayout
*
listenerPropLayout
=
new
QGridLayout
(
ui
.
listenerProps
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment