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

Method mousePressEvent

Modules/QtWidgetsExt/src/QmitkColorPropertyEditor.cpp:246–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void QmitkColorPropertyEditor::mousePressEvent(QMouseEvent *e)
247{
248 connect(colorChooser, SIGNAL(colorSelected(QColor)), this, SLOT(onColorSelected(QColor)));
249 if (m_ColorProperty)
250 {
251 colorChooser->popup(this, e->pos(), &(m_ColorProperty->GetColor()));
252 }
253}
254
255void QmitkColorPropertyEditor::mouseReleaseEvent(QMouseEvent *)
256{

Callers

nothing calls this directly

Calls 2

popupMethod · 0.80
GetColorMethod · 0.45

Tested by

no test coverage detected