3 * This file is a part of LEMON, a generic C++ optimization library
5 * Copyright (C) 2003-2006
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 * (Egervary Research Group on Combinatorial Optimization, EGRES).
9 * Permission to use, modify and distribute this software is granted
10 * provided that this copyright notice appears in all copies. For
11 * precise terms see the accompanying LICENSE file.
13 * This software is provided "AS IS" with no warranty of any kind,
14 * express or implied, and with no claim as to its suitability for any
24 #include <all_include.h>
26 #include <mapselector.h>
27 #include <libgnomecanvasmm.h>
28 #include <libgnomecanvasmm/polygon.h>
30 ///Graph visualization setup window.
32 ///This class is responsible for creating a window,
33 ///on which the visualization attributes can be
35 class EpsWin : public Gtk::Dialog
38 ///\ref NoteBookTab to that the \ref EpsWin belongs to.
48 std::vector<Gtk::CheckButton *> options;
51 Gtk::Button * ok, * cancel;
53 ///Container in which filename entry are organized.
62 ///It creates the widgets shown in \ref EpsWin and
63 ///binds the needed signal to the correct place.
64 ///\param title title of window
65 ///\param eml edgemap list
66 ///\param nml nodemap list
67 ///\param mw the owner \ref NoteBookTab (\ref mytab)
68 EpsWin(const std::string& title, NoteBookTab & mw);
70 ///Deregistrates \ref EpsWin in its \ref NoteBookTab (\ref mytab)
71 virtual bool on_delete_event(GdkEventAny *);
73 ///Close window if Esc key pressed.
74 virtual bool closeIfEscapeIsPressed(GdkEventKey*);
76 ///Callback function for OK button. It creates the map.
78 ///If OK is pressed this function
79 ///transmits the collected data to
80 ///appropriate functions to be able
82 virtual void on_response(int response_id);