|
| TimeTrackElement (const char *name, TimeTrack *timeTrack, size_t elementNumber=InvalidIndex, QColor color=QColor(0, 0, 0)) |
|
MCORE_INLINE double | GetStartTime () const |
|
MCORE_INLINE double | GetEndTime () const |
|
MCORE_INLINE bool | GetIsSelected () const |
|
MCORE_INLINE TimeTrack * | GetTrack () |
|
MCORE_INLINE size_t | GetElementNumber () const |
|
QColor | GetColor () const |
|
void | SetIsSelected (bool selected) |
|
void | SetStartTime (double startTime) |
|
void | SetEndTime (double endTime) |
|
void | SetName (const char *name) |
|
void | SetToolTip (const char *toolTip) |
|
void | SetTrack (TimeTrack *track) |
|
void | SetElementNumber (size_t elementNumber) |
|
void | SetColor (QColor color) |
|
const QString & | GetName () const |
|
const QString & | GetToolTip () const |
|
const QFont & | GetFont () const |
|
virtual void | Render (QPainter &painter, bool isTrackEnabled) |
|
virtual bool | SnapTime (double *inOutTime, double snapTreshold) const |
|
virtual bool | FindResizePoint (int32 x, int32 y, uint32 *outID) |
|
virtual uint32 | HandleResize (uint32 id, double timeDelta, double snapThreshold) |
|
bool | CheckIfIsInside (int32 x, int32 y) const |
|
void | MoveRelative (double timeDelta) |
|
void | CalcDimensions (int32 *outStartX, int32 *outStartY, int32 *outWidth, int32 *outHeight) const |
|
QRect | CalcRect () |
|
bool | GetShowTimeHandles () const |
|
void | SetShowTimeHandles (bool show) |
|
void | SetShowToolTip (bool show) |
|
bool | GetShowToolTip () const |
|
bool | GetIsVisible () const |
|
void | SetIsVisible (bool visible) |
|
bool | GetIsCut () const |
|
void | SetIsCut (bool cut) |
|
MCORE_INLINE bool | GetIsHighlighted () const |
|
MCORE_INLINE void | SetIsHighlighted (bool enabled) |
|