synfig-studio
1.0.3
|
#include <layerparamtreestore.h>
Classes | |
class | Model |
TreeModel for the layer parameters. More... |
Public Types | |
typedef std::list < synfig::Layer::Handle > | LayerList |
Public Member Functions | |
LayerParamTreeStore (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface_, LayerTree *layer_tree) | |
~LayerParamTreeStore () | |
void | rebuild () |
void | refresh () |
void | queue_refresh () |
void | queue_rebuild () |
void | refresh_row (Gtk::TreeModel::Row &row) |
sigc::signal< void > & | signal_changed () |
void | changed () |
Public Member Functions inherited from studio::CanvasTreeStore | |
CanvasTreeStore (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface_) | |
~CanvasTreeStore () | |
etl::loose_handle < synfigapp::CanvasInterface > | canvas_interface () |
etl::loose_handle< const synfigapp::CanvasInterface > | canvas_interface () const |
virtual void | rebuild_row (Gtk::TreeModel::Row &row, bool do_children=true) |
virtual void | refresh_row (Gtk::TreeModel::Row &row, bool do_children=true) |
virtual void | set_row (Gtk::TreeRow row, synfigapp::ValueDesc value_desc, bool do_children=true) |
bool | find_first_value_desc (const synfigapp::ValueDesc &value_desc, Gtk::TreeIter &iter) |
bool | find_next_value_desc (const synfigapp::ValueDesc &value_desc, Gtk::TreeIter &iter) |
bool | find_first_value_node (const synfig::ValueNode::Handle &value_node, Gtk::TreeIter &iter) |
bool | find_next_value_node (const synfig::ValueNode::Handle &value_node, Gtk::TreeIter &iter) |
etl::loose_handle < synfigapp::CanvasInterface > | get_canvas_interface () const |
virtual void | on_value_node_changed (synfig::ValueNode::Handle value_node)=0 |
Static Public Member Functions | |
static Glib::RefPtr < LayerParamTreeStore > | create (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface_, LayerTree *layer_tree) |
Static Public Member Functions inherited from studio::CanvasTreeStore | |
static CellRenderer_ValueBase * | add_cell_renderer_value (Gtk::TreeView::Column *column) |
static CellRenderer_TimeTrack * | add_cell_renderer_value_node (Gtk::TreeView::Column *column) |
Public Attributes | |
Model | model |
Public Attributes inherited from studio::CanvasTreeStore | |
const Model | model |
Protected Member Functions | |
virtual void | get_value_vfunc (const Gtk::TreeModel::iterator &iter, int column, Glib::ValueBase &value) const |
virtual void | set_value_impl (const Gtk::TreeModel::iterator &row, int column, const Glib::ValueBase &value) |
virtual void | set_row (Gtk::TreeRow row, synfigapp::ValueDesc value_desc) |
typedef std::list<synfig::Layer::Handle> studio::LayerParamTreeStore::LayerList |
LayerParamTreeStore::LayerParamTreeStore | ( | etl::loose_handle< synfigapp::CanvasInterface > | canvas_interface_, |
LayerTree * | layer_tree | ||
) |
References studio::CanvasTreeStore::canvas_interface(), studio::LayerTree::get_selection(), queue_rebuild(), queue_refresh(), rebuild(), and signal_changed().
Referenced by create().
LayerParamTreeStore::~LayerParamTreeStore | ( | ) |
|
protectedvirtual |
Reimplemented from studio::CanvasTreeStore.
References synfigapp::ValueDesc::get_value_node(), studio::LayerParamTreeStore::Model::is_inconsistent, studio::LayerParamTreeStore::Model::is_toplevel, synfigapp::ValueDesc::is_value_node(), studio::CanvasTreeStore::Model::label, model, studio::LayerParamTreeStore::Model::param_desc, and studio::CanvasTreeStore::Model::value_desc.
|
protectedvirtual |
References _, synfigapp::Action::PassiveGrouper::cancel(), studio::CanvasTreeStore::canvas_interface(), studio::App::dialog_message_1b(), studio::LayerParamTreeStore::Model::is_toplevel, model, studio::LayerParamTreeStore::Model::param_desc, studio::CanvasTreeStore::Model::value, and studio::CanvasTreeStore::Model::value_desc.
|
protectedvirtual |
Referenced by rebuild().
void LayerParamTreeStore::rebuild | ( | ) |
References studio::CanvasTreeStore::Model::canvas, changed(), studio::LayerTree::get_selected_layers(), studio::LayerParamTreeStore::Model::is_inconsistent, model, studio::LayerParamTreeStore::Model::param_desc, set_row(), and studio::CanvasTreeStore::Model::tooltip.
Referenced by LayerParamTreeStore(), and queue_rebuild().
void LayerParamTreeStore::refresh | ( | ) |
References refresh_row().
Referenced by queue_refresh().
void LayerParamTreeStore::queue_refresh | ( | ) |
References refresh().
Referenced by LayerParamTreeStore().
void LayerParamTreeStore::queue_rebuild | ( | ) |
References rebuild().
Referenced by LayerParamTreeStore().
void LayerParamTreeStore::refresh_row | ( | Gtk::TreeModel::Row & | row | ) |
|
inline |
Referenced by LayerParamTreeStore().
|
inline |
Referenced by rebuild().
|
static |
References LayerParamTreeStore().
Model studio::LayerParamTreeStore::model |
Referenced by get_value_vfunc(), rebuild(), refresh_row(), and set_value_impl().