Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
efb68637
Commit
efb68637
authored
Jun 04, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Add icons on open dialog tabs.
Idea and code from Francois Cartegnie
parent
c8464a80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+7
-4
No files found.
modules/gui/qt4/dialogs/open.cpp
View file @
efb68637
...
...
@@ -97,10 +97,13 @@ OpenDialog::OpenDialog( QWidget *parent,
captureOpenPanel
=
new
CaptureOpenPanel
(
this
,
p_intf
);
/* Insert the tabs */
ui
.
Tab
->
insertTab
(
OPEN_FILE_TAB
,
fileOpenPanel
,
qtr
(
"&File"
)
);
ui
.
Tab
->
insertTab
(
OPEN_DISC_TAB
,
discOpenPanel
,
qtr
(
"&Disc"
)
);
ui
.
Tab
->
insertTab
(
OPEN_NETWORK_TAB
,
netOpenPanel
,
qtr
(
"&Network"
)
);
ui
.
Tab
->
insertTab
(
OPEN_CAPTURE_TAB
,
captureOpenPanel
,
ui
.
Tab
->
insertTab
(
OPEN_FILE_TAB
,
fileOpenPanel
,
QIcon
(
":/folder-grey"
),
qtr
(
"&File"
)
);
ui
.
Tab
->
insertTab
(
OPEN_DISC_TAB
,
discOpenPanel
,
QIcon
(
":/disc"
),
qtr
(
"&Disc"
)
);
ui
.
Tab
->
insertTab
(
OPEN_NETWORK_TAB
,
netOpenPanel
,
QIcon
(
":/network"
),
qtr
(
"&Network"
)
);
ui
.
Tab
->
insertTab
(
OPEN_CAPTURE_TAB
,
captureOpenPanel
,
QIcon
(
":/capture-card"
),
qtr
(
"Capture &Device"
)
);
/* Hide the Slave input widgets */
...
...
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