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

Method OnButtonClicked

Modules/QtWidgets/src/QmitkPropertyItemDelegate.cpp:74–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void QmitkColorWidget::OnButtonClicked()
75{
76 QColor color = QColorDialog::getColor(m_Color, QApplication::activeWindow());
77
78 if (color.isValid())
79 {
80 this->SetColor(color);
81 emit ColorPicked();
82 }
83}
84
85QmitkComboBoxListView::QmitkComboBoxListView(QComboBox *comboBox) : m_ComboBox(comboBox)
86{

Callers

nothing calls this directly

Calls 1

SetColorMethod · 0.95

Tested by

no test coverage detected