TODO in clevic-0.7.0 vs TODO in clevic-0.8.0

- old
+ new

@@ -1,33 +1,34 @@ -Make sure shortcuts don't edit a read-only field +rename model_class to entity_class, and related terminology clarification. +tests +allow directories for a setup. Problem here is tab order. +metadata for virtual fields +exception when ditto-left/right to a field with incompatible type generate models - DrySQL +allow moving of tabs +habtm relations +has_many :through +composed_of & aggregates +generate schema from definition? See rubyforge Ctrl-PgDn to last row in this column. Also extend selection sorting by header. See void QAbstractItemModel::sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - layoutChanged -search with acts_as_searchable and hyperestraier - undo - acts_as_trashable to undo deletes - other commands. Possibly via ActiveRecord callbacks? - Keep a history of changes, ie xy, new. xy, changed. x,y copied etc. +- Use Transaction::Simple? +- undo of field changes Using F4 to open list, and then selecting from the combo and exiting using Return (or tab?) doesn't set the correct value wrap description, and allow Access-style zooming - -search in relational fields doesn't work because the search value is compared to the id of the related record -Use Webrick as a way to export CSV reports? -See Ruport and Documatic for reports - -generate models - DrySQL Ctrl-PgDn to last row in this column. Also extend selection sorting by header. See void QAbstractItemModel::sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) - layoutChanged search with acts_as_searchable and hyperestraier -acts_as_trashable to undo deletes -implement undo of field changes moving of columns /-style keyboard search by selected column, or everything if no column selected /-style filtering? @@ -39,20 +40,26 @@ save context menu settings, filter settings, etc filtering by various things. http://doc.trolltech.com/4.3/qsortfilterproxymodel.html highlighting by various things cut and paste (in model format) -drop cached model objects from CacheTable when they're not in use +drop cached model objects from CacheTable when they're not in use. WeakRef? allow scroll viewport to centre when at end of dataset QAbstractItemView::ScrollHint \value EnsureVisible Scroll to ensure that the item is visible. \value PositionAtTop Scroll to position the item at the top of the viewport. \value PositionAtBottom Scroll to position the item at the bottom of the viewport. \value PositionAtCenter Scroll to position the item at the center of the viewport. +Reports +------- +Use Webrick as a way to export CSV reports? +See Ruport and Documatic for reports +Ruby Datavision Bridge for reports + OSX --- Check that qtruby4 runs on OSX and so does Clevic. It does. Very slowly on Mac Mini with Motorola. windows @@ -81,11 +88,11 @@ shortcut sets, depending on which OS you're used. use QKeyEvent::matches ( QKeySequence::StandardKey key ) Doing data capture, sort by id, but unfilter reverts to date/id rather than entry order optional warnings for back-dated entries. Highlighting -make sure bsearch easier to install +make bsearch easier to install handle db errors easier way to run models, search LOAD_PATH cache belongs_to associations, during loading, but don't affect ability to pick up @@ -95,18 +102,26 @@ ----------- store previous searches, by model & app maybe ----- +acts_as_shellable looks nices +consolidate read-only-ness checks Look at DataMapper. Not suitable - need to declare properties. use rubigen for creating model definition files +ActiveMDB for migrating. allow moving of rows discontiguous copying of entities/csv multi-row copying pasting of csv, into rectangular regions collect a set of data requests to the model, and do them in one SQL query. See EntryTableView#moveCursor Use SQL cursors for find & find_next? Use roo to parse spreadsheets? +Criteria for SQL statement building http://criteria.rubyforge.org/ +SqlCache +SqlStatement +Csv2Sql +QueryBuilder Accounts -------- paste of "common" records with different dates restricted type for Account Type record