OSSP CVS Repository

ossp - Check-in [4690]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4690
Date: 2004-Aug-26 21:12:48 (local)
2004-Aug-26 19:12:48 (UTC)
User:ms
Branch:
Comment: Draw a smoother loadData() display, eliminating unappealing flashes.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/ChangeLog      1.55 -> 1.56     2 inserted, 0 deleted
ossp-pkg/as/as-gui/as_dataop.cpp      1.55 -> 1.56     1 inserted, 1 deleted

ossp-pkg/as/as-gui/ChangeLog 1.55 -> 1.56

--- ChangeLog    2004/08/24 21:48:59     1.55
+++ ChangeLog    2004/08/26 19:12:48     1.56
@@ -1,5 +1,7 @@
 Geschichte des OSSP titraq in Vorwaerts Cronordnung
 
+040825 Implemented smoother loadData() display, eliminating unappealing flashes
+
 040824 Corrected with-qt expression as already indicated by configure --help
        Avoid forgotten save data loss by connecting QTable's valueChanged signal
        Corrected in place edition logic to work with newer Qt library editCell()


ossp-pkg/as/as-gui/as_dataop.cpp 1.55 -> 1.56

--- as_dataop.cpp        2004/08/20 17:47:07     1.55
+++ as_dataop.cpp        2004/08/26 19:12:48     1.56
@@ -348,9 +348,9 @@
     for (int nIter = m_pMaintable->numRows() - 1; nIter >= 0; nIter--)
         m_pMaintable->setText(nIter, TITRAQ_IDXLINE, QString::number(nIter).rightJustify(4, QChar('0')));
 
-    m_pMaintable->setUpdatesEnabled(true);      // Update and repaint
     m_pMaintable->setNumRows(nIter);            // No excess rows
     m_pMaintable->setCurrentCell(nIter - 1, 0); // Move focus to last row
+    m_pMaintable->setUpdatesEnabled(true);      // Update
     m_pMaintable->ensureCellVisible(nIter - 1, 0); // Scroll please
 
     if (!bValid)

CVSTrac 2.0.1