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
099e253c
Commit
099e253c
authored
Jun 12, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: ToolbarEditDialog: show tooltip on widgets list
parent
5e6a5d35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/gui/qt4/dialogs/toolbar.cpp
modules/gui/qt4/dialogs/toolbar.cpp
+4
-0
No files found.
modules/gui/qt4/dialogs/toolbar.cpp
View file @
099e253c
...
...
@@ -305,6 +305,7 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
QPixmap
pix
(
iconL
[
i
]
);
widgetItem
->
setIcon
(
pix
.
scaled
(
16
,
16
,
Qt
::
KeepAspectRatio
,
Qt
::
SmoothTransformation
)
);
widgetItem
->
setData
(
Qt
::
UserRole
,
QVariant
(
i
)
);
widgetItem
->
setToolTip
(
widgetItem
->
text
()
);
addItem
(
widgetItem
);
}
...
...
@@ -312,11 +313,13 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
QListWidgetItem
*
widgetItem
=
new
QListWidgetItem
(
QIcon
(
":/toolbar/space"
),
qtr
(
"Spacer"
),
this
);
widgetItem
->
setData
(
Qt
::
UserRole
,
WIDGET_SPACER
);
widgetItem
->
setToolTip
(
widgetItem
->
text
()
);
addItem
(
widgetItem
);
widgetItem
=
new
QListWidgetItem
(
QIcon
(
":/toolbar/space"
),
qtr
(
"Expanding Spacer"
),
this
);
widgetItem
->
setData
(
Qt
::
UserRole
,
WIDGET_SPACER_EXTEND
);
widgetItem
->
setToolTip
(
widgetItem
->
text
()
);
addItem
(
widgetItem
);
/**
...
...
@@ -470,6 +473,7 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
widgetItem
->
setIcon
(
QIcon
(
QPixmap
::
grabWidget
(
widget
)
)
);
widgetItem
->
setToolTip
(
widgetItem
->
text
()
);
widget
->
hide
();
widgetItem
->
setData
(
Qt
::
UserRole
,
QVariant
(
i
)
);
...
...
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