#include <drawabletreeview.h>
Public Member Functions | |
DrawableTreeView (Drawable::pointer d=Drawable::pointer()) | |
~DrawableTreeView () | |
void | set_drawable (Drawable::pointer d) |
void | set_show_layers (bool set=true) |
bool | is_show_layers_set () |
Protected Member Functions | |
void | add_group (const ::Gtk::TreeRow &row, Group::pointer group) |
void | add_drawable (const ::Gtk::TreeRow &row, Drawable::pointer d) |
Protected Attributes | |
Drawable::pointer | m_drawable |
Glib::RefPtr< ::Gtk::TreeStore > | m_store |
DrawableModelColumnRecord | m_column_record |
bool | m_show_layers |
Papyrus::Gtk::DrawableTreeView::DrawableTreeView | ( | Drawable::pointer | d = Drawable::pointer() |
) |
Papyrus::Gtk::DrawableTreeView::~DrawableTreeView | ( | ) |
void Papyrus::Gtk::DrawableTreeView::add_drawable | ( | const ::Gtk::TreeRow & | row, | |
Drawable::pointer | d | |||
) | [protected] |
References add_group(), Papyrus::Gtk::DrawableModelColumnRecord::id, m_column_record, m_store, papyrus_dynamic_pointer_cast, and Papyrus::Gtk::DrawableModelColumnRecord::type.
Referenced by add_group(), and set_drawable().
void Papyrus::Gtk::DrawableTreeView::add_group | ( | const ::Gtk::TreeRow & | row, | |
Group::pointer | group | |||
) | [protected] |
References add_drawable(), m_column_record, m_show_layers, m_store, and Papyrus::Gtk::DrawableModelColumnRecord::type.
Referenced by add_drawable(), and set_drawable().
bool Papyrus::Gtk::DrawableTreeView::is_show_layers_set | ( | ) |
References m_show_layers.
void Papyrus::Gtk::DrawableTreeView::set_drawable | ( | Drawable::pointer | d | ) |
References add_drawable(), add_group(), Papyrus::Gtk::DrawableModelColumnRecord::id, m_column_record, m_store, papyrus_dynamic_pointer_cast, and Papyrus::Gtk::DrawableModelColumnRecord::type.
Referenced by DrawableTreeView(), Papyrus::Gtk::ScrolledDrawableTreeView::set_drawable(), and set_show_layers().
void Papyrus::Gtk::DrawableTreeView::set_show_layers | ( | bool | set = true |
) |
References m_drawable, m_show_layers, and set_drawable().
Referenced by add_drawable(), add_group(), DrawableTreeView(), and set_drawable().
Referenced by set_show_layers().
bool Papyrus::Gtk::DrawableTreeView::m_show_layers [protected] |
Referenced by add_group(), is_show_layers_set(), and set_show_layers().
Glib::RefPtr< ::Gtk::TreeStore > Papyrus::Gtk::DrawableTreeView::m_store [protected] |
Referenced by add_drawable(), add_group(), DrawableTreeView(), and set_drawable().