4 #include "common/common.hpp"
5 #include "util/uuid.hpp"
6 #include "preview_base.hpp"
7 #include "generic_combo_box.hpp"
11 class PartPreview :
public Gtk::Box,
public PreviewBase {
13 PartPreview(
class IPool &pool,
bool show_goto =
true);
15 void load(
const class Part *part);
20 const class Part *part =
nullptr;
21 class EntityPreview *entity_preview =
nullptr;
23 class PreviewCanvas *canvas_package =
nullptr;
24 GenericComboBox<UUID> *combo_package =
nullptr;
26 Gtk::Label *label_MPN =
nullptr;
27 Gtk::Label *label_manufacturer =
nullptr;
28 Gtk::Label *label_value =
nullptr;
29 Gtk::Label *label_description =
nullptr;
30 Gtk::Label *label_datasheet =
nullptr;
31 Gtk::Label *label_entity =
nullptr;
32 Gtk::Box *box_orderable_MPNs =
nullptr;
33 Gtk::Label *label_orderable_MPNs_title =
nullptr;
35 void handle_package_sel();