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
e15e0503
Commit
e15e0503
authored
Dec 10, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, mac: make playist without the blue focus halo
parent
f9216bf1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+1
-0
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+1
-0
modules/gui/qt4/components/playlist/views.cpp
modules/gui/qt4/components/playlist/views.cpp
+2
-0
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
e15e0503
...
...
@@ -103,6 +103,7 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
{
/* Properties */
setFrameStyle
(
QFrame
::
NoFrame
);
setAttribute
(
Qt
::
WA_MacShowFocusRect
,
false
);
viewport
()
->
setAutoFillBackground
(
false
);
setIconSize
(
QSize
(
24
,
24
)
);
setIndentation
(
12
);
...
...
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
e15e0503
...
...
@@ -286,6 +286,7 @@ void StandardPLPanel::createTreeView()
treeView
->
setAnimated
(
true
);
treeView
->
setUniformRowHeights
(
true
);
treeView
->
setSortingEnabled
(
true
);
treeView
->
setAttribute
(
Qt
::
WA_MacShowFocusRect
,
false
);
treeView
->
header
()
->
setSortIndicator
(
-
1
,
Qt
::
AscendingOrder
);
treeView
->
header
()
->
setSortIndicatorShown
(
true
);
treeView
->
header
()
->
setClickable
(
true
);
...
...
modules/gui/qt4/components/playlist/views.cpp
View file @
e15e0503
...
...
@@ -295,6 +295,7 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent )
setUniformItemSizes
(
true
);
setSelectionMode
(
QAbstractItemView
::
ExtendedSelection
);
setDragEnabled
(
true
);
setAttribute
(
Qt
::
WA_MacShowFocusRect
,
false
);
/* dropping in QListView::IconMode does not seem to work */
//setAcceptDrops( true );
//setDropIndicatorShown(true);
...
...
@@ -326,6 +327,7 @@ PlListView::PlListView( PLModel *model, QWidget *parent ) : QListView( parent )
PlListViewItemDelegate
*
delegate
=
new
PlListViewItemDelegate
(
this
);
setItemDelegate
(
delegate
);
setAttribute
(
Qt
::
WA_MacShowFocusRect
,
false
);
}
void
PlListView
::
startDrag
(
Qt
::
DropActions
supportedActions
)
...
...
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