OSSP CVS Repository

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

Check-in Number: 2909
Date: 2002-Nov-27 18:11:06 (local)
2002-Nov-27 17:11:06 (UTC)
User:ms
Branch:
Comment: Add class TiTable just to override normal cell highlighting, and correct delete entry button label.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/as_assist.cpp      1.29 -> 1.30     2 inserted, 2 deleted
ossp-pkg/as/as-gui/as_gui.h      1.30 -> 1.31     2 inserted, 1 deleted
ossp-pkg/titraq/titassist.cpp      1.29 -> 1.30     2 inserted, 2 deleted
ossp-pkg/titraq/titraq.h      1.30 -> 1.31     2 inserted, 1 deleted

ossp-pkg/as/as-gui/as_assist.cpp 1.29 -> 1.30

--- as_assist.cpp        2002/11/26 23:26:07     1.29
+++ as_assist.cpp        2002/11/27 17:11:06     1.30
@@ -192,7 +192,7 @@
     m_pAddrowact->setWhatsThis(kszAddrowtext);
 
     // Delete data row action
-    m_pDelrowact = new QAction(trUtf8("Del Row"), QPixmap(s_kpcRowdel_xpm), trUtf8("&Delete row"), 0, this, "Delrow");
+    m_pDelrowact = new QAction(trUtf8("Delete Row"), QPixmap(s_kpcRowdel_xpm), trUtf8("&Delete row"), 0, this, "Delrow");
     if (m_pDelrowact == NULL)       // Sanity check
         throw Genexcept("Main window delete row action creation failed.");
     connect(m_pDelrowact, SIGNAL(activated()), this, SLOT(delEntry()));
@@ -397,7 +397,7 @@
 void Titraqform::setupTable(void)
 {
     // The table itself
-    m_pMaintable = new QTable(m_pCenframe, "Maintable");
+    m_pMaintable = new Titable(m_pCenframe, "Maintable");
     if (m_pMaintable == NULL)   // Sanity check
         throw Genexcept("Main window table creation failed.");
     m_pMaintable->setNumCols(g_knCols);


ossp-pkg/as/as-gui/as_gui.h 1.30 -> 1.31

--- as_gui.h     2002/11/26 22:22:53     1.30
+++ as_gui.h     2002/11/27 17:11:06     1.31
@@ -19,6 +19,7 @@
 #include "titconst.h"       // For general constants
 #include "titprefs.h"       // For class Preferences
 #include "titamount.h"      // For class AmountBox
+#include "titable.h"        // For class TiTable
 
 // Intentional no operation
 #define TITRAQ_NOP ((void)0)
@@ -60,7 +61,7 @@
     QAction     *m_pPasteact,     *m_pWritedataact;
 
     // Table, cells, and entries in package layout
-    QTable      *m_pMaintable;
+    TiTable     *m_pMaintable;
     QHeader     *m_pTablehead;
     QStringList *m_pTaskentries;
 



CVSTrac 2.0.1