COIN-OR::LEMON - Graph Library

source: lemon-0.x/gui/algobox.h @ 1877:bed340c4f960

Last change on this file since 1877:bed340c4f960 was 1876:5ad84ad1b68f, checked in by Hegyi Péter, 18 years ago

Communication with algorithm window is developed.

File size: 1010 bytes
Line 
1// -*- C++ -*- //
2
3#ifndef ALGOBOX_H
4#define ALGOBOX_H
5
6class AlgoBox;
7
8#include <all_include.h>
9#include <libgnomecanvasmm.h>
10#include <libgnomecanvasmm/polygon.h>
11
12class AlgoBox : public Gtk::VBox
13{
14  sigc::signal<void, std::string> signal_maplist_need; 
15 
16  Gtk::ComboBoxText tabcbt;
17
18protected:
19  Gtk::Label * label;
20  std::vector<Gtk::ComboBoxText *> nodemapcbts;
21  std::vector<Gtk::ComboBoxText *> edgemapcbts;
22 
23public:
24  AlgoBox(){};
25  AlgoBox(std::vector<std::string>, std::vector<std::string>, std::vector<std::string>);
26
27  virtual void init(std::vector<std::string>, std::vector<std::string>, std::vector<std::string>);
28
29  sigc::signal<void, std::string> signal_maplist_needed(); 
30  void emit_tab_change();
31
32  void update_tablist( std::vector< std::string > tl );
33  void update_maplist( std::vector< std::string >, std::vector< std::string >);
34
35  void update_cbt( std::vector< std::string > tl, Gtk::ComboBoxText &);
36 
37  virtual void run();
38 
39  virtual void build_box();
40};
41#endif //ALGOBOX_H
Note: See TracBrowser for help on using the repository browser.