Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
58cb81ac
Commit
58cb81ac
authored
Apr 05, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Add default buttons.
parent
3ad0ad05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+2
-0
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+1
-0
No files found.
modules/gui/qt4/dialogs/help.cpp
View file @
58cb81ac
...
@@ -42,6 +42,7 @@ HelpDialog::HelpDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
...
@@ -42,6 +42,7 @@ HelpDialog::HelpDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QTextBrowser
*
helpBrowser
=
new
QTextBrowser
(
this
);
QTextBrowser
*
helpBrowser
=
new
QTextBrowser
(
this
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
closeButton
->
setDefault
(
true
);
layout
->
addWidget
(
helpBrowser
,
0
,
0
,
1
,
0
);
layout
->
addWidget
(
helpBrowser
,
0
,
0
,
1
,
0
);
layout
->
addWidget
(
closeButton
,
1
,
3
);
layout
->
addWidget
(
closeButton
,
1
,
3
);
...
@@ -69,6 +70,7 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
...
@@ -69,6 +70,7 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
closeButton
->
setSizePolicy
(
QSizePolicy
::
Minimum
,
QSizePolicy
::
Minimum
);
closeButton
->
setSizePolicy
(
QSizePolicy
::
Minimum
,
QSizePolicy
::
Minimum
);
closeButton
->
setDefault
(
true
);
QLabel
*
introduction
=
new
QLabel
(
qtr
(
"Infos about VLC media player"
)
);
QLabel
*
introduction
=
new
QLabel
(
qtr
(
"Infos about VLC media player"
)
);
...
...
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
58cb81ac
...
@@ -48,6 +48,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput ) :
...
@@ -48,6 +48,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput ) :
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
IT
=
new
InfoTab
(
this
,
p_intf
,
true
)
;
IT
=
new
InfoTab
(
this
,
p_intf
,
true
)
;
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
));
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
));
closeButton
->
setDefault
(
true
);
layout
->
addWidget
(
IT
,
0
,
0
,
1
,
3
);
layout
->
addWidget
(
IT
,
0
,
0
,
1
,
3
);
layout
->
addWidget
(
closeButton
,
1
,
2
);
layout
->
addWidget
(
closeButton
,
1
,
2
);
...
...
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