@@ -134,6 +134,7 @@ void IIOConfigurationPopup::init()
134134
135135 Q_EMIT selectButtonClicked (iioItem);
136136 });
137+ QObject::connect (m_emptyButton, &QPushButton::clicked, this , &IIOConfigurationPopup::emptyButtonClicked);
137138 QObject::connect (m_exitButton, &QPushButton::clicked, this , &IIOConfigurationPopup::exitButtonClicked);
138139 m_selectButton->setDisabled (true );
139140}
@@ -161,12 +162,11 @@ void IIOConfigurationPopup::initUI()
161162 buttonGroupLayout->setSpacing (10 );
162163
163164 m_selectButton = new QPushButton (" Select" , buttonGroup);
164- m_selectButton->setObjectName (" selectButton" );
165-
165+ m_emptyButton = new QPushButton (" No Data" , buttonGroup);
166166 m_exitButton = new QPushButton (" Exit" , buttonGroup);
167- m_exitButton->setObjectName (" exitButton" );
168167
169168 buttonGroupLayout->addWidget (m_exitButton);
169+ buttonGroupLayout->addWidget (m_emptyButton);
170170 buttonGroupLayout->addWidget (m_selectButton);
171171
172172 backgroundLayout->addWidget (m_titleLabel);
@@ -175,9 +175,10 @@ void IIOConfigurationPopup::initUI()
175175
176176 backgroundWidget->setLayout (backgroundLayout);
177177
178- StyleHelper::TutorialChapterTitleLabel (m_titleLabel, " titleLabel" );
179- StyleHelper::BlueButton (m_selectButton, " selectButton" );
180- StyleHelper::BlueButton (m_exitButton, " exitButton" );
178+ StyleHelper::TutorialChapterTitleLabel (m_titleLabel, " TitleLabel" );
179+ StyleHelper::BlueButton (m_selectButton, " SelectButton" );
180+ StyleHelper::BlueButton (m_emptyButton, " EmptyButton" );
181+ StyleHelper::BlueButton (m_exitButton, " ExitButton" );
181182 StyleHelper::OverlayMenu (this , " IIOConfigurationPopupOverlay" );
182183}
183184
0 commit comments