Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
97be5f61
Commit
97be5f61
authored
Mar 08, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Open: Capture Tab added. Still almost empty, but well, this is coming after. :D
parent
a33fbe90
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
10 deletions
+27
-10
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+4
-1
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+13
-7
modules/gui/qt4/dialogs/open.hpp
modules/gui/qt4/dialogs/open.hpp
+1
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+5
-1
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+1
-0
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+1
-0
modules/gui/qt4/ui/open_capture.ui
modules/gui/qt4/ui/open_capture.ui
+2
-1
No files found.
modules/gui/qt4/components/open.cpp
View file @
97be5f61
...
...
@@ -271,4 +271,7 @@ void CaptureOpenPanel::clear()
{}
void
CaptureOpenPanel
::
updateMRL
()
{}
{
QString
mrl
=
""
;
emit
mrlUpdated
(
mrl
);
}
modules/gui/qt4/dialogs/open.cpp
View file @
97be5f61
...
...
@@ -42,12 +42,15 @@ OpenDialog::OpenDialog( QWidget *parent, intf_thread_t *_p_intf, bool modal ) :
setModal
(
modal
);
ui
.
setupUi
(
this
);
setWindowTitle
(
qtr
(
"Open"
)
);
fileOpenPanel
=
new
FileOpenPanel
(
this
,
p_intf
);
diskOpenPanel
=
new
DiskOpenPanel
(
this
,
p_intf
);
netOpenPanel
=
new
NetOpenPanel
(
this
,
p_intf
);
ui
.
Tab
->
addTab
(
fileOpenPanel
,
qtr
(
"File"
));
ui
.
Tab
->
addTab
(
diskOpenPanel
,
qtr
(
"Disc"
));
ui
.
Tab
->
addTab
(
netOpenPanel
,
qtr
(
"Network"
));
fileOpenPanel
=
new
FileOpenPanel
(
this
,
p_intf
);
diskOpenPanel
=
new
DiskOpenPanel
(
this
,
p_intf
);
netOpenPanel
=
new
NetOpenPanel
(
this
,
p_intf
);
captureOpenPanel
=
new
CaptureOpenPanel
(
this
,
p_intf
);
ui
.
Tab
->
addTab
(
fileOpenPanel
,
qtr
(
"File"
)
);
ui
.
Tab
->
addTab
(
diskOpenPanel
,
qtr
(
"Disc"
)
);
ui
.
Tab
->
addTab
(
netOpenPanel
,
qtr
(
"Network"
)
);
ui
.
Tab
->
addTab
(
captureOpenPanel
,
qtr
(
"Capture"
)
);
ui
.
advancedFrame
->
hide
();
...
...
@@ -57,6 +60,9 @@ OpenDialog::OpenDialog( QWidget *parent, intf_thread_t *_p_intf, bool modal ) :
CONNECT
(
fileOpenPanel
,
mrlUpdated
(
QString
),
this
,
updateMRL
(
QString
)
);
CONNECT
(
netOpenPanel
,
mrlUpdated
(
QString
),
this
,
updateMRL
(
QString
)
);
CONNECT
(
diskOpenPanel
,
mrlUpdated
(
QString
),
this
,
updateMRL
(
QString
)
);
CONNECT
(
captureOpenPanel
,
mrlUpdated
(
QString
),
this
,
updateMRL
(
QString
)
);
CONNECT
(
fileOpenPanel
,
methodChanged
(
QString
),
this
,
newMethod
(
QString
)
);
...
...
@@ -122,7 +128,7 @@ void OpenDialog::ok()
PLAYLIST_APPEND
|
(
i
?
0
:
PLAYLIST_GO
)
|
(
i
?
PLAYLIST_PREPARSE
:
0
),
PLAYLIST_END
,
VLC_TRUE
,
VLC_FALSE
);
}
}
}
else
...
...
modules/gui/qt4/dialogs/open.hpp
View file @
97be5f61
...
...
@@ -60,6 +60,7 @@ private:
FileOpenPanel
*
fileOpenPanel
;
NetOpenPanel
*
netOpenPanel
;
DiskOpenPanel
*
diskOpenPanel
;
CaptureOpenPanel
*
captureOpenPanel
;
QString
storedMethod
;
int
advHeight
,
mainHeight
;
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
97be5f61
...
...
@@ -86,7 +86,7 @@ void DialogsProvider::customEvent( QEvent *event )
case
INTF_DIALOG_NET
:
openNetDialog
();
break
;
case
INTF_DIALOG_CAPTURE
:
openDialog
();
break
;
open
Capture
Dialog
();
break
;
case
INTF_DIALOG_PLAYLIST
:
playlistDialog
();
break
;
case
INTF_DIALOG_MESSAGES
:
...
...
@@ -173,6 +173,10 @@ void DialogsProvider::openNetDialog()
{
openDialog
(
2
);
}
void
DialogsProvider
::
openCaptureDialog
()
{
openDialog
(
3
);
}
void
DialogsProvider
::
openDialog
(
int
i_tab
)
{
OpenDialog
::
getInstance
(
p_intf
->
p_sys
->
p_mi
,
p_intf
)
->
showTab
(
i_tab
);
...
...
modules/gui/qt4/dialogs_provider.hpp
View file @
97be5f61
...
...
@@ -89,6 +89,7 @@ public slots:
void
openDialog
(
int
);
void
openFileDialog
();
void
openNetDialog
();
void
openCaptureDialog
();
void
openDiscDialog
();
void
PLAppendDialog
();
void
MLAppendDialog
();
...
...
modules/gui/qt4/menus.cpp
View file @
97be5f61
...
...
@@ -145,6 +145,7 @@ QMenu *QVLCMenu::FileMenu()
DP_SADD
(
qtr
(
"Open &File..."
),
""
,
""
,
openFileDialog
()
);
DP_SADD
(
qtr
(
"Open &Disc..."
),
""
,
""
,
openDiscDialog
());
DP_SADD
(
qtr
(
"Open &Network..."
),
""
,
""
,
openNetDialog
());
DP_SADD
(
qtr
(
"Open &Network..."
),
""
,
""
,
openCaptureDialog
());
menu
->
addSeparator
();
DP_SADD
(
qtr
(
"Streaming..."
),
""
,
""
,
streamingDialog
()
);
menu
->
addSeparator
();
...
...
modules/gui/qt4/ui/open_capture.ui
View file @
97be5f61
...
...
@@ -59,7 +59,7 @@
</widget>
</item>
<item row="2" column="0" colspan="3" >
<widget class="QGroupBox" name="
groupBox_3
" >
<widget class="QGroupBox" name="
Options
" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
...
...
@@ -83,6 +83,7 @@
</item>
</layout>
</widget>
<includes/>
<resources/>
<connections/>
</ui>
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