Lumiera  0.pre.03
»edityourfreedom«
TimelinePanel Class Reference

#include "gui/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 61 of file timeline-panel.hpp.

Public Member Functions

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

Static Public Member Functions

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

Private Types

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

Private Attributes

Timelines pages_
 
Gtk::Notebook tabs_
 

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
Gdl::DockItem & dockItem_
 owner dock item widget that will host the widgets in this panel. More...
 
sigc::signal< void > hidePanelSignal_
 signal that fires when the dock item is hidden. More...
 
widget::PanelBar panelBar_
 panel bar to attach to the panel grip. More...
 
workspace::PanelManagerpanelManager_
 The owner panel manager object. More...
 

Member Typedef Documentation

◆ PageHandle

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

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

◆ Timelines

using Timelines = std::vector<PageHandle>
private

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

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 50 of file timeline-panel.cpp.

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getTitle()

const char * getTitle ( )
static

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

References _.

◆ getStockID()

const gchar * getStockID ( )
static

Definition at line 70 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 86 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 67 of file timeline-panel.hpp.

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

◆ pages_

Timelines pages_
private

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

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

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

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