![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "stage/ctrl/actions.hpp"
A helper class which registers global user actions and populates the main menu and toolbar.
Definition at line 69 of file actions.hpp.
Public Member Functions | |
| Actions (GlobalCtx &globals) | |
| void | populateMainActions (Gtk::UIManager &uiManager) |
| Populates the uiManager with the main set of global actions. | |
| void | updateActionState (workspace::WorkspaceWindow ¤tWindow) |
| Updates the state of the menu/toolbar actions to reflect the current state of the workspace. | |
Private Member Functions | |
| void | populateShowPanelActions (Gtk::UIManager &uiManager) |
| Populates the menu entries to show specific panels within the current window. | |
| void | onMenu_view_assets () |
| void | onMenu_view_infobox () |
| void | onMenu_view_timeline () |
| void | onMenu_view_viewer () |
| void | onMenu_view_play () |
| void | unimplemented (Literal todo) |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
Private Attributes | |
| GlobalCtx & | globalCtx_ |
| Glib::RefPtr< Gtk::ActionGroup > | actionGroup |
| Glib::RefPtr< Gtk::ToggleAction > | assetsPanelAction |
| Glib::RefPtr< Gtk::ToggleAction > | infoboxPanelAction |
| Glib::RefPtr< Gtk::ToggleAction > | timelinePanelAction |
| Glib::RefPtr< Gtk::ToggleAction > | viewerPanelAction |
| Glib::RefPtr< Gtk::ToggleAction > | playPanelAction |
| bool | is_updating_action_state |
Definition at line 75 of file actions.hpp.
|
inline |
Populates the uiManager with the main set of global actions.
sigc::trackable, yet this is not necessary either, since Actions, together with all the other top level UI backbone entities, is created and maintained by GtkLumiera, and thus ensured to exist as long as the GTK event loop is running. Definition at line 90 of file actions.hpp.
References _, Actions::actionGroup, Actions::assetsPanelAction, WindowLocator::closeWindow(), GlobalCtx::director_, InteractionDirector::editSetup(), InteractionDirector::forkProject(), Actions::globalCtx_, Actions::infoboxPanelAction, Wizard::launchTestCtrl(), InteractionDirector::newProject(), InteractionDirector::newSequence(), InteractionDirector::newTrack(), WindowLocator::newWindow(), Actions::onMenu_view_assets(), Actions::onMenu_view_infobox(), Actions::onMenu_view_play(), Actions::onMenu_view_timeline(), Actions::onMenu_view_viewer(), InteractionDirector::openFile(), Actions::playPanelAction, Actions::populateShowPanelActions(), InteractionDirector::render(), InteractionDirector::saveSnapshot(), Wizard::show_HelpAbout(), UiManager::terminateUI(), Actions::timelinePanelAction, GlobalCtx::uiManager_, Actions::unimplemented(), Actions::viewerPanelAction, GlobalCtx::windowLoc_, and GlobalCtx::wizard_.
Referenced by UiManager::UiManager().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Updates the state of the menu/toolbar actions to reflect the current state of the workspace.
Definition at line 246 of file actions.hpp.
|
inlineprivate |
Populates the menu entries to show specific panels within the current window.
Definition at line 280 of file actions.hpp.
References Actions::actionGroup, WindowLocator::findActiveWindow(), PanelManager::getPanelDescriptionCount(), PanelManager::getPanelStockID(), Actions::globalCtx_, and GlobalCtx::windowLoc_.
Referenced by Actions::populateMainActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 314 of file actions.hpp.
References Actions::unimplemented().
Referenced by Actions::populateMainActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 324 of file actions.hpp.
References Actions::unimplemented().
Referenced by Actions::populateMainActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 334 of file actions.hpp.
References Actions::unimplemented().
Referenced by Actions::populateMainActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 343 of file actions.hpp.
References Actions::unimplemented().
Referenced by Actions::populateMainActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 352 of file actions.hpp.
References Actions::unimplemented().
Referenced by Actions::populateMainActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 364 of file actions.hpp.
Referenced by Actions::onMenu_view_assets(), Actions::onMenu_view_infobox(), Actions::onMenu_view_play(), Actions::onMenu_view_timeline(), Actions::onMenu_view_viewer(), and Actions::populateMainActions().
Here is the caller graph for this function:
|
private |
Definition at line 72 of file actions.hpp.
Referenced by Actions::populateMainActions(), and Actions::populateShowPanelActions().
|
private |
Definition at line 373 of file actions.hpp.
Referenced by Actions::populateMainActions(), and Actions::populateShowPanelActions().
|
private |
Definition at line 375 of file actions.hpp.
Referenced by Actions::populateMainActions().
|
private |
Definition at line 376 of file actions.hpp.
Referenced by Actions::populateMainActions().
|
private |
Definition at line 377 of file actions.hpp.
Referenced by Actions::populateMainActions().
|
private |
Definition at line 378 of file actions.hpp.
Referenced by Actions::populateMainActions().
|
private |
Definition at line 379 of file actions.hpp.
Referenced by Actions::populateMainActions().
|
private |
Definition at line 383 of file actions.hpp.
Inheritance diagram for Actions:
Collaboration diagram for Actions: