author | ladanyi |
Thu, 05 Jan 2006 01:54:24 +0000 | |
changeset 1877 | bed340c4f960 |
child 1878 | 409a31271efd |
permissions | -rw-r--r-- |
1 #include <kruskalbox.h>
3 KruskalBox::KruskalBox(std::vector<std::string> t, std::vector<std::string> nm, std::vector<std::string> em):AlgoBox()
4 {
5 init(t, nm, em);
6 }
8 void KruskalBox::run()
9 {
10 std::cout << "Kruskal inditasa, de meg nincsen keszen." << std::endl;
11 }
13 void KruskalBox::build_box()
14 {
15 edgemapcbts.resize(1);
16 Gtk::HBox * hbox=new Gtk::HBox();
18 std::ostringstream o;
19 o << "Edgecosts: ";
20 label=new Gtk::Label(o.str());
22 edgemapcbts[0]=new Gtk::ComboBoxText();
24 hbox->pack_start(*label);
25 hbox->pack_start(*(edgemapcbts[0]));
26 pack_start(*hbox);
27 }