3 #include "common/common.hpp"
4 #include "canvas/selectables.hpp"
5 #include "common/object_descr.hpp"
10 class PropertyPanel :
public Gtk::Expander {
11 friend class PropertyEditor;
14 PropertyPanel(BaseObjectType *cobject,
const Glib::RefPtr<Gtk::Builder> &x, ObjectType ty,
class Core *c);
15 static PropertyPanel *create(ObjectType t, Core *c,
class PropertyPanels *parent);
16 ObjectType get_type();
17 void update_objects(
const std::set<SelectableRef> &selection);
18 class PropertyPanels *parent;
21 virtual ~PropertyPanel(){};
26 Gtk::MenuButton *button_sel;
27 Gtk::Label *button_sel_label;
28 Gtk::Button *button_prev;
29 Gtk::Button *button_next;
33 void update_selector();
36 Gtk::Box *editors_box =
nullptr;
37 std::deque<UUID> objects;
38 int object_current = 0;
40 void handle_changed(ObjectProperty::ID property,
const class PropertyValue &value,
bool all);
41 void handle_apply_all(ObjectProperty::ID property,
const class PropertyValue &value);
43 ObjectProperty::ID last_property;
44 gint64 last_property_time;
46 sigc::connection throttle_connection;