synfig-studio  1.0.3
Public Types | Public Member Functions | Public Attributes | List of all members
studio::LayerTree Class Reference

#include <layertree.h>

Public Types

typedef studio::ColumnID ColumnID
typedef std::list
< synfig::Layer::Handle > 
LayerList

Public Member Functions

Gtk::HBox & get_hbox ()
Gtk::TreeView & get_layer_tree_view ()
Gtk::TreeView & get_param_tree_view ()
const Gtk::TreeView & get_layer_tree_view () const
const Gtk::TreeView & get_param_tree_view () const
Glib::RefPtr< Gtk::TreeSelection > get_selection ()
Glib::SignalProxy1< bool,
GdkEvent * > 
signal_event ()
 LayerTree ()
 ~LayerTree ()
void set_model (Glib::RefPtr< LayerTreeStore > layer_tree_store_)
void set_time_adjustment (const Glib::RefPtr< Gtk::Adjustment > &adjustment)
void set_show_timetrack (bool x=true)
sigc::signal< void,
synfig::Layer::Handle > & 
signal_layer_toggle ()
 Signal called when layer is toggled.
sigc::signal< void,
synfigapp::ValueDesc,
synfig::ValueBase > & 
signal_edited_value ()
 Signal called with a value has been edited.
sigc::signal< bool, int,
Gtk::TreeRow, ColumnID > & 
signal_layer_user_click ()
sigc::signal< bool, int,
Gtk::TreeRow, ColumnID > & 
signal_param_user_click ()
sigc::signal< void,
synfigapp::ValueDesc, std::set
< synfig::Waypoint, std::less
< synfig::UniqueID > >, int > & 
signal_waypoint_clicked_layertree ()
sigc::signal< void, int > & signal_param_tree_header_height_changed ()
 Signal fired when the param treeview header height has changed. The first parameter hold the header height.
etl::handle
< synfigapp::SelectionManager
get_selection_manager ()
void select_layer (synfig::Layer::Handle layer)
void select_layers (const LayerList &layer_list)
void select_all_children_layers (synfig::Layer::Handle layer)
void select_all_children (Gtk::TreeModel::Children::iterator iter)
LayerList get_selected_layers () const
synfig::Layer::Handle get_selected_layer () const
void clear_selected_layers ()

Public Attributes

LayerTreeStore::Model layer_model
LayerParamTreeStore::Model param_model
synfig::Layer::Handle last_top_selected_layer
Gtk::TreePath last_top_selected_path

Member Typedef Documentation

typedef std::list<synfig::Layer::Handle> studio::LayerTree::LayerList

Constructor & Destructor Documentation

LayerTree::LayerTree ( )
LayerTree::~LayerTree ( )

Member Function Documentation

Gtk::HBox& studio::LayerTree::get_hbox ( )
inline
Gtk::TreeView& studio::LayerTree::get_layer_tree_view ( )
inline
Gtk::TreeView& studio::LayerTree::get_param_tree_view ( )
inline
const Gtk::TreeView& studio::LayerTree::get_layer_tree_view ( ) const
inline
const Gtk::TreeView& studio::LayerTree::get_param_tree_view ( ) const
inline
Glib::RefPtr<Gtk::TreeSelection> studio::LayerTree::get_selection ( )
inline
Glib::SignalProxy1< bool,GdkEvent* > studio::LayerTree::signal_event ( )
inline

References get_layer_tree_view().

void LayerTree::set_model ( Glib::RefPtr< LayerTreeStore layer_tree_store_)
void LayerTree::set_time_adjustment ( const Glib::RefPtr< Gtk::Adjustment > &  adjustment)
void LayerTree::set_show_timetrack ( bool  x = true)
sigc::signal<void,synfig::Layer::Handle>& studio::LayerTree::signal_layer_toggle ( )
inline

Signal called when layer is toggled.

sigc::signal<void,synfigapp::ValueDesc,synfig::ValueBase>& studio::LayerTree::signal_edited_value ( )
inline

Signal called with a value has been edited.

Referenced by studio::Dock_Layers::init_canvas_view_vfunc().

sigc::signal<bool,int, Gtk::TreeRow, ColumnID>& studio::LayerTree::signal_layer_user_click ( )
inline
sigc::signal<bool,int, Gtk::TreeRow, ColumnID>& studio::LayerTree::signal_param_user_click ( )
inline
sigc::signal<void,synfigapp::ValueDesc,std::set<synfig::Waypoint,std::less<synfig::UniqueID> >,int>& studio::LayerTree::signal_waypoint_clicked_layertree ( )
inline
sigc::signal<void,int>& studio::LayerTree::signal_param_tree_header_height_changed ( )
inline

Signal fired when the param treeview header height has changed. The first parameter hold the header height.

See Also
LayerTree::update_param_tree_header_height()

Referenced by studio::Dock_Timetrack::init_canvas_view_vfunc(), and studio::Dock_Curves::init_canvas_view_vfunc().

etl::handle<synfigapp::SelectionManager> studio::LayerTree::get_selection_manager ( )
inline
void LayerTree::select_layer ( synfig::Layer::Handle  layer)

References get_layer_tree_view().

Referenced by select_layers().

void LayerTree::select_layers ( const LayerList layer_list)

References select_layer().

void LayerTree::select_all_children_layers ( synfig::Layer::Handle  layer)
void LayerTree::select_all_children ( Gtk::TreeModel::Children::iterator  iter)
LayerTree::LayerList LayerTree::get_selected_layers ( ) const
synfig::Layer::Handle LayerTree::get_selected_layer ( ) const
void LayerTree::clear_selected_layers ( )

References get_layer_tree_view().

Member Data Documentation

LayerTreeStore::Model studio::LayerTree::layer_model

Referenced by select_all_children().

LayerParamTreeStore::Model studio::LayerTree::param_model
synfig::Layer::Handle studio::LayerTree::last_top_selected_layer
Gtk::TreePath studio::LayerTree::last_top_selected_path

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