Index: ossp-pkg/as/as-gui/TODO RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/TODO,v rcsdiff -q -kk '-r1.59' '-r1.60' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/TODO,v' 2>/dev/null --- TODO 2002/12/20 18:19:12 1.59 +++ TODO 2003/01/16 08:26:29 1.60 @@ -14,6 +14,7 @@ Generally maintain Preference class Implement missing interface methods Review destruction of all members, compare with setupPrefs +Some menus are defined QPopupMenu in header, some in code Memory optimization needed in tidataops Check all identifiers for undeutig unique scope Remove magic numbers from cpp files to titconst like TITRAQ_INDEXREMARK @@ -39,6 +40,7 @@ Nice to have ------------ +After undo and backup, implement drag and drop row swapping Implement an unlimited and generic undo and redo buffer class Support pasting into as_gui from other app (like vim) Add optional automatic file personal data file backup 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.79' '-r1.80' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v' 2>/dev/null --- as_assist.cpp 2002/12/20 17:42:10 1.79 +++ as_assist.cpp 2003/01/16 08:26:29 1.80 @@ -80,6 +80,8 @@ #include "as_gfx/statvoid.xpm" // static const char *s_kpcStatvoid_xpm[] #include "as_gfx/refresh.xpm" // static const char *s_kpcRefresh_xpm[] #include "as_gfx/refreshd.xpm" // static const char *s_kpcDrefresh_xpm[] +#include "as_gfx/sync.xpm" // static const char *s_kpcSync_xpm[] +#include "as_gfx/syncd.xpm" // static const char *s_kpcDsync_xpm[] // @@ -177,7 +179,7 @@ void Titraqform::setupActions(void) { QIconSet Saveiset, Cutiset, Copyiset, Pasteiset; - QIconSet Rowaddiset, Rowdeliset, Refreshiset; + QIconSet Rowaddiset, Rowdeliset, Refreshiset, Synciset; // Construct iconsets to use later for multistate action images Saveiset.setPixmap(QPixmap(s_kpcFilesave_xpm), QIconSet::Automatic, QIconSet::Normal); @@ -194,6 +196,8 @@ Rowdeliset.setPixmap(QPixmap(s_kpcDrowdel_xpm), QIconSet::Automatic, QIconSet::Disabled); Refreshiset.setPixmap(QPixmap(s_kpcRefresh_xpm), QIconSet::Automatic, QIconSet::Normal); Refreshiset.setPixmap(QPixmap(s_kpcDrefresh_xpm), QIconSet::Automatic, QIconSet::Disabled); + Synciset.setPixmap(QPixmap(s_kpcSync_xpm), QIconSet::Automatic, QIconSet::Normal); + Synciset.setPixmap(QPixmap(s_kpcDsync_xpm), QIconSet::Automatic, QIconSet::Disabled); // First associate the graphics with MIME types QMimeSourceFactory::defaultFactory()->setPixmap("osspicon", QPixmap(s_kpcOsspicon_xpm)); @@ -209,7 +213,7 @@ // File new action m_pFilenewact = new QAction(trUtf8("New File"), QPixmap(s_kpcFilenew_xpm), trUtf8("&New..."), CTRL+Key_N, this, "New"); - if (m_pFilenewact == NULL) // Sanity check + if (m_pFilenewact == NULL) // Sanity check throw Genexcept("Main window file new action creation failed."); connect(m_pFilenewact, SIGNAL(activated()), this, SLOT(newDoc())); const char *kszFilenewtext = "
"
@@ -266,7 +270,7 @@
// Cut action
m_pCutact = new QAction(trUtf8("Cut"), Cutiset, trUtf8("&Cut"), CTRL+Key_X, this, "Cut");
- if (m_pCutact == NULL) // Sanity check
+ if (m_pCutact == NULL) // Sanity check
throw Genexcept("Main window cut edit action creation failed.");
connect(m_pCutact, SIGNAL(activated()), this, SLOT(cutEntry()));
const char *kszCuttext = "
"
@@ -277,7 +281,7 @@
// Copy action
m_pCopyact = new QAction(trUtf8("Copy"), Copyiset, trUtf8("&Copy"), CTRL+Key_C, this, "Copy");
- if (m_pCopyact == NULL) // Sanity check
+ if (m_pCopyact == NULL) // Sanity check
throw Genexcept("Main window copy edit action creation failed.");
connect(m_pCopyact, SIGNAL(activated()), this, SLOT(copyEntry()));
const char *kszCopytext = "
"
@@ -288,7 +292,7 @@
// Paste action
m_pPasteact = new QAction(trUtf8("Paste"), Pasteiset, trUtf8("&Paste"), CTRL+Key_V, this, "Paste");
- if (m_pPasteact == NULL) // Sanity check
+ if (m_pPasteact == NULL) // Sanity check
throw Genexcept("Main window paste edit action creation failed.");
connect(m_pPasteact, SIGNAL(activated()), this, SLOT(pasteEntry()));
const char *kszPastetext = "
"
@@ -299,7 +303,7 @@
// Add data row action
m_pAddrowact = new QAction(trUtf8("Add Row"), Rowaddiset, trUtf8("&Add row"), Key_Insert, this, "Addrow");
- if (m_pAddrowact == NULL) // Sanity check
+ if (m_pAddrowact == NULL) // Sanity check
throw Genexcept("Main window add row action creation failed.");
connect(m_pAddrowact, SIGNAL(activated()), this, SLOT(addEntry()));
const char *kszAddrowtext = "
"
@@ -310,7 +314,7 @@
// Delete data row action
m_pDelrowact = new QAction(trUtf8("Delete Row"), Rowdeliset, trUtf8("&Delete row"), Key_Delete, this, "Delrow");
- if (m_pDelrowact == NULL) // Sanity check
+ if (m_pDelrowact == NULL) // Sanity check
throw Genexcept("Main window delete row action creation failed.");
connect(m_pDelrowact, SIGNAL(activated()), this, SLOT(delEntry()));
const char *kszDelrowtext = "
"
@@ -321,7 +325,7 @@
// Refresh data display action
m_pRefreshact = new QAction(trUtf8("Refresh Display"), Refreshiset, trUtf8("&Refresh display"), CTRL+Key_R, this, "Refresh");
- if (m_pRefreshact == NULL) // Sanity check
+ if (m_pRefreshact == NULL) // Sanity check
throw Genexcept("Main window refresh action creation failed.");
connect(m_pRefreshact, SIGNAL(activated()), this, SLOT(refreshDisplay()));
const char *kszRefreshtext = "
"
@@ -329,6 +333,30 @@
"You can also select the Refresh command "
"from the View menu.
"
+ "Click this button to synchronize the data. "
+ "Your changed entries will be sent to the server. "
+ "You can also select the Synchronize command "
+ "from the Report menu.
"
+ "Click this button to synchronize the data. "
+ "Your changed entries will be sent to the server. "
+ "You can also select the Synchronize command "
+ "from the Report menu.