ossp-pkg/as/as-gui/as_table.cpp 1.5 -> 1.6
--- as_table.cpp 2002/12/03 17:05:11 1.5
+++ as_table.cpp 2002/12/06 16:16:07 1.6
@@ -39,6 +39,10 @@
{
if (pObject == horizontalHeader() && pEvent->type() == QEvent::MouseButtonDblClick)
return true;
+ if (pEvent->type() == QEvent::MouseButtonPress &&
+ (((QMouseEvent *)pEvent)->button() == QMouseEvent::RightButton) ||
+ (((QMouseEvent *)pEvent)->button() == QMouseEvent::MidButton))
+ return true;
else if (pEvent->type() == QEvent::KeyPress) {
if (((QKeyEvent *)pEvent)->key() == Qt::Key_Tab) { // Handle tab key
if (this->getEdition() >= 0) {
|
|