Changeset 4693fa6 for src/mvc/delegate.cpp
- Timestamp:
- 01/20/10 22:02:30 (13 years ago)
- Branches:
- master, qt5
- Children:
- 8fe9bd2
- Parents:
- 926f106
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/delegate.cpp
r926f106 r4693fa6 1 1 #include "delegate.h" 2 2 #include "eventmodel.h" 3 #include < activity.h>3 #include <track.h> 4 4 5 5 #include <QDebug> … … 63 63 QFontMetrics fmBigB(fontBigB); 64 64 65 int spacer = (fmSmall.boundingRect("999").width() < SPACER) ? SPACER : fmSmall.boundingRect("999").width();65 //int spacer = (fmSmall.boundingRect("999").width() < SPACER) ? SPACER : fmSmall.boundingRect("999").width(); 66 66 67 67 if(isLast(index)) … … 165 165 // track 166 166 titlePointF.setY(titlePointF.y()+fmSmall.height()-fmSmall.descent()); 167 painter->drawText(titlePointF," Activity(s): " + Activity::getActivityName(event->activityId()));167 painter->drawText(titlePointF,"Track: " + Track::getTrackName(event->trackId())); 168 168 } 169 169 else // doesn't have parent - time-groups' elements (top items)
Note: See TracChangeset
for help on using the changeset viewer.