Index: ossp-pkg/as/as-gui/as_assist.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v rcsdiff -q -kk '-r1.31' '-r1.32' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v' 2>/dev/null --- as_assist.cpp 2002/11/27 17:13:13 1.31 +++ as_assist.cpp 2002/11/27 18:40:15 1.32 @@ -426,7 +426,7 @@ // Table update signals connect(m_pMaintable, SIGNAL(currentChanged(int, int)), this, SLOT(updEdit(int, int))); -// connect(m_pMaintable, SIGNAL(doubleClicked(int, int, int, const QPoint&)), this, SLOT(updEdit(int, int))); + connect(m_pMaintable, SIGNAL(doubleClicked(int, int, int, const QPoint&)), this, SLOT(inplaceEdit(int, int, int, const QPoint&))); // connect(m_pMaintable, SIGNAL(valueChanged(int, int)), this, SLOT(tableChanged(int, int))); } Index: ossp-pkg/as/as-gui/as_gui.h RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_gui.h,v rcsdiff -q -kk '-r1.31' '-r1.32' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_gui.h,v' 2>/dev/null --- as_gui.h 2002/11/27 17:11:06 1.31 +++ as_gui.h 2002/11/27 18:40:15 1.32 @@ -90,6 +90,7 @@ void aboutOSSP(void); // Learn more about the OSSP void aboutQt(void); // Learn more about Qt void selAll(void); // Edit menu select all + void inplaceEdit(int, int, int, const QPoint &); // Enter in place edit mode void updEdit(int, int); // Update edit controls void confirmEdit(void); // Confirm recent edition void configPrefs(void); // Edit menu configure preferences Index: ossp-pkg/as/as-gui/as_slot.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v rcsdiff -q -kk '-r1.23' '-r1.24' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v' 2>/dev/null --- as_slot.cpp 2002/11/26 23:26:07 1.23 +++ as_slot.cpp 2002/11/27 18:40:15 1.24 @@ -184,6 +184,16 @@ } // +// Edit a table entry in place, without the usual edit controls +// +void Titraqform::inplaceEdit(int nRow, int nCol, int nButton, const QPoint &Mousepos) +{ + m_pMaintable->setReadOnly(false); + m_pMaintable->editCell(nRow, nCol); + m_pMaintable->setReadOnly(true); +} + +// // Update the edit controls contents // void Titraqform::updEdit(int nRow, int nCol)