Check-in Number:
|
2885 | |
Date: |
2002-Nov-25 12:23:35 (local)
2002-Nov-25 11:23:35 (UTC) |
User: | ms |
Branch: | |
Comment: |
Fix alignment and editing style problem. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/as/as-gui/TODO 1.14 -> 1.15
--- TODO 2002/11/24 23:11:56 1.14
+++ TODO 2002/11/25 11:23:35 1.15
@@ -26,6 +26,7 @@
Implement missing interface methods
Review destruction of all members, compare with setupPrefs
Memory optimization needed in tidataops
+QTable::valueChanged(int row, int col) should be responsible for dirty flag
Dreams
------
|
|
ossp-pkg/as/as-gui/as_assist.cpp 1.13 -> 1.14
--- as_assist.cpp 2002/11/24 20:39:31 1.13
+++ as_assist.cpp 2002/11/25 11:23:35 1.14
@@ -308,6 +308,7 @@
m_pMaintable->setReadOnly(true); // Table is read only
m_pMaintable->setColumnMovingEnabled(false); // Ctrl-drag disabled
m_pMaintable->setSelectionMode(QTable::MultiRow); // Multi row selection
+ m_pMaintable->setFocusStyle(QTable::FollowStyle); // How cells are drawn
m_pMaintable->setLeftMargin(0); // Get rid of the vertical header
m_pMaintable->verticalHeader()->hide(); // by hiding it with a margin of 0
m_pMaintable->horizontalHeader()->setResizeEnabled(true);
|
|
ossp-pkg/as/as-gui/as_tableitem.h 1.1 -> 1.2
--- as_tableitem.h 2002/11/22 19:49:19 1.1
+++ as_tableitem.h 2002/11/25 11:23:35 1.2
@@ -5,7 +5,7 @@
class RtTableItem : public QTableItem
{
public:
- RtTableItem(QTable *pTable, EditType eType, const QString &Text) : QTableItem(pTable, eType, Text) {m_nOwnalign = AlignRight;};
+ RtTableItem(QTable *pTable, EditType eType, const QString &Text) : QTableItem(pTable, eType, Text) {m_nOwnalign = AlignRight | Qt::AlignVCenter;};
void setAlignment(int nAlign) {m_nOwnalign = nAlign;};
int alignment() const {return m_nOwnalign;};
|
|