00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef REMOVESTOCK_H
00019 #define REMOVESTOCK_H
00020
00021 #include <gtkmm.h>
00022
00023 #include <stdio.h>
00024 #include <iostream>
00025 #include <iterator>
00026 #include <string>
00027 #include <vector>
00028
00029 class Stock;
00030 class StockMarket;
00031 class StockMarketVector;
00032
00033 using namespace std;
00040 class RemoveStock : public Gtk::Window {
00041
00042 private:
00043 Gtk::VBox *vbox, *vboxChoice;
00044 Gtk::Button *buttonNext, *buttonCancel, *buttonFinish;
00045 Gtk::HButtonBox *hButtonBox;
00046 Gtk::Table *tableEditStockValue;
00047 Gtk::Combo *comboStockName;
00048
00049 Gtk::HSeparator *hSep;
00050 Gtk::Label *label;
00051
00052 vector <Gtk::RadioButton *> radioButtons;
00053 list<string> vector_char;
00054
00055 StockMarket *stockMarket;
00056 const StockMarketVector *stockMarketVector;
00057
00058 void quit();
00059 void removeStock();
00060 void finishRemoveStock();
00061
00062
00063 public:
00064 RemoveStock(const StockMarketVector * const stockMarketVector);
00065 ~RemoveStock();
00066
00067 protected:
00068 virtual bool on_delete_event(GdkEventAny *event);
00069
00070 };
00071
00072 #endif
00073
00074