QTime m_startTime;
void initKdenliveDbusInterface();
bool m_usekuiserver;
- /** \brief Used to create a temporary file for logging */
- QTemporaryFile m_logfile;
- /** \brief Used to write to the log file */
- QTextStream m_logstream;
signals:
void renderingFinished();
#include <QMimeData>
-AbstractGroupItem::AbstractGroupItem(double fps) :
+AbstractGroupItem::AbstractGroupItem(double /* fps */) :
QObject(),
- QGraphicsItemGroup(),
- m_fps(fps)
+ QGraphicsItemGroup()
{
setZValue(2);
setFlags(QGraphicsItem::ItemClipsToShape | QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
private:
QPainterPath groupShape(QPointF);
void fixItemRect();
- double m_fps;
- GenTime m_startPos;
- int m_track;
};
#endif
AbstractClipItem(info, QRectF(), fps),
m_clip(clip),
m_resizeMode(NONE),
- m_grabPoint(0),
m_startFade(0),
m_endFade(0),
- m_maxTrack(0),
m_audioOnly(false),
m_videoOnly(false),
m_startPix(QPixmap()),
startThumbTimer(NULL),
endThumbTimer(NULL),
m_selectedEffect(-1),
- m_opacity(1.0),
m_timeLine(0),
m_startThumbRequested(false),
m_endThumbRequested(false),
m_hover(false),
m_speed(speed),
- audioThumbWasDrawn(false),
framePixelWidth(0)
{
setZValue(1);
private:
DocClipBase *m_clip;
OPERATIONTYPE m_resizeMode;
- int m_grabPoint;
QString m_producer;
CLIPTYPE m_clipType;
QString m_clipName;
QString m_effectNames;
int m_startFade;
int m_endFade;
- int m_maxTrack;
bool m_audioOnly;
bool m_videoOnly;
QTimer *endThumbTimer;
int m_selectedEffect;
- double m_opacity;
QTimeLine *m_timeLine;
bool m_startThumbRequested;
bool m_endThumbRequested;
EffectsList m_effectList;
QList <Transition*> m_transitionsList;
QMap<int, QPixmap> audioThumbCachePic;
- bool audioThumbWasDrawn, audioThumbReady;
+ bool audioThumbReady;
double framePixelWidth;
- QMap<int, QPainterPath > channelPaths;
/** Called when clip start is resized, adjust keyframes values */
void checkEffectsKeyframesPos(const int previous, const int current, bool fromStart);
QPixmap m_videoPix;
ui.setupUi(this);
//ui.effectlist->horizontalHeader()->setVisible(false);
//ui.effectlist->verticalHeader()->setVisible(false);
- activeRow = -1;
- clipref = NULL;
ui.buttonLeftRight->setIcon(KIcon("go-next"));//better icons needed
ComplexParameter(QWidget *parent = 0);
QDomElement getParamDesc();
private:
- int activeRow;
- QList<QDomElement> effects;
Ui::KeyframeWidget_UI ui;
- ClipItem* clipref;
void setupListView();
void updateButtonStatus();
- QMap<QString, EffectsList*> effectLists;
QDomElement param;
public slots:
virtual void mouseMoveEvent(QMouseEvent * event);
private:
- int m_cursorPosition;
Timecode m_timecode;
CustomTrackView *m_view;
int m_zoneStart;
CustomTrackView::CustomTrackView(KdenliveDoc *doc, CustomTrackScene* projectscene, QWidget *parent) :
QGraphicsView(projectscene, parent),
m_tracksHeight(KdenliveSettings::trackheight()),
- m_selectedTrack(0),
m_projectDuration(0),
m_cursorPos(0),
m_document(doc),
private:
int m_tracksHeight;
- uint m_selectedTrack;
int m_projectDuration;
int m_cursorPos;
KdenliveDoc *m_document;
int m_scrollOffset;
bool m_clipDrag;
- QList <CommentedTime> m_searchStrings;
int m_findIndex;
PROJECTTOOL m_tool;
QCursor m_razorCursor;
DocClipBase::DocClipBase(ClipManager *clipManager, QDomElement xml, const QString &id, bool placeHolder) :
QObject(),
audioFrameChache(),
- m_description(),
m_refcount(0),
m_baseTrackProducers(),
m_audioTrackProducers(),
private: // Private attributes
- /** A description of this clip */
- QString m_description;
/** The number of times this clip is used in the project - the number of references to this clip
* that exist. */
uint m_refcount;
DvdWizard::DvdWizard(const QString &url, const QString &profile, QWidget *parent) :
QWizard(parent),
- m_profile(profile),
m_dvdauthor(NULL),
m_mkiso(NULL)
{
if (!url.isEmpty()) m_pageVob->setUrl(url);
- m_pageMenu = new DvdWizardMenu(m_profile, this);
+ m_pageMenu = new DvdWizardMenu(profile, this);
m_pageMenu->setTitle(i18n("Create DVD Menu"));
addPage(m_pageMenu);
DvdWizardMenu *m_pageMenu;
Ui::DvdWizardIso_UI m_iso;
Ui::DvdWizardStatus_UI m_status;
- QString m_profile;
KTemporaryFile m_menuFile;
KTemporaryFile m_authorFile;
QProcess *m_dvdauthor;
Ui::DvdWizardMenu_UI m_view;
bool m_isPal;
DvdScene *m_scene;
- DvdButton *m_button;
QGraphicsPixmapItem *m_background;
QGraphicsRectItem *m_color;
QGraphicsRectItem *m_safeRect;
private:
KUrl m_url;
QDomDocument m_document;
- QString m_projectName;
double m_fps;
int m_zoom;
/** Cursor position at document opening */
m_configEnv.capturefolderurl->lineEdit()->setObjectName("kcfg_capturefolder");
page2 = addPage(p2, i18n("Environment"), "terminal");
- m_captureFolder = KdenliveSettings::capturefolder();
QWidget *p4 = new QWidget;
m_configCapture.setupUi(p4);
page4 = addPage(p4, i18n("Capture"), "audio-card");
Ui::ConfigCapture_UI m_configCapture;
Ui::ConfigJogShuttle_UI m_configShuttle;
Ui::ConfigSdl_UI m_configSdl;
- QStringList m_mltProfilesList;
- QStringList m_customProfilesList;
- bool m_isCustomProfile;
QString m_defaultProfile;
QString m_defaultPath;
KProcess m_readProcess;
- QString m_captureFolder;
void initDevices();
signals:
m_dar(1),
m_producer(NULL),
m_clipManager(clipManager),
- m_id(id),
- m_mainFrame(-1)
+ m_id(id)
{
m_thumbFile = clipManager->projectFolder() + "/thumbs/" + hash + ".thumb";
connect(&audioThumbProducer, SIGNAL(audioThumbProgress(const int)), this, SLOT(slotAudioThumbProgress(const int)));
Mlt::Producer *m_producer;
ClipManager *m_clipManager;
QString m_id;
- int m_mainFrame;
signals:
void thumbReady(int, QPixmap);
#ifndef NO_JOGSHUTTLE
m_jogProcess(NULL),
#endif /* NO_JOGSHUTTLE */
- m_findActivated(false),
- m_initialized(false)
+ m_findActivated(false)
{
// Create DBus interface
KComboBox *m_timecodeFormat;
- QDockWidget *overviewDock;
- CustomTrackView *m_overView;
-
QMenu *m_customEffectsMenu;
QMenu *m_timelineContextMenu;
QMenu *m_timelineContextClipMenu;
bool m_findActivated;
QString m_findString;
QTimer m_findTimer;
- bool m_initialized;
void readOptions();
void saveOptions();
m_producer(NULL),
m_profile(NULL),
m_clip(clip),
- m_marker(t),
m_tc(tc)
{
setFont(KGlobalSettings::toolBarFont());
Mlt::Profile *m_profile;
Ui::MarkerDialog_UI m_view;
DocClipBase *m_clip;
- CommentedTime m_marker;
Timecode m_tc;
double m_fps;
double m_dar;
private:
Ui::ProfilesDialog_UI m_view;
- QStringList m_mltProfilesList;
- QStringList m_customProfilesList;
int m_selectedProfileIndex;
bool m_profileIsModified;
bool m_isCustomProfile;
#include <QDir>
ProjectSettings::ProjectSettings(int videotracks, int audiotracks, const QString projectPath, bool readOnlyTracks, QWidget * parent) :
- QDialog(parent),
- m_isCustomProfile(false)
+ QDialog(parent)
{
m_view.setupUi(this);
private:
Ui::ProjectSettings_UI m_view;
- QStringList m_mltProfilesList;
- QStringList m_customProfilesList;
- bool m_isCustomProfile;
QPushButton *buttonOk;
};
#include <KDateTime>
#include "ui_recmonitor_ui.h"
-#include "smallruler.h"
-#include "regiongrabber.h"
class RecMonitor : public QWidget
{
private:
Ui::RecMonitor_UI ui;
- QString m_tmpFolder;
QString m_name;
- RegionGrabber *rgnGrab;
bool m_isActive;
KDateTime m_captureTime;
QProcess *captureProcess;
QProcess *displayProcess;
- QTimer *m_initTimer;
bool m_isCapturing;
/** did the user capture something ? */
bool m_didCapture;
}
}
-Render::Render(const QString & rendererName, int winid, int extid, QWidget *parent) :
+Render::Render(const QString & rendererName, int winid, int /* extid */, QWidget *parent) :
QObject(parent),
m_isBlocked(true),
m_name(rendererName),
m_mltConsumer(NULL),
m_mltProducer(NULL),
- m_mltTextProducer(NULL),
m_framePosition(0),
m_isZoneMode(false),
m_isLoopMode(false),
m_isSplitView(false),
m_blackClip(NULL),
- m_winid(winid),
- m_externalwinid(extid)
+ m_winid(winid)
{
kDebug() << "////////// USING PROFILE: " << (char*)KdenliveSettings::current_profile().toUtf8().data();
refreshTimer = new QTimer(this);
osdTimer = new QTimer(this);
connect(osdTimer, SIGNAL(timeout()), this, SLOT(slotOsdTimeout()));
- m_osdProfile = KStandardDirs::locate("data", "kdenlive/profiles/metadata.properties");
-
buildConsumer();
m_mltProducer = m_blackClip->cut(0, 50);
QString m_name;
Mlt::Consumer * m_mltConsumer;
Mlt::Producer * m_mltProducer;
- Mlt::Producer *m_mltTextProducer;
- Mlt::Filter *m_osdInfo;
Mlt::Profile *m_mltProfile;
double m_framePosition;
double m_fps;
bool m_isSplitView;
Mlt::Producer *m_blackClip;
- /** Holds the path to on screen display profile */
- QString m_osdProfile;
QString m_activeProfile;
QTimer *refreshTimer;
QTimer *osdTimer;
- KUrl m_exportedFile;
/** A human-readable description of this renderer. */
int m_winid;
- int m_externalwinid;
/** Sets the description of this renderer to desc. */
void closeMlt();
CustomTrackScene *m_scene;
KdenliveDoc *m_doc;
- QVBoxLayout *m_tracksLayout;
QVBoxLayout *m_headersLayout;
- QScrollArea *m_scrollArea;
- QFrame *m_scrollBox;
- QVBoxLayout *m_tracksAreaLayout;
QString m_documentErrors;
void parseDocument(QDomDocument doc);
int slotAddProjectTrack(int ix, QDomElement xml, bool locked);
setRect(0, 0, (info.endPos - info.startPos).frames(fps) - 0.02, (qreal)(KdenliveSettings::trackheight() / 3 * 2 - 1));
setPos(info.startPos.frames(fps), (qreal)(info.track * KdenliveSettings::trackheight() + KdenliveSettings::trackheight() / 3 * 2));
- m_singleClip = true;
m_transitionTrack = transitiontrack;
m_secondClip = NULL;
m_cropStart = GenTime();
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);
private:
- bool m_singleClip;
QString m_name;
bool m_forceTransitionTrack;
private:
QProcess *m_inigoprocess;
- QStringList customargs;
KRandomSequence *m_rand;
QString playerBin;
bool startAndWaitProcess(const QStringList &args);