pavelpa [Mon, 18 Jan 2010 11:46:43 +0000 (11:46 +0000)]
used 'MAEMO' define to create 'non-virtual' 'VIRUAL_EVENT' table
instead of 'virtual' one, only for 'MAEMO'
Linux stays untouched - creates real 'virtual' table for FTS support
pavelpa [Mon, 18 Jan 2010 08:49:50 +0000 (08:49 +0000)]
fix: segfault
- fixes segfault when switching days in "Day View"
- TODO: needs to be verified, 'cause it looks like
it shouldn't work, but it does
- when calling 'QAbstractItemModel::removeRows()' it returns false,
but it prevents application from crash(segfault)
- possible explanation is that the timing has changed and so the
conditions for the segfault
pavelpa [Sun, 17 Jan 2010 19:31:04 +0000 (19:31 +0000)]
implemented method to force 'EventModel' emit a signal
dataChanged() - so 'TreeView' know it has to redraw items
corresponding to chanded indices (range of indeces)
pavelpa [Sun, 17 Jan 2010 18:19:45 +0000 (18:19 +0000)]
created 'global.pri' file, which should cover all
global definition of the project
- this file has to be include in each "*.pro" file, where it's needed
- defines "MAEMO" for handling 'MAEMO' specific code in source files
- defines "maemo" for handling 'MAEMO' specific files in "*.pro" file(s)
pavelpa [Sun, 17 Jan 2010 17:18:22 +0000 (17:18 +0000)]
started work on 'favourities'
- created tavourities tree view in the MainWindow 'Favourities' tab
- listed some testing 'fav' events
- TODO: list isn't updated dynamically, which means that the list
isn't updated if the user adds/removes an event(s) to/from the
'favourities' list
pavelpa [Sun, 17 Jan 2010 16:22:03 +0000 (16:22 +0000)]
implemented JOINing two tables
- modified 'ormrecord' to support JOINing two tables
- modified 'event' accordingly, since its items/columns
are splitted into two separate tables
pavelpa [Tue, 12 Jan 2010 08:15:42 +0000 (08:15 +0000)]
modified model-view
- created own delegate to display TreeView items
- contains also 'controls' - which are clickable (handled in TreeView)
- created own TreeView inherited from QTreeView
- to handle control-clicks of the Delegate
- minor modifications to MainWindow UI
- QTreeView replaced by own TreeView
- autoresizing of TreeView
- icons added