Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | Static Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | Private Slots | Private Attributes

AbstractGfxScopeWidget Class Reference

Inheritance diagram for AbstractGfxScopeWidget:
Inheritance graph
[legend]
Collaboration diagram for AbstractGfxScopeWidget:
Collaboration graph
[legend]

List of all members.

Public Types

enum  RescaleDirection { North, Northeast, East, Southeast }

Public Slots

void slotActiveMonitorChanged (bool isClipMonitor)
 Must be called when the active monitor has shown a new frame. This slot must be connected in the implementing class, it is *not* done in this abstract class.

Signals

void requestAutoRefresh (bool)
void signalBackgroundRenderingFinished (uint mseconds, uint accelerationFactor)
void signalHUDRenderingFinished (uint mseconds, uint accelerationFactor)
void signalMousePositionChanged ()
void signalScopeRenderingFinished (uint mseconds, uint accelerationFactor)

Public Member Functions

 AbstractGfxScopeWidget (Monitor *projMonitor, Monitor *clipMonitor, bool trackMouse=false, QWidget *parent=0)
bool autoRefreshEnabled ()
virtual void init ()
virtual QString widgetName () const =0

Public Attributes

QPalette m_scopePalette

Static Public Attributes

static const QColor colDarkWhite
static const QColor colHighlightDark
static const QColor colHighlightLight
static const QString directions [] = {"North", "Northeast", "East", "Southeast"}
static const QPen penBackground
static const QPen penDark
static const QPen penDarkDots
static const QPen penLight
static const QPen penLightDots
static const QPen penLighter
static const QPen penThick
static const QPen penThin

Protected Slots

void customContextMenuRequested (const QPoint &pos)
void forceUpdate (bool doUpdate=true)
void forceUpdateBackground ()
void forceUpdateHUD ()
void forceUpdateScope ()
virtual void slotAutoRefreshToggled (bool autoRefresh)
void slotBackgroundRenderingFinished (uint mseconds, uint accelerationFactor)
void slotHUDRenderingFinished (uint mseconds, uint accelerationFactor)
void slotRenderZoneUpdated ()
void slotResetRealtimeFactor (bool realtimeChecked)
void slotScopeRenderingFinished (uint mseconds, uint accelerationFactor)

Protected Member Functions

virtual uint calculateAccelFactorBackground (uint oldMseconds, uint oldFactor)
virtual uint calculateAccelFactorHUD (uint oldMseconds, uint oldFactor)
virtual uint calculateAccelFactorScope (uint oldMseconds, uint oldFactor)
QString configName ()
virtual void handleMouseDrag (const QPoint movement, const RescaleDirection rescaleDirection, const Qt::KeyboardModifiers rescaleModifiers)
virtual bool isBackgroundDependingOnInput () const =0
virtual bool isHUDDependingOnInput () const =0
virtual bool isScopeDependingOnInput () const =0
void leaveEvent (QEvent *)
void mouseMoveEvent (QMouseEvent *event)
void mousePressEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *)
void paintEvent (QPaintEvent *)
virtual void readConfig ()
virtual QImage renderBackground (uint accelerationFactor)=0
 Background renderer. Must emit signalBackgroundRenderingFinished().
virtual QImage renderGfxScope (uint accelerationFactor, const QImage)=0
 Scope renderer. Must emit signalScopeRenderingFinished() when calculation has finished, to allow multi-threading. accelerationFactor hints how much faster than usual the calculation should be accomplished, if possible.
virtual QImage renderHUD (uint accelerationFactor)=0
 HUD renderer. Must emit signalHUDRenderingFinished().
virtual QImage renderScope (uint accelerationFactor)
 Scope renderer. Must emit signalScopeRenderingFinished() when calculation has finished, to allow multi-threading. accelerationFactor hints how much faster than usual the calculation should be accomplished, if possible.
void resizeEvent (QResizeEvent *)
virtual QRect scopeRect ()=0
void showEvent (QShowEvent *)
void writeConfig ()

Protected Attributes

QAction * m_aAutoRefresh
int m_accelFactorBackground
int m_accelFactorHUD
int m_accelFactorScope
Renderm_activeRender
QAction * m_aRealtime
Monitorm_clipMonitor
QImage m_imgBackground
QImage m_imgHUD
QImage m_imgScope
QMenu * m_menu
QPoint m_mousePos
bool m_mouseWithinWidget
Monitorm_projMonitor
QRect m_scopeRect
const uchar offset

Private Slots

void slotRenderZoneUpdated (QImage)

Private Attributes

QImage m_scopeImage

Detailed Description

Definition at line 25 of file abstractgfxscopewidget.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index