Index: ossp-pkg/as/as-gui/TODO RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/TODO,v rcsdiff -q -kk '-r1.37' '-r1.38' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/TODO,v' 2>/dev/null --- TODO 2002/12/11 16:00:47 1.37 +++ TODO 2002/12/12 17:14:49 1.38 @@ -68,6 +68,7 @@ Sometimes a click on add or delete toolbar button is ignored? Pasting into as_gui from other app (vim) doesn't work Opening a zero length file introduces out of range warnings +Pressing escape on task data cells does not exit edit mode Code snippits ------------- 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.60' '-r1.61' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v' 2>/dev/null --- as_assist.cpp 2002/12/12 16:20:15 1.60 +++ as_assist.cpp 2002/12/12 17:14:49 1.61 @@ -492,7 +492,7 @@ // Table header row m_pTablehead = m_pMaintable->horizontalHeader(); m_pMaintable->setHScrollBarMode(QScrollView::AlwaysOff); - m_pTablehead->setLabel(TITRAQ_IDXSTATUS, QObject::trUtf8("Stat"), 32); + m_pTablehead->setLabel(TITRAQ_IDXSTATUS, QObject::trUtf8("Stat"), 24); m_pMaintable->setColumnReadOnly (TITRAQ_IDXSTATUS, true); m_pTablehead->setLabel(TITRAQ_IDXLINE, QObject::trUtf8("Line"), 32); m_pMaintable->setColumnReadOnly (TITRAQ_IDXLINE, true); Index: ossp-pkg/as/as-gui/as_dataop.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_dataop.cpp,v rcsdiff -q -kk '-r1.17' '-r1.18' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_dataop.cpp,v' 2>/dev/null --- as_dataop.cpp 2002/12/10 13:08:29 1.17 +++ as_dataop.cpp 2002/12/12 17:14:49 1.18 @@ -29,12 +29,16 @@ // tidatops.cpp: ISO C++ implementation // +// Qt general headers #include // Portable regular expressions +// User interface #include "as_gui.h" // Main classes #include "as_except.h" // Exception classes #include "as_tableitem.h" // For class RtTableItem +// Icon pixel maps +#include "as_gfx/statok.xpm" // static const char *s_kpcStatokay_xpm[] // // Convenience method to load accounting data from a file @@ -153,6 +157,10 @@ if (Remark != NULL) m_pMaintable->setText(nIter, TITRAQ_IDXREMARK, Remark); + // Dynamically display status and line numbers + m_pMaintable->setPixmap(nIter, TITRAQ_IDXSTATUS, QPixmap(s_kpcStatokay_xpm)); + m_pMaintable->setText(nIter, TITRAQ_IDXLINE, (QString::number(nIter)).rightJustify(4, QChar('0'))); + nIter++; // The big increment Line = trUtf8(""); // Clear line for next round