Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
TimelinePanel Class Reference

#include "stage/panel/timeline-panel.hpp"

Description

Dockable panel to hold timeline widget(s).

Todo:
WIP 10/2018 the actual re-implementation of Lumiera's Timeline display

Definition at line 54 of file timeline-panel.hpp.

Static Public Member Functions

static const char * getTitle ()
 
static const gchar * getStockID ()
 

Public Member Functions

 TimelinePanel (workspace::PanelManager &, Gdl::DockItem &)
 
void addTimeline (PageHandle &&)
 take ownership of the widget and place it into a new tab
 
- Public Member Functions inherited from Panel
 ~Panel ()
 
Gdl::DockItem & getDockItem ()
 
void show (bool show=true)
 Shows or hides the panel.
 
bool is_shown () const
 
void iconify ()
 
bool is_iconified () const
 
void lock (bool show=true)
 Locks or unlocks the panel against modifications.
 
bool is_locked () const
 
workspace::PanelManagergetPanelManager ()
 
sigc::signal< void > & signal_hidePanel ()
 fires when the dock item gets hidden.
 

Private Types

using PageHandle = std::unique_ptr< timeline::TimelinePage >
 
using Timelines = std::vector< PageHandle >
 

Private Attributes

Gtk::Notebook tabs_
 
Timelines pages_
 

Additional Inherited Members

- Protected Member Functions inherited from Panel
 Panel (workspace::PanelManager &, Gdl::DockItem &, const gchar *longName, const gchar *stockID)
 
workspace::WorkspaceWindowgetWorkspaceWindow ()
 
- Protected Attributes inherited from Panel
workspace::PanelManagerpanelManager_
 The owner panel manager object.
 
Gdl::DockItem & dockItem_
 owner dock item widget that will host the widgets in this panel.
 
sigc::signal< void > hidePanelSignal_
 signal that fires when the dock item is hidden.
 
widget::PanelBar panelBar_
 panel bar to attach to the panel grip.
 

Constructor & Destructor Documentation

◆ TimelinePanel()

TimelinePanel ( workspace::PanelManager panelManager,
Gdl::DockItem &  dockItem 
)
Parameters
panel_managerThe owner panel manager widget.
dock_itemThe GdlDockItem that will host this panel.

Definition at line 41 of file timeline-panel.cpp.

References TimelinePanel::addTimeline(), and TimelinePanel::tabs_.

+ Here is the call graph for this function:

Member Typedef Documentation

◆ PageHandle

using PageHandle = std::unique_ptr<timeline::TimelinePage>
private

Definition at line 57 of file timeline-panel.hpp.

◆ Timelines

using Timelines = std::vector<PageHandle>
private

Definition at line 58 of file timeline-panel.hpp.

Member Function Documentation

◆ getTitle()

const char * getTitle ( )
static

Definition at line 55 of file timeline-panel.cpp.

References _.

◆ getStockID()

const gchar * getStockID ( )
static

Definition at line 61 of file timeline-panel.cpp.

◆ addTimeline()

void addTimeline ( PageHandle &&  pTimelineWidget)

take ownership of the widget and place it into a new tab

Definition at line 78 of file timeline-panel.cpp.

References TimelinePage::getLabel(), TimelinePanel::pages_, and TimelinePanel::tabs_.

Referenced by TimelinePanel::TimelinePanel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ tabs_

Gtk::Notebook tabs_
private

Definition at line 60 of file timeline-panel.hpp.

Referenced by TimelinePanel::TimelinePanel(), and TimelinePanel::addTimeline().

◆ pages_

Timelines pages_
private

Definition at line 61 of file timeline-panel.hpp.

Referenced by TimelinePanel::addTimeline().

+ Inheritance diagram for TimelinePanel:
+ Collaboration diagram for TimelinePanel:

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