#include <stockgui.h>
Inheritance diagram for StockGui:
Public Member Functions | |
StockGui (Stock *const stock) | |
~StockGui () | |
Gtk::Label * | getLabelWkn () const |
Gtk::Label * | getLabelBuyingDate () const |
Gtk::SpinButton * | getSpinButtonAmount () const |
Gtk::SpinButton * | getSpinButtonBuyingRate () const |
Gtk::Label * | getLabelPurchaseValue () const |
Gtk::SpinButton * | getSpinButtonPurchaseCost () const |
Gtk::SpinButton * | getSpinButtonCurrentMarketPrice () const |
Gtk::Label * | getLabelDayPerformance () const |
Gtk::Label * | getLabelTotalMarketValue () const |
Gtk::Label * | getLabelOverallPerformance () const |
Gtk::Button * | getButtonInfo () const |
Gtk::Button * | getButtonChart () const |
void | update (const Subject *const subject) |
Definition at line 34 of file stockgui.h.
|
constructor.
Definition at line 29 of file stockgui.cpp. References update(). |
|
destructor. Definition at line 85 of file stockgui.cpp. References Subject::detach(). |
|
Returns the chart button.
Definition at line 185 of file stockgui.cpp. |
|
Returns the info button.
Definition at line 178 of file stockgui.cpp. |
|
Returns the buying date label.
Definition at line 115 of file stockgui.cpp. |
|
Returns the day performance label.
Definition at line 157 of file stockgui.cpp. |
|
Returns the overall performance label.
Definition at line 171 of file stockgui.cpp. |
|
Returns the purchase value label.
Definition at line 136 of file stockgui.cpp. |
|
Returns the total market value label.
Definition at line 164 of file stockgui.cpp. |
|
Returns the wkn label.
Definition at line 108 of file stockgui.cpp. |
|
Returns the amount spinbutton.
Definition at line 122 of file stockgui.cpp. |
|
Returns the buying rate spinbutton.
Definition at line 129 of file stockgui.cpp. |
|
Returns the current market price spinbutton.
Definition at line 150 of file stockgui.cpp. |
|
Returns the purchase cost spinbutton.
Definition at line 143 of file stockgui.cpp. |
|
Update method.
Implements Observer. Definition at line 299 of file stockgui.cpp. References Stock::getAmount(), Stock::getBuyingDate(), Stock::getBuyingRate(), Stock::getCurrentMarketPrice(), Stock::getName(), Stock::getPurchaseCost(), and Stock::getWkn(). Referenced by StockGui(). |