Commit 192b1846 authored by Vivek Yadav's avatar Vivek Yadav
Browse files

Import img sequence added

parent 966d2cac
...@@ -826,11 +826,20 @@ bool LineEventEater::eventFilter(QObject *obj, QEvent *event) ...@@ -826,11 +826,20 @@ bool LineEventEater::eventFilter(QObject *obj, QEvent *event)
void ClipWidget::init(QDockWidget* m_DockClipWidget) void ClipWidget::init(QDockWidget* m_DockClipWidget)
{ {
QCheckBox *b = new QCheckBox(i18n("Import image sequence"));
b->setChecked(KdenliveSettings::autoimagesequence());
QFrame *f = new QFrame();
f->setFrameShape(QFrame::NoFrame);
auto *l = new QHBoxLayout;
l->addWidget(b);
l->addStretch(5);
f->setLayout(l);
QString clipFolder = KRecentDirs::dir(QStringLiteral(":KdenliveClipFolder")); QString clipFolder = KRecentDirs::dir(QStringLiteral(":KdenliveClipFolder"));
KFileWidget* fileWidget = new KFileWidget(QUrl::fromLocalFile(clipFolder), m_DockClipWidget); KFileWidget* fileWidget = new KFileWidget(QUrl::fromLocalFile(clipFolder), m_DockClipWidget);
fileWidget->setCustomWidget(f);
m_DockClipWidget->setWidget(fileWidget); m_DockClipWidget->setWidget(fileWidget);
} }
Bin::Bin(std::shared_ptr<ProjectItemModel> model, QWidget *parent) Bin::Bin(std::shared_ptr<ProjectItemModel> model, QWidget *parent)
: QWidget(parent) : QWidget(parent)
, isLoading(false) , isLoading(false)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment