Example #1
0
void TextEditor::mouseReleaseEvent(QMouseEvent *e)
{
	Q_UNUSED(e);
	if (m_parameterMode) {
		emit requestParameterModeExit();
	}
}
Example #2
0
void TextEditor::mouseReleaseEvent(QMouseEvent *e)
{
	QTextEdit::mouseReleaseEvent(e); // and do all the necessary qt job
	if (m_parameterMode) {
		emit requestParameterModeExit();
	}

}