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