Commit 1a8dbd72 authored by Zhou, Wenduo's avatar Zhou, Wenduo
Browse files

Release notes and clean up data.

parent 11120f37
...@@ -10,5 +10,7 @@ New and Improved ...@@ -10,5 +10,7 @@ New and Improved
Bugfixes 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>`
...@@ -38,7 +38,7 @@ private slots: ...@@ -38,7 +38,7 @@ private slots:
void setDefaultAccumulationMethod(const QString & /*listener*/); void setDefaultAccumulationMethod(const QString & /*listener*/);
void updateUiElements(const QString & /*inst*/); void updateUiElements(const QString & /*inst*/);
void accept() override; void accept() override;
void initListenerPropLayout(const QString & /*listener*/); void initListenerPropLayout();
void updateConnectionChoices(const QString &inst_name); void updateConnectionChoices(const QString &inst_name);
void updateConnectionDetails(const QString &connection); void updateConnectionDetails(const QString &connection);
......
...@@ -185,7 +185,7 @@ void StartLiveDataDialog::initLayout() { ...@@ -185,7 +185,7 @@ void StartLiveDataDialog::initLayout() {
updateConnectionChoices(ui.cmbInstrument->currentText()); updateConnectionChoices(ui.cmbInstrument->currentText());
updateConnectionDetails(ui.cmbConnection->currentText()); updateConnectionDetails(ui.cmbConnection->currentText());
setDefaultAccumulationMethod(ui.cmbConnListener->currentText()); setDefaultAccumulationMethod(ui.cmbConnListener->currentText());
initListenerPropLayout(ui.cmbConnListener->currentText()); initListenerPropLayout();
//=========== SLOTS ============= //=========== SLOTS =============
connect(ui.processingAlgo, SIGNAL(changedAlgorithm()), this, SLOT(changeProcessingAlgorithm())); connect(ui.processingAlgo, SIGNAL(changedAlgorithm()), this, SLOT(changeProcessingAlgorithm()));
...@@ -394,7 +394,7 @@ void StartLiveDataDialog::accept() { ...@@ -394,7 +394,7 @@ void StartLiveDataDialog::accept() {
* *
* @param listener Name of the LiveListener class that is selected * @param listener Name of the LiveListener class that is selected
*/ */
void StartLiveDataDialog::initListenerPropLayout(const QString &listener) { void StartLiveDataDialog::initListenerPropLayout() {
// remove previous listener's properties // remove previous listener's properties
auto props = m_algorithm->getPropertiesInGroup("ListenerProperties"); auto props = m_algorithm->getPropertiesInGroup("ListenerProperties");
for (auto &prop : props) { for (auto &prop : props) {
...@@ -406,12 +406,7 @@ void StartLiveDataDialog::initListenerPropLayout(const QString &listener) { ...@@ -406,12 +406,7 @@ void StartLiveDataDialog::initListenerPropLayout(const QString &listener) {
// update algorithm's properties // update algorithm's properties
if (ui.cmbInstrument->currentText().toStdString() != "") { 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 // create or clear the layout
std::cout << "Listerner " << listener.toStdString() << " will not be used here"
<< "\n";
QLayout *layout = ui.listenerProps->layout(); QLayout *layout = ui.listenerProps->layout();
if (!layout) { if (!layout) {
QGridLayout *listenerPropLayout = new QGridLayout(ui.listenerProps); QGridLayout *listenerPropLayout = new QGridLayout(ui.listenerProps);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment