MCPcopy Create free account
hub / github.com/MITK/MITK / SetErrorText

Method SetErrorText

Modules/QtWidgets/src/QmitkNodeSelectionDialog.cpp:169–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void QmitkNodeSelectionDialog::SetErrorText(const std::string& checkResponse)
170{
171 m_Controls->error->setText(QString::fromStdString(checkResponse));
172 m_Controls->error->setVisible(!checkResponse.empty());
173 if (checkResponse.empty())
174 {
175 m_Controls->layoutError->setContentsMargins(0, 0, 0, 0);
176 }
177 else
178 {
179 m_Controls->layoutError->setContentsMargins(6, 6, 6, 6);
180 }
181}
182
183bool QmitkNodeSelectionDialog::GetSelectOnlyVisibleNodes() const
184{

Callers 1

Calls 2

setTextMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected