30using std::make_unique;
36 using timeline::TimelinePage;
37 using timeline::TimelineWidget;
38 using timeline::TimelineWidgetEmpty;
42 Gdl::DockItem& dockItem)
43 :
Panel(panelManager, dockItem, getTitle(), getStockID())
63 return "panel_timeline";
72 return 1 == pages.size()
80 if (isEmptyTimeline (
pages_))
85 pages_.push_back (move (pTimelineWidget));
The base class for all dockable panels.
void addTimeline(PageHandle &&)
take ownership of the widget and place it into a new tab
std::unique_ptr< timeline::TimelinePage > PageHandle
TimelinePanel(workspace::PanelManager &, Gdl::DockItem &)
static const char * getTitle()
static const gchar * getStockID()
Interface: GUI page holding a timeline display.
virtual cuString getLabel() const =0
A class to manage DockItem objects for WorkspaceWindow.
A set of basic GTK includes for the UI.
bool isEmptyTimeline(P const &pages)
Lumiera GTK UI implementation root.
A dockable container to hold a notebook of timeline displays.