15 UnitEditor(BaseObjectType *cobject,
const Glib::RefPtr<Gtk::Builder> &x,
const std::string &filename,
18 void select(
const ItemSet &items)
override;
20 void save_as(
const std::string &fn)
override;
21 std::string get_name()
const override;
22 const UUID &get_uuid()
const override;
25 unsigned int get_required_version()
const override;
26 ObjectType get_type()
const override;
32 Gtk::Entry *name_entry =
nullptr;
33 Gtk::Entry *manufacturer_entry =
nullptr;
34 Gtk::ListBox *pins_listbox =
nullptr;
35 Gtk::Button *add_button =
nullptr;
36 Gtk::Button *delete_button =
nullptr;
37 Gtk::CheckButton *cross_probing_cb =
nullptr;
38 Gtk::Label *pin_count_label =
nullptr;
40 Glib::RefPtr<Gtk::SizeGroup> sg_direction;
41 Glib::RefPtr<Gtk::SizeGroup> sg_name;
42 Glib::RefPtr<Gtk::SizeGroup> sg_names;
47 void handle_activate(
class PinEditor *ed);
48 void update_pin_count();
52 bool propagating =
false;
54 std::unique_ptr<HistoryManager::HistoryItem> make_history_item(
const std::string &comment)
override;
Definition history_manager.hpp:10