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
e7e4692f
Commit
e7e4692f
authored
Sep 23, 2010
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: make help dialog use standard buttons
parent
2b1fabb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+7
-6
No files found.
modules/gui/qt4/dialogs/help.cpp
View file @
e7e4692f
...
...
@@ -55,17 +55,18 @@ HelpDialog::HelpDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
setWindowRole
(
"vlc-help"
);
setMinimumSize
(
350
,
300
);
Q
GridLayout
*
layout
=
new
QGrid
Layout
(
this
);
Q
VBoxLayout
*
layout
=
new
QVBox
Layout
(
this
);
QTextBrowser
*
helpBrowser
=
new
QTextBrowser
(
this
);
helpBrowser
->
setOpenExternalLinks
(
true
);
helpBrowser
->
setHtml
(
qtr
(
I_LONGHELP
)
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
closeButton
->
setDefault
(
true
);
QDialogButtonBox
*
closeButtonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Close
,
Qt
::
Horizontal
,
this
);
closeButtonBox
->
setFocus
();
layout
->
addWidget
(
helpBrowser
,
0
,
0
,
1
,
0
);
layout
->
addWidget
(
closeButton
,
1
,
3
);
layout
->
addWidget
(
helpBrowser
);
layout
->
addWidget
(
closeButton
Box
);
BUTTONACT
(
closeButton
,
close
()
);
CONNECT
(
closeButtonBox
,
rejected
(),
this
,
close
()
);
readSettings
(
"Help"
,
QSize
(
500
,
450
)
);
}
...
...
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