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

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

Description

A »media player« panel.

Definition at line 36 of file play-panel.hpp.

Static Public Member Functions

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

Public Member Functions

 PlayPanel (workspace::PanelManager &, Gdl::DockItem &)
 
- 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 ViewLink = model::WLink< ViewerPanel >
 

Private Member Functions

void dispatchStop ()
 
void dispatchPlay ()
 
void dispatchPause ()
 
ViewLinkaccessViewer ()
 

Private Attributes

widget::ButtonBar buttons_
 
widget::MiniButton buttonStop_
 
widget::MiniButton buttonPlay_
 
widget::MiniButton buttonPause_
 
ViewLink viewer_
 

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

◆ PlayPanel()

PlayPanel ( workspace::PanelManager panelManager,
Gdl::DockItem &  dockItem 
)

Definition at line 39 of file play-panel.cpp.

References ButtonBar::append(), PlayPanel::buttonPause_, PlayPanel::buttonPlay_, PlayPanel::buttons_, PlayPanel::buttonStop_, PlayPanel::dispatchPause(), PlayPanel::dispatchPlay(), and PlayPanel::dispatchStop().

+ Here is the call graph for this function:

Member Typedef Documentation

◆ ViewLink

using ViewLink = model::WLink<ViewerPanel>
private

Definition at line 55 of file play-panel.hpp.

Member Function Documentation

◆ getTitle()

const char * getTitle ( )
static

Definition at line 54 of file play-panel.cpp.

References _.

◆ getStockID()

const gchar * getStockID ( )
static

Definition at line 60 of file play-panel.cpp.

◆ dispatchStop()

void dispatchStop ( )
private

Definition at line 85 of file play-panel.cpp.

References PlayPanel::accessViewer(), ViewerPanel::demoPlayback_, and DemoController::stop().

Referenced by PlayPanel::PlayPanel().

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

◆ dispatchPlay()

void dispatchPlay ( )
private

Definition at line 93 of file play-panel.cpp.

References PlayPanel::accessViewer(), ViewerPanel::demoPlayback_, and DemoController::play().

Referenced by PlayPanel::PlayPanel().

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

◆ dispatchPause()

void dispatchPause ( )
private

Definition at line 101 of file play-panel.cpp.

References PlayPanel::accessViewer(), ViewerPanel::demoPlayback_, and DemoController::pause().

Referenced by PlayPanel::PlayPanel().

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

◆ accessViewer()

PlayPanel::ViewLink & accessViewer ( )
private

Definition at line 73 of file play-panel.cpp.

References WLink< TAR >::connect(), PanelManager::hasPanel(), Panel::panelManager_, PanelManager::showPanel(), and PlayPanel::viewer_.

Referenced by PlayPanel::dispatchPause(), PlayPanel::dispatchPlay(), and PlayPanel::dispatchStop().

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

Member Data Documentation

◆ buttons_

widget::ButtonBar buttons_
private

Definition at line 39 of file play-panel.hpp.

Referenced by PlayPanel::PlayPanel().

◆ buttonStop_

widget::MiniButton buttonStop_
private

Definition at line 40 of file play-panel.hpp.

Referenced by PlayPanel::PlayPanel().

◆ buttonPlay_

widget::MiniButton buttonPlay_
private

Definition at line 41 of file play-panel.hpp.

Referenced by PlayPanel::PlayPanel().

◆ buttonPause_

widget::MiniButton buttonPause_
private

Definition at line 42 of file play-panel.hpp.

Referenced by PlayPanel::PlayPanel().

◆ viewer_

ViewLink viewer_
private

Definition at line 56 of file play-panel.hpp.

Referenced by PlayPanel::accessViewer().

+ Inheritance diagram for PlayPanel:
+ Collaboration diagram for PlayPanel:

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