Public Slots | Signals | Public Member Functions | List of all members
pqTimelineView Class Reference

pqTimelineView holds the timeline views for a pqTimelineModel. More...

#include <pqTimelineView.h>

Inherits QTreeView.

Public Slots

void createRowWidgets (const QModelIndexList &indexes)
 Create row widgets, such as the Delete button in animation track. More...
 
void updateTimelines ()
 Force repainting timelines items. More...
 

Signals

void validateTrackRequested (const pqAnimatedPropertyInfo &prop)
 Emited on Proxy or Property box changes. More...
 
void newTrackRequested (const pqAnimatedPropertyInfo &prop)
 Emited on "add track" button clicked. More...
 
void deleteTrackRequested (const QString &registrationName)
 Emited on "delete track" button clicked, with the pqAnimationCue registration name as argument. More...
 
void editTrackRequested (const QString &registrationName)
 Emited on double click on an editable track. More...
 
void resetStartEndTimeRequested ()
 Emited on "reset start end" button clicked. More...
 

Public Member Functions

 pqTimelineView (QWidget *parent=nullptr)
 
 ~pqTimelineView () override
 
pqTimelineModeltimelineModel ()
 Return inner model as a pqTimelineModel. More...
 
void enableTrackCreationWidget (bool enable)
 Enable the "add track" button. More...
 
void validateTrackCreationWidget ()
 Emits validateTrackRequested() More...
 

Detailed Description

pqTimelineView holds the timeline views for a pqTimelineModel.

This is based on a QTreeView, mainly to be able to collapse some sections. It contains some widgets to handle animation cues (creation and deletion).

Definition at line 20 of file pqTimelineView.h.

Constructor & Destructor Documentation

◆ pqTimelineView()

pqTimelineView::pqTimelineView ( QWidget *  parent = nullptr)

◆ ~pqTimelineView()

pqTimelineView::~pqTimelineView ( )
override

Member Function Documentation

◆ timelineModel()

pqTimelineModel* pqTimelineView::timelineModel ( )

Return inner model as a pqTimelineModel.

◆ enableTrackCreationWidget()

void pqTimelineView::enableTrackCreationWidget ( bool  enable)

Enable the "add track" button.

◆ validateTrackCreationWidget()

void pqTimelineView::validateTrackCreationWidget ( )

◆ createRowWidgets

void pqTimelineView::createRowWidgets ( const QModelIndexList &  indexes)
slot

Create row widgets, such as the Delete button in animation track.

◆ updateTimelines

void pqTimelineView::updateTimelines ( )
slot

Force repainting timelines items.

◆ validateTrackRequested

void pqTimelineView::validateTrackRequested ( const pqAnimatedPropertyInfo prop)
signal

Emited on Proxy or Property box changes.

◆ newTrackRequested

void pqTimelineView::newTrackRequested ( const pqAnimatedPropertyInfo prop)
signal

Emited on "add track" button clicked.

◆ deleteTrackRequested

void pqTimelineView::deleteTrackRequested ( const QString &  registrationName)
signal

Emited on "delete track" button clicked, with the pqAnimationCue registration name as argument.

◆ editTrackRequested

void pqTimelineView::editTrackRequested ( const QString &  registrationName)
signal

Emited on double click on an editable track.

◆ resetStartEndTimeRequested

void pqTimelineView::resetStartEndTimeRequested ( )
signal

Emited on "reset start end" button clicked.


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