Get rid of KTabWidget and KIntNumInput

parent e4f6bbcc
......@@ -159,9 +159,9 @@ MainWindow::MainWindow(const QString &MltPath, const QUrl &Url, const QString &
KdenliveSettings::setCurrent_profile(KdenliveSettings::default_profile());
m_commandStack = new QUndoGroup;
setDockNestingEnabled(true);
m_timelineArea = new KTabWidget(this);
m_timelineArea->setTabReorderingEnabled(true);
m_timelineArea->setTabBarHidden(true);
m_timelineArea = new QTabWidget(this);
//m_timelineArea->setTabReorderingEnabled(true);
//m_timelineArea->setTabBarHidden(true);
m_timelineArea->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
m_timelineArea->setMinimumHeight(200);
......
......@@ -31,7 +31,7 @@
#include <QImage>
#include <KXmlGuiWindow>
#include <KTabWidget>
#include <QTabWidget>
#include <kautosavefile.h>
#include <KActionCategory>
#include <KSelectAction>
......@@ -104,7 +104,7 @@ public:
QDockWidget *addDock(const QString &title, const QString &objectName, QWidget *widget, Qt::DockWidgetArea area = Qt::TopDockWidgetArea);
// TODO make private again
KTabWidget* m_timelineArea;
QTabWidget* m_timelineArea;
ProjectList *m_projectList;
StopmotionWidget *m_stopmotion;
QUndoGroup *m_commandStack;
......
......@@ -351,7 +351,7 @@
<widget class="KComboBox" name="destination_list"/>
</item>
<item row="5" column="3">
<widget class="KIntNumInput" name="encoder_threads" native="true">
<widget class="QSpinBox" name="encoder_threads" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -541,7 +541,7 @@
<item row="8" column="1" colspan="5">
<layout class="QHBoxLayout" name="rescale_box">
<item>
<widget class="KIntNumInput" name="rescale_width" native="true">
<widget class="QSpinBox" name="rescale_width" native="true">
<property name="minimum" stdset="0">
<number>0</number>
</property>
......@@ -561,7 +561,7 @@
</widget>
</item>
<item>
<widget class="KIntNumInput" name="rescale_height" native="true">
<widget class="QSpinBox" name="rescale_height" native="true">
<property name="minimum" stdset="0">
<number>0</number>
</property>
......@@ -819,7 +819,7 @@
<container>1</container>
</customwidget>
<customwidget>
<class>KIntNumInput</class>
<class>QSpinBox</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
......
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