~ubuntu-branches/ubuntu/hardy/kdenlive/hardy

« back to all changes in this revision

Viewing changes to kdenlive/transitionpipwidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Albin Tonnerre
  • Date: 2008-01-30 17:07:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080130170751-lyc8p6xvd7o98ur5
Tags: 0.5.svn20071228-0.0ubuntu1
* Merge from debian-multimedia (LP: #150453). Remaining changes:
  - Bump compat to 5
  - Suggest dvgrab and ffmpeg (needed for firewire capture)
  - debian/{rules,control}: add a kdenlive-data package
  - Add .install files for kdenlive and kdenlive-data
  - debian/copyright: add some copyright information
  - Modify Maintainer value to match the DebianMaintainerField specification

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        QCanvasItem* selectedItem;
45
45
        uint operationMode;
46
46
        uint numItems;
 
47
        int m_frameHeight;
47
48
 
48
49
protected:
49
50
        void contentsMousePressEvent(QMouseEvent*);
82
83
        transitionPipWidget( KdenliveApp * app, int width, int height, QWidget* parent=0, const char* name=0, WFlags fl=0);
83
84
        virtual ~transitionPipWidget();
84
85
        ScreenPreview *canview;
 
86
        int getKeyFrameIndex(int nb);
 
87
 
85
88
private:
86
89
        QCanvas *canvas;
87
90
        QPoint start, end;
89
92
        /** when changing keyframe, emit only one refresh signal, not one for every parameter. m_silent is used for that...*/
90
93
        bool m_silent;
91
94
        KdenliveApp *m_app;
 
95
        int m_frameHeight;
92
96
 
93
97
private slots:
94
98
        void changeKeyFrame(int ix);
98
102
        void adjustTransparency(int x);
99
103
        void adjustSliders(int x, int y);
100
104
        void focusInOut();
 
105
        void duplicateKeyFrame(bool);
 
106
        QString getParametersFromString(QString param);
 
107
        void slotAddKeyFrame();
 
108
        void slotDeleteKeyFrame();
101
109
 
102
110
public slots:
103
111
        QString parameters();
104
 
        void setParameters(QString params);
 
112
        void setParameters(QString params, int duration);
105
113
 
106
114
signals:
107
115
        void transitionChanged();
 
116
        void transitionNeedsRedraw();
 
117
        void moveCursorToKeyFrame(int);
108
118
};
109
119
 
110
120
}  //  end GUI namespace