Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TimelinePanelObsolete Class Reference

#include "gui/panel/timeline-panel-obsolete.hpp"

Description

Dockable panel to hold timeline widget.

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

Public Member Functions

 TimelinePanelObsolete (workspace::PanelManager &, Gdl::DockItem &)
 
- 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 ()
 

Classes

class  SequenceChooserColumns
 sequence chooser combo box columns More...
 

Private Member Functions

bool is_playing ()
 
shared_ptr
< widget::timeline::TimelineState
loadState (weak_ptr< model::Sequence > sequence)
 
void on_arrow_tool ()
 
bool on_frame ()
 
void on_ibeam_tool ()
 
void on_mouse_hover (Time)
 
void on_play_pause ()
 
void on_playback_period_drag_released ()
 
void on_sequence_chosen ()
 event handler when choosing a new sequence for display More...
 
void on_sequence_list_changed ()
 event handler for change of sequences list More...
 
void on_stop ()
 
void on_time_pressed ()
 
void on_zoom (double time_scale_ratio)
 
void on_zoom_in ()
 
void on_zoom_out ()
 
void pause ()
 
void play ()
 
void setTool (gui::widget::timeline::ToolType tool)
 
void showTime (Time)
 
void updatePlaybackButtons ()
 
void updateSequenceChooser ()
 
void updateToolButtons ()
 
void updateZoomButtons ()
 

Private Attributes

MiniToggleButton arrowTool
 
gui::widget::timeline::ToolType currentTool
 
MiniButton forwardButton
 
MiniToggleButton iBeamTool
 
MiniButton nextButton
 
Controller obsoleteController_
 
Project obsoleteProject_
 
MiniButton playPauseButton
 
MiniButton previousButton
 
MiniButton rewindButton
 
Gtk::SeparatorToolItem separator1
 
Gtk::SeparatorToolItem separator2
 
Gtk::ComboBox sequenceChooser
 
sigc::connection sequenceChooserChangedConnection
 
SequenceChooserColumns sequenceChooserColumns
 
Glib::RefPtr< Gtk::ListStore > sequenceChooserModel
 
MiniButton stopButton
 
TimeCode timeCode
 
std::map< weak_ptr
< model::Sequence >
, shared_ptr
< widget::timeline::TimelineState >
,::util::WeakPtrComparator
timelineStates
 
std::unique_ptr< TimelineWidgettimelineWidget
 
ButtonBar toolbar
 
bool updatingToolbar
 
MiniButton zoomIn
 
MiniButton zoomOut
 
gui::widget::timeline::TimelineZoomScale zoomScale
 

Static Private Attributes

static const int ZoomToolSteps
 

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...
 

Constructor & Destructor Documentation

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

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

Member Function Documentation

const char * getTitle ( )
static

Definition at line 155 of file timeline-panel-obsolete.cpp.

References _.

const gchar * getStockID ( )
static

Definition at line 161 of file timeline-panel-obsolete.cpp.

void on_play_pause ( )
private

Definition at line 167 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::is_playing(), TimelinePanelObsolete::pause(), TimelinePanelObsolete::play(), and TimelinePanelObsolete::updatePlaybackButtons().

+ Here is the call graph for this function:

void on_stop ( )
private

Definition at line 178 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::updatePlaybackButtons().

+ Here is the call graph for this function:

void on_arrow_tool ( )
private

Definition at line 185 of file timeline-panel-obsolete.cpp.

References gui::widget::timeline::Arrow, and TimelinePanelObsolete::setTool().

+ Here is the call graph for this function:

void on_ibeam_tool ( )
private

Definition at line 191 of file timeline-panel-obsolete.cpp.

References gui::widget::timeline::IBeam, and TimelinePanelObsolete::setTool().

+ Here is the call graph for this function:

void on_zoom ( double  time_scale_ratio)
private
void on_zoom_in ( )
private

Definition at line 204 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::timelineWidget, TimelinePanelObsolete::updateZoomButtons(), and TimelinePanelObsolete::ZoomToolSteps.

+ Here is the call graph for this function:

void on_zoom_out ( )
private

Definition at line 212 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::timelineWidget, TimelinePanelObsolete::updateZoomButtons(), and TimelinePanelObsolete::ZoomToolSteps.

+ Here is the call graph for this function:

void on_time_pressed ( )
private
void on_mouse_hover ( Time  )
private

Definition at line 220 of file timeline-panel-obsolete.cpp.

void on_playback_period_drag_released ( )
private

Definition at line 226 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::play(), and TimelinePanelObsolete::timelineWidget.

+ Here is the call graph for this function:

void on_sequence_list_changed ( )
private

event handler for change of sequences list

Definition at line 241 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::updateSequenceChooser().

+ Here is the call graph for this function:

void on_sequence_chosen ( )
private

event handler when choosing a new sequence for display

Definition at line 249 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::loadState(), TimelinePanelObsolete::sequenceChooser, TimelinePanelObsolete::sequenceChooserColumns, TimelinePanelObsolete::SequenceChooserColumns::sequenceColumn, TimelinePanelObsolete::timelineWidget, and TimelinePanelObsolete::updateZoomButtons().

+ Here is the call graph for this function:

void updatePlaybackButtons ( )
private

Definition at line 310 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::is_playing(), TimelinePanelObsolete::playPauseButton, and MiniWrapper< T >::setStockID().

Referenced by TimelinePanelObsolete::on_play_pause(), and TimelinePanelObsolete::on_stop().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void updateToolButtons ( )
private

Definition at line 327 of file timeline-panel-obsolete.cpp.

References gui::widget::timeline::Arrow, TimelinePanelObsolete::arrowTool, TimelinePanelObsolete::currentTool, gui::widget::timeline::IBeam, TimelinePanelObsolete::iBeamTool, and TimelinePanelObsolete::updatingToolbar.

Referenced by TimelinePanelObsolete::setTool().

+ Here is the caller graph for this function:

void updateZoomButtons ( )
private

Definition at line 340 of file timeline-panel-obsolete.cpp.

Referenced by TimelinePanelObsolete::on_sequence_chosen(), TimelinePanelObsolete::on_zoom_in(), and TimelinePanelObsolete::on_zoom_out().

+ Here is the caller graph for this function:

void play ( )
private

Definition at line 349 of file timeline-panel-obsolete.cpp.

Referenced by TimelinePanelObsolete::on_play_pause(), and TimelinePanelObsolete::on_playback_period_drag_released().

+ Here is the caller graph for this function:

void pause ( )
private

Definition at line 355 of file timeline-panel-obsolete.cpp.

Referenced by TimelinePanelObsolete::on_play_pause().

+ Here is the caller graph for this function:

bool is_playing ( )
private

Definition at line 361 of file timeline-panel-obsolete.cpp.

Referenced by TimelinePanelObsolete::on_play_pause(), and TimelinePanelObsolete::updatePlaybackButtons().

+ Here is the caller graph for this function:

void setTool ( gui::widget::timeline::ToolType  tool)
private

Definition at line 367 of file timeline-panel-obsolete.cpp.

References TimelinePanelObsolete::currentTool, TimelinePanelObsolete::timelineWidget, TimelinePanelObsolete::updateToolButtons(), and TimelinePanelObsolete::updatingToolbar.

Referenced by TimelinePanelObsolete::on_arrow_tool(), and TimelinePanelObsolete::on_ibeam_tool().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void showTime ( Time  time)
private

Definition at line 379 of file timeline-panel-obsolete.cpp.

shared_ptr< TimelineState > loadState ( weak_ptr< model::Sequence sequence)
private

Definition at line 394 of file timeline-panel-obsolete.cpp.

References util::contains(), and TimelinePanelObsolete::timelineStates.

Referenced by TimelinePanelObsolete::on_sequence_chosen().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool on_frame ( )
private

Definition at line 387 of file timeline-panel-obsolete.cpp.

Member Data Documentation

Project obsoleteProject_
private
Controller obsoleteController_
private

Definition at line 153 of file timeline-panel-obsolete.hpp.

ButtonBar toolbar
private

Definition at line 157 of file timeline-panel-obsolete.hpp.

Glib::RefPtr<Gtk::ListStore> sequenceChooserModel
private
Gtk::ComboBox sequenceChooser
private
sigc::connection sequenceChooserChangedConnection
private
std::map< weak_ptr<model::Sequence> , shared_ptr<widget::timeline::TimelineState> , ::util::WeakPtrComparator > timelineStates
private

Definition at line 172 of file timeline-panel-obsolete.hpp.

Referenced by TimelinePanelObsolete::loadState().

TimeCode timeCode
private

Definition at line 175 of file timeline-panel-obsolete.hpp.

MiniButton previousButton
private

Definition at line 177 of file timeline-panel-obsolete.hpp.

MiniButton rewindButton
private

Definition at line 178 of file timeline-panel-obsolete.hpp.

MiniButton playPauseButton
private
MiniButton stopButton
private

Definition at line 180 of file timeline-panel-obsolete.hpp.

MiniButton forwardButton
private

Definition at line 181 of file timeline-panel-obsolete.hpp.

MiniButton nextButton
private

Definition at line 182 of file timeline-panel-obsolete.hpp.

MiniToggleButton arrowTool
private
MiniToggleButton iBeamTool
private
Gtk::SeparatorToolItem separator1
private

Definition at line 187 of file timeline-panel-obsolete.hpp.

MiniButton zoomIn
private

Definition at line 189 of file timeline-panel-obsolete.hpp.

MiniButton zoomOut
private

Definition at line 190 of file timeline-panel-obsolete.hpp.

Definition at line 191 of file timeline-panel-obsolete.hpp.

Gtk::SeparatorToolItem separator2
private

Definition at line 193 of file timeline-panel-obsolete.hpp.

bool updatingToolbar
private
const int ZoomToolSteps
staticprivate
+ Inheritance diagram for TimelinePanelObsolete:
+ Collaboration diagram for TimelinePanelObsolete:

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