41#include "ui_applytoview.h"
47using namespace DISPLIB;
57, m_sSettingsPath(sSettingsPath)
58, m_pUi(new Ui::ApplyToViewWidget)
61 this->setMinimumWidth(330);
63 connect(m_pUi->m_pushButtonAll, &QPushButton::clicked,
66 connect(m_pUi->m_pushButtonClear, &QPushButton::clicked,
72ApplyToView::~ApplyToView()
96 case GuiMode::Clinical:
108 case ProcessingMode::Offline:
121 m_pUi->m_checkBoxSignaViewer->setChecked(
true);
122 m_pUi->m_checkBoxButterfly->setChecked(
true);
123 m_pUi->m_checkBoxLayout->setChecked(
true);
132 m_pUi->m_checkBoxSignaViewer->setChecked(
false);
133 m_pUi->m_checkBoxButterfly->setChecked(
false);
134 m_pUi->m_checkBoxLayout->setChecked(
false);
139QList<QString> ApplyToView::getSelectedViews()
143 m_lViewList.append(
"null");
145 if (m_pUi->m_checkBoxSignaViewer->isChecked()) {
146 m_lViewList.append(
"signalview");
148 if (m_pUi->m_checkBoxButterfly->isChecked()) {
149 m_lViewList.append(
"butterflyview");
151 if (m_pUi->m_checkBoxLayout->isChecked()){
152 m_lViewList.append(
"layoutview");
Declaration of the ApplyToView Class.
The AbstractView class provides the base calss for all Disp viewers.
ApplyToView(const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
ApplyToView.
void updateProcessingMode(ProcessingMode mode)
void updateGuiMode(GuiMode mode)