Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
08385e99
Commit
08385e99
authored
Jan 08, 2010
by
Ludovic Fauvet
Browse files
Documentation update: GraphicsAudioItem
parent
c15b8258
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Gui/timeline/GraphicsAudioItem.h
View file @
08385e99
...
...
@@ -37,6 +37,9 @@ class GraphicsAudioItem : public AbstractGraphicsMediaItem
{
Q_OBJECT
public:
/**
* \brief See http://doc.trolltech.com/4.5/qgraphicsitem.html#type
*/
enum
{
Type
=
UserType
+
1
};
GraphicsAudioItem
(
Clip
*
clip
);
virtual
~
GraphicsAudioItem
();
...
...
@@ -54,7 +57,17 @@ public:
virtual
Clip
*
clip
()
const
;
protected:
/**
* \brief Paint the item's rectangle.
* \param painter Pointer to a QPainter.
* \param option Painting options.
*/
void
paintRect
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
option
);
/**
* \brief Paint the item's title.
* \param painter Pointer to a QPainter.
* \param option Painting options.
*/
void
paintTitle
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
option
);
virtual
void
hoverEnterEvent
(
QGraphicsSceneHoverEvent
*
event
);
virtual
void
hoverLeaveEvent
(
QGraphicsSceneHoverEvent
*
event
);
...
...
@@ -62,6 +75,9 @@ protected:
virtual
void
mouseReleaseEvent
(
QGraphicsSceneMouseEvent
*
event
);
private
slots
:
/**
* \deprecated Do not use.
*/
void
adjustLength
();
private:
...
...
@@ -70,6 +86,11 @@ private:
int
m_height
;
signals:
/**
* \brief Emitted when the item detect a cut request.
* \param self A pointer to the sender.
* \param frame Frame's number where the cut takes place.
*/
void
split
(
GraphicsAudioItem
*
self
,
qint64
frame
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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