Index: ossp-pkg/as/as-gui/TODO RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/TODO,v rcsdiff -q -kk '-r1.57' '-r1.58' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/TODO,v' 2>/dev/null --- TODO 2002/12/20 13:25:04 1.57 +++ TODO 2002/12/20 15:13:52 1.58 @@ -27,19 +27,16 @@ After every result write a status bar message On sort, selection should move with swapped rows On multiple selection, no text should appear in edit ctrls +Make consistent setEdition(), setDirty() default parameters -Bugs ----- +Bugs (? = unverified) +--------------------- Overidden paintCell() might not work when called asynchronously? Sometimes a click on add or delete toolbar button is ignored? +When multiple new rows are added sometimes wrong row shading? Disabled actions still show enabled icons in menu popups Pressing escape on task data cells does not exit edit mode -When multiple new rows are added sometimes wrong row shading - Verified: Start prog, newDoc, addRow five times -On load, first row is duplicated and appended to end of matrix - Or: last row is duplicated, prepended to matrix, replaces a row there - Nice to have ------------ Implement an unlimited and generic undo and redo buffer class 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.77' '-r1.78' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v' 2>/dev/null --- as_assist.cpp 2002/12/20 13:25:04 1.77 +++ as_assist.cpp 2002/12/20 15:13:52 1.78 @@ -918,6 +918,7 @@ // void Titraqform::enableIface(bool bTurned) { + // FIXME: Does not belong here, so relocate if (!bTurned) m_pMaintable->setNumRows(0); // Remove table data @@ -947,6 +948,6 @@ m_pPasteact->setEnabled(bTurned); // Unconditional settings - this->updEdit(0, 0); // Update edit controls - m_pMaintable->setDirty(false); // Reset to clean data + this->updEdit(m_pMaintable->currentRow(), 0); // Update edit controls + m_pMaintable->setDirty(false); // Reset to clean data } 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.30' '-r1.31' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_dataop.cpp,v' 2>/dev/null --- as_dataop.cpp 2002/12/19 20:46:26 1.30 +++ as_dataop.cpp 2002/12/20 15:13:52 1.31 @@ -41,7 +41,6 @@ #include "as_gfx/staterr.xpm" // static const char *s_kpcStaterror_xpm[] #include "as_gfx/statwrn.xpm" // static const char *s_kpcStatwarn_xpm[] -#include // // Convenience method to load accounts from a file 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.73' '-r1.74' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v' 2>/dev/null --- as_slot.cpp 2002/12/19 20:46:26 1.73 +++ as_slot.cpp 2002/12/20 15:13:52 1.74 @@ -262,14 +262,7 @@ this->setCaption(trUtf8("No file name")); m_pStatbar->message(trUtf8("New document"), 4000); this->setFilename(""); - - // Reset widget text of edit controls - m_pDateedit->setDate(*m_pDatezero); - m_pStarttime->setTime(QTime::QTime(0, 0)); - m_pEndtime->setTime(QTime::QTime(0, 0)); - m_pAmount->setText(NULL); - m_pTasks->setCurrentText(NULL); - m_pRemark->setText(NULL); + this->updEdit(0, 0); // Update edit controls } //