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
c7d3ef91
Commit
c7d3ef91
authored
Apr 27, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, use more tooltips, to improve accessibility
Tried to re-use already existing strings, as far as possible
parent
8ab50103
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
3 deletions
+15
-3
modules/codec/zvbi.c
modules/codec/zvbi.c
+1
-1
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-1
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+1
-0
modules/gui/qt4/dialogs/toolbar.cpp
modules/gui/qt4/dialogs/toolbar.cpp
+6
-1
modules/gui/qt4/dialogs/vlm.cpp
modules/gui/qt4/dialogs/vlm.cpp
+5
-0
No files found.
modules/codec/zvbi.c
View file @
c7d3ef91
...
@@ -58,7 +58,7 @@ static void Close( vlc_object_t * );
...
@@ -58,7 +58,7 @@ static void Close( vlc_object_t * );
#define PAGE_LONGTEXT N_("Open the indicated Teletext page." \
#define PAGE_LONGTEXT N_("Open the indicated Teletext page." \
"Default page is index 100")
"Default page is index 100")
#define OPAQUE_TEXT N_("Te
xt is always opaque
")
#define OPAQUE_TEXT N_("Te
letext transparency
")
#define OPAQUE_LONGTEXT N_("Setting vbi-opaque to false " \
#define OPAQUE_LONGTEXT N_("Setting vbi-opaque to false " \
"makes the boxed text transparent." )
"makes the boxed text transparent." )
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
c7d3ef91
...
@@ -69,8 +69,9 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent, bool sma
...
@@ -69,8 +69,9 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent, bool sma
#define ADD_CATEGORY( button, label, icon, numb ) \
#define ADD_CATEGORY( button, label, icon, numb ) \
QToolButton * button = new QToolButton( this ); \
QToolButton * button = new QToolButton( this ); \
button->setIcon( QIcon( ":/prefsmenu/" #icon ) ); \
button->setIcon( QIcon( ":/prefsmenu/" #icon ) );
\
button->setText( label ); \
button->setText( label ); \
button->setToolTip( label + qtr("Preferences") ); \
button->setToolButtonStyle( Qt::ToolButtonTextUnderIcon ); \
button->setToolButtonStyle( Qt::ToolButtonTextUnderIcon ); \
button->setIconSize( QSize( icon_height, icon_height ) ); \
button->setIconSize( QSize( icon_height, icon_height ) ); \
button->resize( icon_height + 6 , icon_height + 6 ); \
button->resize( icon_height + 6 , icon_height + 6 ); \
...
...
modules/gui/qt4/dialogs/sout.cpp
View file @
c7d3ef91
...
@@ -67,6 +67,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString&
...
@@ -67,6 +67,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString&
closeTabButton
->
hide
();
closeTabButton
->
hide
();
closeTabButton
->
setAutoRaise
(
true
);
closeTabButton
->
setAutoRaise
(
true
);
closeTabButton
->
setIcon
(
QIcon
(
":/toolbar/clear"
)
);
closeTabButton
->
setIcon
(
QIcon
(
":/toolbar/clear"
)
);
closeTabButton
->
setToolTip
(
qtr
(
"Clear"
)
);
BUTTONACT
(
closeTabButton
,
closeTab
()
);
BUTTONACT
(
closeTabButton
,
closeTab
()
);
#endif
#endif
CONNECT
(
ui
.
destTab
,
currentChanged
(
int
),
this
,
tabChanged
(
int
)
);
CONNECT
(
ui
.
destTab
,
currentChanged
(
int
),
this
,
tabChanged
(
int
)
);
...
...
modules/gui/qt4/dialogs/toolbar.cpp
View file @
c7d3ef91
...
@@ -152,6 +152,7 @@ ToolbarEditDialog::ToolbarEditDialog( QWidget *_w, intf_thread_t *_p_intf)
...
@@ -152,6 +152,7 @@ ToolbarEditDialog::ToolbarEditDialog( QWidget *_w, intf_thread_t *_p_intf)
QToolButton
*
newButton
=
new
QToolButton
;
QToolButton
*
newButton
=
new
QToolButton
;
newButton
->
setIcon
(
QIcon
(
":/new"
)
);
newButton
->
setIcon
(
QIcon
(
":/new"
)
);
newButton
->
setToolTip
(
qtr
(
"New profile"
)
);
QToolButton
*
deleteButton
=
new
QToolButton
;
QToolButton
*
deleteButton
=
new
QToolButton
;
deleteButton
->
setIcon
(
QIcon
(
":/toolbar/clear"
)
);
deleteButton
->
setIcon
(
QIcon
(
":/toolbar/clear"
)
);
deleteButton
->
setToolTip
(
qtr
(
"Delete the current profile"
)
);
deleteButton
->
setToolTip
(
qtr
(
"Delete the current profile"
)
);
...
@@ -376,14 +377,17 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
...
@@ -376,14 +377,17 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
QToolButton
*
prevSectionButton
=
new
QToolButton
(
discFrame
);
QToolButton
*
prevSectionButton
=
new
QToolButton
(
discFrame
);
prevSectionButton
->
setIcon
(
QIcon
(
":/toolbar/dvd_prev"
)
);
prevSectionButton
->
setIcon
(
QIcon
(
":/toolbar/dvd_prev"
)
);
prevSectionButton
->
setToolTip
(
qtr
(
"Previous chapter"
)
);
discLayout
->
addWidget
(
prevSectionButton
);
discLayout
->
addWidget
(
prevSectionButton
);
QToolButton
*
menuButton
=
new
QToolButton
(
discFrame
);
QToolButton
*
menuButton
=
new
QToolButton
(
discFrame
);
menuButton
->
setIcon
(
QIcon
(
":/toolbar/dvd_menu"
)
);
menuButton
->
setIcon
(
QIcon
(
":/toolbar/dvd_menu"
)
);
menuButton
->
setToolTip
(
qtr
(
"Go to the DVD menu"
)
);
discLayout
->
addWidget
(
menuButton
);
discLayout
->
addWidget
(
menuButton
);
QToolButton
*
nextButton
=
new
QToolButton
(
discFrame
);
QToolButton
*
nextButton
=
new
QToolButton
(
discFrame
);
nextButton
->
setIcon
(
QIcon
(
":/toolbar/dvd_next"
)
);
nextButton
->
setIcon
(
QIcon
(
":/toolbar/dvd_next"
)
);
nextButton
->
setToolTip
(
qtr
(
"Next chapter"
)
);
discLayout
->
addWidget
(
nextButton
);
discLayout
->
addWidget
(
nextButton
);
widget
=
discFrame
;
widget
=
discFrame
;
...
@@ -401,7 +405,8 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
...
@@ -401,7 +405,8 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
telexLayout
->
addWidget
(
telexOn
);
telexLayout
->
addWidget
(
telexOn
);
QToolButton
*
telexTransparent
=
new
QToolButton
;
QToolButton
*
telexTransparent
=
new
QToolButton
;
telexOn
->
setIcon
(
QIcon
(
":/toolbar/tvtelx"
)
);
telexTransparent
->
setIcon
(
QIcon
(
":/toolbar/tvtelx"
)
);
telexTransparent
->
setToolTip
(
qtr
(
"Teletext transparency"
)
);
telexLayout
->
addWidget
(
telexTransparent
);
telexLayout
->
addWidget
(
telexTransparent
);
QSpinBox
*
telexPage
=
new
QSpinBox
;
QSpinBox
*
telexPage
=
new
QSpinBox
;
...
...
modules/gui/qt4/dialogs/vlm.cpp
View file @
c7d3ef91
...
@@ -499,10 +499,12 @@ VLMAWidget::VLMAWidget( const QString& _name, const QString& _input,
...
@@ -499,10 +499,12 @@ VLMAWidget::VLMAWidget( const QString& _name, const QString& _input,
QToolButton
*
modifyButton
=
new
QToolButton
;
QToolButton
*
modifyButton
=
new
QToolButton
;
modifyButton
->
setIcon
(
QIcon
(
":/menu/settings"
)
);
modifyButton
->
setIcon
(
QIcon
(
":/menu/settings"
)
);
modifyButton
->
setToolTip
(
qtr
(
"Change"
)
);
objLayout
->
addWidget
(
modifyButton
,
0
,
5
);
objLayout
->
addWidget
(
modifyButton
,
0
,
5
);
QToolButton
*
deleteButton
=
new
QToolButton
;
QToolButton
*
deleteButton
=
new
QToolButton
;
deleteButton
->
setIcon
(
QIcon
(
":/menu/quit"
)
);
deleteButton
->
setIcon
(
QIcon
(
":/menu/quit"
)
);
deleteButton
->
setToolTip
(
"Delete"
);
objLayout
->
addWidget
(
deleteButton
,
0
,
6
);
objLayout
->
addWidget
(
deleteButton
,
0
,
6
);
BUTTONACT
(
modifyButton
,
modify
()
);
BUTTONACT
(
modifyButton
,
modify
()
);
...
@@ -541,14 +543,17 @@ VLMBroadcast::VLMBroadcast( const QString& _name, const QString& _input,
...
@@ -541,14 +543,17 @@ VLMBroadcast::VLMBroadcast( const QString& _name, const QString& _input,
playButton
=
new
QToolButton
;
playButton
=
new
QToolButton
;
playButton
->
setIcon
(
QIcon
(
":/menu/play"
)
);
playButton
->
setIcon
(
QIcon
(
":/menu/play"
)
);
playButton
->
setToolTip
(
qtr
(
"Play"
)
);
objLayout
->
addWidget
(
playButton
,
1
,
0
);
objLayout
->
addWidget
(
playButton
,
1
,
0
);
b_playing
=
true
;
b_playing
=
true
;
QToolButton
*
stopButton
=
new
QToolButton
;
QToolButton
*
stopButton
=
new
QToolButton
;
stopButton
->
setIcon
(
QIcon
(
":/toolbar/stop_b"
)
);
stopButton
->
setIcon
(
QIcon
(
":/toolbar/stop_b"
)
);
stopButton
->
setToolTip
(
qtr
(
"Stop"
)
);
objLayout
->
addWidget
(
stopButton
,
1
,
1
);
objLayout
->
addWidget
(
stopButton
,
1
,
1
);
loopButton
=
new
QToolButton
;
loopButton
=
new
QToolButton
;
loopButton
->
setToolTip
(
qtr
(
"Repeat"
)
);
objLayout
->
addWidget
(
loopButton
,
1
,
2
);
objLayout
->
addWidget
(
loopButton
,
1
,
2
);
BUTTONACT
(
playButton
,
togglePlayPause
()
);
BUTTONACT
(
playButton
,
togglePlayPause
()
);
...
...
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