Check-in Number:
|
3864 | |
Date: |
2002-Dec-12 18:14:49 (local)
2002-Dec-12 17:14:49 (UTC) |
User: | ms |
Branch: | |
Comment: |
Added groovey valid check mark graphic for status column, and process line
numbers during load operation. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/as/as-gui/TODO 1.37 -> 1.38
--- 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
-------------
|
|
ossp-pkg/as/as-gui/as_assist.cpp 1.60 -> 1.61
--- 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);
|
|
ossp-pkg/as/as-gui/as_dataop.cpp 1.17 -> 1.18
--- 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 <qregexp.h> // 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
|
|