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
45ac6e57
Commit
45ac6e57
authored
Jun 02, 2010
by
Ludovic Fauvet
Committed by
Jean-Baptiste Kempf
Jun 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epg: remove the external channels widget
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
4f30340a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
24 deletions
+4
-24
modules/gui/qt4/components/epg/EPGWidget.cpp
modules/gui/qt4/components/epg/EPGWidget.cpp
+4
-16
modules/gui/qt4/components/epg/EPGWidget.hpp
modules/gui/qt4/components/epg/EPGWidget.hpp
+0
-8
No files found.
modules/gui/qt4/components/epg/EPGWidget.cpp
View file @
45ac6e57
...
...
@@ -27,35 +27,23 @@
#include "EPGWidget.hpp"
#include <Q
Grid
Layout>
#include <Q
VBox
Layout>
#include <QScrollBar>
#include <QDebug>
#include <QLabel>
#include "qt4.hpp"
ChannelsWidget
::
ChannelsWidget
(
QWidget
*
parent
)
:
QWidget
(
parent
)
{
setContentsMargins
(
0
,
0
,
0
,
0
);
setMaximumWidth
(
50
);
setFocusPolicy
(
Qt
::
ClickFocus
);
}
EPGWidget
::
EPGWidget
(
QWidget
*
parent
)
:
QWidget
(
parent
)
{
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
m_rulerWidget
=
new
EPGRuler
(
this
);
m_channelsWidget
=
new
ChannelsWidget
(
this
);
m_epgView
=
new
EPGView
(
this
);
m_channelsWidget
->
setMinimumWidth
(
40
);
m_epgView
->
setSizePolicy
(
QSizePolicy
::
Expanding
,
QSizePolicy
::
Expanding
);
setZoom
(
1
);
layout
->
addWidget
(
m_rulerWidget
,
0
,
1
);
layout
->
addWidget
(
m_
channelsWidget
,
1
,
0
);
layout
->
addWidget
(
m_epgView
,
1
,
1
);
QVBoxLayout
*
layout
=
new
QVBoxLayout
(
this
);
layout
->
addWidget
(
m_
rulerWidget
);
layout
->
addWidget
(
m_epgView
);
layout
->
setSpacing
(
0
);
setLayout
(
layout
);
...
...
modules/gui/qt4/components/epg/EPGWidget.hpp
View file @
45ac6e57
...
...
@@ -36,13 +36,6 @@
class
QDateTime
;
class
ChannelsWidget
:
public
QWidget
{
Q_OBJECT
public:
explicit
ChannelsWidget
(
QWidget
*
parent
=
0
);
};
class
EPGWidget
:
public
QWidget
{
Q_OBJECT
...
...
@@ -54,7 +47,6 @@ public slots:
void
updateEPG
(
vlc_epg_t
**
pp_epg
,
int
i_epg
);
private:
ChannelsWidget
*
m_channelsWidget
;
EPGRuler
*
m_rulerWidget
;
EPGView
*
m_epgView
;
...
...
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