A drop-down combobox that is loaded with graphical examples of all marker styles styles available in Papyrus. More...
#include <markercombobox.h>
Classes | |
class | ModelColumns |
Public Member Functions | |
MarkerComboBox (Papyrus::Marker::Facing facing=Papyrus::Marker::RIGHT, int active=0) | |
~MarkerComboBox () | |
Papyrus::Marker::Facing | facing () |
void | set_facing (Papyrus::Marker::Facing facing) |
Papyrus::Marker::Style | style () |
void | set_style (Papyrus::Marker::Style style) |
Glib::SignalProxy0< void > | signal_changed () |
Protected Member Functions | |
void | load_pixbufs () |
Protected Attributes | |
::Gtk::ComboBox | m_combobox |
::Gtk::ToggleButton | m_left |
::Gtk::ToggleButton | m_right |
::Gtk::Tooltips | m_tips |
Papyrus::Marker::Facing | m_facing |
Glib::RefPtr< ::Gtk::ListStore > | m_store |
ModelColumns | m_columns |
std::vector< Glib::RefPtr < Gdk::Pixbuf > > | m_pixbuf |
A drop-down combobox that is loaded with graphical examples of all marker styles styles available in Papyrus.
MarkerComboBox collapsed
MarkerComboBox expanded
Papyrus::Gtk::MarkerComboBox::MarkerComboBox | ( | Papyrus::Marker::Facing | facing = Papyrus::Marker::RIGHT , |
|
int | active = 0 | |||
) |
Papyrus::Gtk::MarkerComboBox::~MarkerComboBox | ( | ) |
Papyrus::Marker::Facing Papyrus::Gtk::MarkerComboBox::facing | ( | ) |
References m_facing.
Referenced by load_pixbufs(), Papyrus::Gtk::MarkerWidget::on_marker_style_changed(), and set_facing().
void Papyrus::Gtk::MarkerComboBox::load_pixbufs | ( | ) | [protected] |
References Papyrus::Marker::BACKSLASH, Papyrus::Canvas::create(), Papyrus::Gtk::create_pixbuf(), Papyrus::example_marker(), facing(), m_columns, m_pixbuf, m_store, Papyrus::Gtk::marker_string, Papyrus::Gtk::MarkerComboBox::ModelColumns::name, Papyrus::Marker::NONE, and Papyrus::Gtk::MarkerComboBox::ModelColumns::picture.
Referenced by MarkerComboBox(), and set_facing().
void Papyrus::Gtk::MarkerComboBox::set_facing | ( | Papyrus::Marker::Facing | facing | ) |
References facing(), Papyrus::Marker::LEFT, load_pixbufs(), m_combobox, m_facing, m_left, and m_right.
Referenced by MarkerComboBox().
void Papyrus::Gtk::MarkerComboBox::set_style | ( | Papyrus::Marker::Style | style | ) |
References m_combobox.
Glib::SignalProxy0< void > Papyrus::Gtk::MarkerComboBox::signal_changed | ( | ) |
References m_combobox.
Referenced by Papyrus::Gtk::MarkerWidget::MarkerWidget().
Papyrus::Marker::Style Papyrus::Gtk::MarkerComboBox::style | ( | ) |
References m_combobox.
Referenced by Papyrus::Gtk::MarkerWidget::on_marker_style_changed().
ModelColumns Papyrus::Gtk::MarkerComboBox::m_columns [protected] |
Referenced by load_pixbufs(), and MarkerComboBox().
::Gtk::ComboBox Papyrus::Gtk::MarkerComboBox::m_combobox [protected] |
Referenced by MarkerComboBox(), set_facing(), set_style(), signal_changed(), and style().
Referenced by facing(), and set_facing().
::Gtk::ToggleButton Papyrus::Gtk::MarkerComboBox::m_left [protected] |
Referenced by MarkerComboBox(), and set_facing().
std::vector<Glib::RefPtr<Gdk::Pixbuf> > Papyrus::Gtk::MarkerComboBox::m_pixbuf [protected] |
Referenced by load_pixbufs().
::Gtk::ToggleButton Papyrus::Gtk::MarkerComboBox::m_right [protected] |
Referenced by MarkerComboBox(), and set_facing().
Glib::RefPtr< ::Gtk::ListStore> Papyrus::Gtk::MarkerComboBox::m_store [protected] |
Referenced by load_pixbufs(), and MarkerComboBox().
::Gtk::Tooltips Papyrus::Gtk::MarkerComboBox::m_tips [protected] |
Referenced by MarkerComboBox().