Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

trackviewnamedecorator.h

/***************************************************************************
                          trackviewnamedecorator  -  description
                             -------------------
    begin                : Fri Nov 28 2003
    copyright            : (C) 2003 by Jason Wood
    email                : jasonwood@blueyonder.co.uk
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#ifndef TRACKVIEWNAMEDECORATOR_H
#define TRACKVIEWNAMEDECORATOR_H


#include <doctrackdecorator.h>

namespace Gui {
    class KTimeLine;

/**
A decorator that adds the name of the clip to the clip itself.

@author Jason Wood
*/
00031     class TrackViewNameDecorator:public DocTrackDecorator {
      public:
      TrackViewNameDecorator(KTimeLine * timeline, KdenliveDoc * doc);

      virtual ~ TrackViewNameDecorator();

      virtual void paintClip(double startX, double endX,
          QPainter & painter, DocClipRef * clip, QRect & rect,
          bool selected);
    };

}                       // namespace Gui
#endif

Generated by  Doxygen 1.6.0   Back to index