#define CUSTOMTRACKVIEW_H
#include <KPixmapCache>
+#include <KColorScheme>
#include <QGraphicsView>
#include <QGraphicsItemAnimation>
class AbstractGroupItem;
class Transition;
+
class CustomTrackView : public QGraphicsView
{
Q_OBJECT
QMutex m_mutex;
QWaitCondition m_producerNotReady;
+ KStatefulBrush m_activeTrackBrush;
+
+ /** stores the state of the control modifier during mouse press.
+ * Will then be used to identify whether we resize a group or only one item of it. */
+ bool m_controlModifier;
/** Get the index of the video track that is just below current track */
int getPreviousVideoTrack(int track);
/** @brief Updates @param item's pan and zoom effect after resize or cut.
* @param item clip whose pan and zoom effect should be updated
- * @param cutPos (optional) if clip was cut, cut position relative to the original's clip position
- *
- */
+ * @param cutPos (optional) if clip was cut, cut position relative to the original's clip position */
void updatePanZoom(ClipItem *item, GenTime cutPos = GenTime());
private slots: