3 #include "pool_browser.hpp" 9 void search()
override;
10 ObjectType get_type()
const override 12 return ObjectType::PACKAGE;
16 Glib::RefPtr<Gtk::ListStore> create_list_store()
override;
17 void create_columns()
override;
18 void add_sort_controller_columns()
override;
19 UUID uuid_from_row(
const Gtk::TreeModel::Row &row)
override;
22 class ListColumns :
public Gtk::TreeModelColumnRecord {
26 Gtk::TreeModelColumnRecord::add(name);
27 Gtk::TreeModelColumnRecord::add(manufacturer);
28 Gtk::TreeModelColumnRecord::add(n_pads);
29 Gtk::TreeModelColumnRecord::add(tags);
30 Gtk::TreeModelColumnRecord::add(uuid);
31 Gtk::TreeModelColumnRecord::add(path);
33 Gtk::TreeModelColumn<Glib::ustring> name;
34 Gtk::TreeModelColumn<Glib::ustring> manufacturer;
35 Gtk::TreeModelColumn<Glib::ustring> tags;
36 Gtk::TreeModelColumn<Glib::ustring> path;
37 Gtk::TreeModelColumn<unsigned int> n_pads;
38 Gtk::TreeModelColumn<UUID> uuid;
40 ListColumns list_columns;
41 Gtk::Entry *name_entry =
nullptr;
42 Gtk::Entry *tags_entry =
nullptr;
Definition: pool_browser_package.hpp:6
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Definition: pool_browser.hpp:11
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition: pool.hpp:18