5 #include "common/common.hpp"
6 #include "util/uuid.hpp"
7 #include "util/uuid_path.hpp"
11 class MapSymbolDialog :
public Gtk::Dialog {
13 MapSymbolDialog(Gtk::Window *parent,
const std::map<UUIDPath<2>, std::string> &gates);
14 UUIDPath<2> selected_uuid_path;
15 bool selection_valid =
false;
18 class ListColumns :
public Gtk::TreeModelColumnRecord {
22 Gtk::TreeModelColumnRecord::add(name);
23 Gtk::TreeModelColumnRecord::add(uuid_path);
25 Gtk::TreeModelColumn<Glib::ustring> name;
26 Gtk::TreeModelColumn<UUIDPath<2>> uuid_path;
28 ListColumns list_columns;
31 Glib::RefPtr<Gtk::ListStore> store;
34 void row_activated(
const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *column);