Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
699252e9
Commit
699252e9
authored
Jan 27, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: We might want to share more that just a description
parent
613ec731
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
modules/gui/qt4/components/epg/EPGWidget.hpp
modules/gui/qt4/components/epg/EPGWidget.hpp
+1
-1
modules/gui/qt4/dialogs/epg.cpp
modules/gui/qt4/dialogs/epg.cpp
+7
-1
modules/gui/qt4/dialogs/epg.hpp
modules/gui/qt4/dialogs/epg.hpp
+4
-0
No files found.
modules/gui/qt4/components/epg/EPGWidget.hpp
View file @
699252e9
...
...
@@ -61,7 +61,7 @@ private:
QMultiMap
<
QString
,
EPGEvent
*>
m_events
;
signals:
void
descriptionChanged
(
const
QString
&
);
void
itemSelectionChanged
(
EPGEvent
*
);
};
#endif // EPGWIDGET_H
modules/gui/qt4/dialogs/epg.cpp
View file @
699252e9
...
...
@@ -61,10 +61,16 @@ EpgDialog::EpgDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
splitter
->
addWidget
(
descBox
);
layout
->
addWidget
(
splitter
);
CONNECT
(
epg
,
descriptionChanged
(
const
QString
&
),
description
,
setText
(
const
QString
&
)
);
CONNECT
(
epg
,
descriptionChanged
(
EPGEvent
*
),
this
,
showEvent
(
EPGEvent
*
)
);
}
EpgDialog
::~
EpgDialog
()
{
}
void
EpgDialog
::
showEvent
(
EPGEvent
*
event
)
{
if
(
!
event
)
return
;
description
->
setText
(
event
->
description
);
}
modules/gui/qt4/dialogs/epg.hpp
View file @
699252e9
...
...
@@ -28,6 +28,7 @@
#include "util/singleton.hpp"
class
QLabel
;
class
EPGEvent
;
class
EpgDialog
:
public
QVLCFrame
,
public
Singleton
<
EpgDialog
>
{
Q_OBJECT
;
...
...
@@ -38,6 +39,9 @@ private:
QLabel
*
description
;
friend
class
Singleton
<
EpgDialog
>
;
private
slots
:
void
showEvent
(
EPGEvent
*
);
};
#endif
...
...
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