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

Rosegarden::RawNoteRuler Class Reference

#include <RawNoteRuler.h>

List of all members.

Detailed Description

RawNoteRuler is a ruler that shows in a vaguely matrix-like fashion when notes start and end, for use with a notation view that can't otherwise show this relatively precise unquantized information. It has no editing function (yet?)

Definition at line 48 of file RawNoteRuler.h.

Public Slots

void slotScrollHoriz (int x)

Public Member Functions

virtual QSize minimumSizeHint () const
 RawNoteRuler (RulerScale *rulerScale, Segment *segment, double xorigin=0.0, int height=0, QWidget *parent=0, const char *name=0)
void setCurrentSegment (Segment *segment)
void setMinimumWidth (int width)
virtual QSize sizeHint () const

Protected Member Functions

virtual void paintEvent (QPaintEvent *)

Private Member Functions

Segment::iterator addChildren (Segment *, Segment::iterator, timeT, EventTreeNode *)
void buildForest (Segment *, Segment::iterator, Segment::iterator)
void drawNode (QPainter &, DefaultVelocityColour &, EventTreeNode *, double height, double yorigin)
void dumpForest (std::vector< EventTreeNode * > *)
void dumpSubtree (EventTreeNode *, int)
std::pair< timeT, timeT > getExtents (Segment::iterator)

Private Attributes

int m_currentXOffset
EventTreeNode::NodeList m_forest
int m_height
Segment * m_segment
int m_width
double m_xorigin


struct  EventTreeNode

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

Generated by  Doxygen 1.6.0   Back to index