Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
946ebcdf
Commit
946ebcdf
authored
May 21, 2009
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Converting PreviewWidget to QWidget instead of QDialog
parent
149c2a0d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
src/gui/ClipPreviewWidget.cpp
src/gui/ClipPreviewWidget.cpp
+1
-1
src/gui/ClipPreviewWidget.h
src/gui/ClipPreviewWidget.h
+1
-1
src/gui/ui/PreviewWidget.ui
src/gui/ui/PreviewWidget.ui
+3
-6
No files found.
src/gui/ClipPreviewWidget.cpp
View file @
946ebcdf
...
...
@@ -30,7 +30,7 @@
ClipPreviewWidget
::
ClipPreviewWidget
(
QWidget
*
parent
)
:
Q
Dialog
(
parent
),
Q
Widget
(
parent
),
m_ui
(
new
Ui
::
PreviewWidget
),
m_clipLoaded
(
false
),
m_videoStopped
(
true
)
{
m_ui
->
setupUi
(
this
);
...
...
src/gui/ClipPreviewWidget.h
View file @
946ebcdf
...
...
@@ -34,7 +34,7 @@ namespace Ui {
class
PreviewWidget
;
}
class
ClipPreviewWidget
:
public
Q
Dialog
class
ClipPreviewWidget
:
public
Q
Widget
{
Q_OBJECT
Q_DISABLE_COPY
(
ClipPreviewWidget
)
...
...
src/gui/ui/PreviewWidget.ui
View file @
946ebcdf
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<class>
PreviewWidget
</class>
<widget
class=
"Q
Dialog
"
name=
"PreviewWidget"
>
<widget
class=
"Q
Widget
"
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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment