[Time-table-commit] SF.net SVN: time-table: [126] trunk/time-table/Widgets
Status: Pre-Alpha
Brought to you by:
graeme_f
|
From: <gra...@us...> - 2006-05-03 02:02:31
|
Revision: 126 Author: graeme_f Date: 2006-05-02 19:02:21 -0700 (Tue, 02 May 2006) ViewCVS: http://svn.sourceforge.net/time-table/?rev=126&view=rev Log Message: ----------- Request ID 1479756: Thought I'd fix this in five minutes, after all I knew exactly where to look... Five hours later I was still no closer ... after a visit to QtCentre and a few more hours I have it under control. The real trick is with the new method in RootModel.h And here she is, slim simple and worth every bead of sweat: void showChange(const QModelIndex & parentIndex, RootItem * item) {emit dataChanged(index( 0, 0, parentIndex), index( rowCount(), item->columnCount()-1,parentIndex));} Modified Paths: -------------- trunk/time-table/ItemClasses/MLAllocItem.h trunk/time-table/ModelClasses/MLEnrolModel.cpp trunk/time-table/ModelClasses/RootModel.cpp trunk/time-table/ModelClasses/RootModel.h trunk/time-table/Widgets/ModuleEnrolPage_wdgt.cpp trunk/time-table/Widgets/ModuleEnrolPage_wdgt.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |