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
284187d1
Commit
284187d1
authored
Mar 15, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4 - About dialog, forgot in previous commit.
parent
348fbef1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+16
-5
No files found.
modules/gui/qt4/dialogs/help.cpp
View file @
284187d1
...
@@ -77,11 +77,22 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
...
@@ -77,11 +77,22 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
layout
->
addWidget
(
tab
,
1
,
0
,
1
,
2
);
layout
->
addWidget
(
tab
,
1
,
0
,
1
,
2
);
layout
->
addWidget
(
closeButton
,
2
,
1
,
1
,
1
);
layout
->
addWidget
(
closeButton
,
2
,
1
,
1
,
1
);
/* GPL License */
QFile
*
licenseFile
=
new
QFile
(
"/usr/src/vlc/COPYING"
);
QFile
*
licenseFile
=
new
QFile
(
"/usr/src/vlc/COPYING"
);
QTextEdit
*
licenseEdit
=
new
QTextEdit
(
this
);
QTextEdit
*
licenseEdit
=
new
QTextEdit
(
this
);
licenseEdit
->
setText
(
licenseFile
->
readAll
()
);
licenseEdit
->
setText
(
licenseFile
->
readAll
()
);
licenseEdit
->
setReadOnly
(
true
);
licenseEdit
->
setReadOnly
(
true
);
/* People who helped */
QFile
*
thanksFile
=
new
QFile
(
"/usr/src/vlc/THANKS"
);
QTextEdit
*
thanksEdit
=
new
QTextEdit
(
this
);
thanksEdit
->
setText
(
thanksFile
->
readAll
()
);
thanksEdit
->
setReadOnly
(
true
);
/* add the tabs to the Tabwidget */
tab
->
addTab
(
NULL
,
_
(
"Information"
)
);
tab
->
addTab
(
NULL
,
_
(
"Authors"
)
);
tab
->
addTab
(
thanksEdit
,
_
(
"Thanks"
)
);
tab
->
addTab
(
licenseEdit
,
_
(
"Distribution License"
)
);
tab
->
addTab
(
licenseEdit
,
_
(
"Distribution License"
)
);
BUTTONACT
(
closeButton
,
close
()
);
BUTTONACT
(
closeButton
,
close
()
);
...
...
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