Commit 946ebcdf authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Converting PreviewWidget to QWidget instead of QDialog

parent 149c2a0d
......@@ -30,7 +30,7 @@
ClipPreviewWidget::ClipPreviewWidget( QWidget *parent ) :
QDialog( parent ),
QWidget( parent ),
m_ui( new Ui::PreviewWidget ), m_clipLoaded( false ), m_videoStopped( true )
{
m_ui->setupUi( this );
......
......@@ -34,7 +34,7 @@ namespace Ui {
class PreviewWidget;
}
class ClipPreviewWidget : public QDialog
class ClipPreviewWidget : public QWidget
{
Q_OBJECT
Q_DISABLE_COPY( ClipPreviewWidget )
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PreviewWidget</class>
<widget class="QDialog" name="PreviewWidget">
<widget class="QWidget" name="PreviewWidget">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
......@@ -26,10 +26,7 @@
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<property name="sizeGripEnabled">
<bool>false</bool>
<string>Preview</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
......@@ -50,7 +47,7 @@
<enum>QTabWidget::North</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="ProjectTab">
<attribute name="title">
......
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