17 PnPExportWindow(BaseObjectType *cobject,
const Glib::RefPtr<Gtk::Builder> &x,
const class Board &brd,
20 const std::string &project_dir);
22 void set_can_export(
bool v);
24 void update_preview();
28 const class Board &board;
33 Gtk::Button *export_button =
nullptr;
34 Gtk::Label *done_label =
nullptr;
35 Gtk::Revealer *done_revealer =
nullptr;
36 Gtk::Button *done_close_button =
nullptr;
37 Gtk::Entry *directory_entry =
nullptr;
38 Gtk::Button *directory_button =
nullptr;
40 Gtk::ComboBoxText *mode_combo =
nullptr;
41 Gtk::CheckButton *nopopulate_check =
nullptr;
42 Gtk::Label *filename_merged_label =
nullptr;
43 Gtk::Label *filename_top_label =
nullptr;
44 Gtk::Label *filename_bottom_label =
nullptr;
45 Gtk::Entry *filename_merged_entry =
nullptr;
46 Gtk::Entry *filename_top_entry =
nullptr;
47 Gtk::Entry *filename_bottom_entry =
nullptr;
49 Gtk::CheckButton *customize_check =
nullptr;
50 Gtk::Revealer *customize_revealer =
nullptr;
51 Gtk::Grid *customize_grid =
nullptr;
53 bool can_export =
true;
54 void update_export_button();
56 void update_filename_visibility();
58 Gtk::TreeView *preview_tv =
nullptr;
67 std::string get_column_name(
int col)
const override;
68 std::map<int, std::string> get_column_names()
const override;
75 class ListColumnsPreview :
public Gtk::TreeModelColumnRecord {
79 Gtk::TreeModelColumnRecord::add(row);
81 Gtk::TreeModelColumn<PnPRow> row;
83 ListColumnsPreview list_columns_preview;
85 Glib::RefPtr<Gtk::ListStore> store;