|
Money Manager EX
An easy to use, money management application built with wxWidgets
|
#include <stocks_list.h>
Inheritance diagram for StocksListCtrl:
Collaboration diagram for StocksListCtrl:Public Member Functions | |
| StocksListCtrl (mmStocksPanel *cp, wxWindow *parent, wxWindowID winid=wxID_ANY) | |
| ~StocksListCtrl () | |
| void | doRefreshItems (int64 trx_id=-1) |
| long | get_selectedIndex () |
| wxString | getStockInfo (int selectedIndex, bool addtotal) const |
| int | initVirtualListControl (int64 trx_id=-1) |
| void | getInvestmentBalance (double &invested, double ¤t) |
| void | OnNewStocks (wxCommandEvent &event) |
| void | OnDeleteStocks (wxCommandEvent &event) |
| void | OnMoveStocks (wxCommandEvent &event) |
| void | OnEditStocks (wxCommandEvent &event) |
| void | OnOrganizeAttachments (wxCommandEvent &event) |
| void | OnStockWebPage (wxCommandEvent &event) |
| void | OnOpenAttachment (wxCommandEvent &event) |
Public Member Functions inherited from mmListCtrl | |
| mmListCtrl (wxWindow *parent, wxWindowID winid) | |
| virtual | ~mmListCtrl () |
| void | createColumns () |
| wxString | BuildPage (const wxString &title) const |
| int | getColIdSize () const |
| int | getColNrSize () const |
| bool | isValidColId (int col_id) const |
| bool | isValidColNr (int col_nr) const |
| int | getColId_Nr (int col_nr) const |
| int | getColNr_Id (int col_id) const |
| int | getColNr_Vo (int col_vo) const |
| int | getColVo_Nr (int col_nr) const |
| int | getColId_Vo (int col_vo) const |
| int | getColVo_Id (int col_id) const |
| const wxString | getColHeader (int col_id, bool show_icon=false) const |
| bool | isDisabledColId (int col_id) const |
| bool | isDisabledColNr (int col_nr) const |
| bool | isHiddenColId (int col_id) const |
| bool | isHiddenColNr (int col_nr) const |
| bool | isHiddenColVo (int col_vo) const |
| int | getSortColId (int i=0) const |
| int | getSortColNr (int i=0) |
| bool | getSortAsc (int i=0) const |
| void | savePreferences () |
| void | loadPreferences () |
Public Attributes | |
| Model_Stock::Data_Set | m_stocks |
Public Attributes inherited from mmListCtrl | |
| const int | m_setting_version = 1 |
| const wxSharedPtr< wxListItemAttr > | attr1_ |
| const wxSharedPtr< wxListItemAttr > | attr2_ |
| wxString | m_setting_name |
| wxString | o_col_order_prefix |
| wxString | o_col_width_prefix |
| wxString | o_sort_prefix |
| std::vector< ListColumnInfo > | m_col_info_id |
| std::unordered_set< int > | m_col_disabled_id |
| std::vector< int > | m_col_id_nr |
| std::vector< int > | m_col_width_id |
| std::unordered_set< int > | m_col_hidden_id |
| std::vector< int > | m_sort_col_id |
| std::vector< bool > | m_sort_asc |
| int | m_sel_col_nr = -1 |
Additional Inherited Members | |
Protected Types inherited from mmListCtrl | |
| enum | { MENU_HEADER_SORT = wxID_HIGHEST + 2000, MENU_HEADER_TOGGLE_MIN, MENU_HEADER_TOGGLE_MAX = MENU_HEADER_TOGGLE_MIN + 99, MENU_HEADER_HIDE, MENU_HEADER_SHOW_MIN, MENU_HEADER_SHOW_MAX = MENU_HEADER_SHOW_MIN + 99, MENU_HEADER_MOVE_FIRST, MENU_HEADER_MOVE_LEFT, MENU_HEADER_MOVE_RIGHT, MENU_HEADER_MOVE_LAST, MENU_HEADER_RESET } |
Protected Member Functions inherited from mmListCtrl | |
| wxDECLARE_EVENT_TABLE () | |
| void | updateSortIcon () |
| StocksListCtrl::StocksListCtrl | ( | mmStocksPanel * | cp, |
| wxWindow * | parent, | ||
| wxWindowID | winid = wxID_ANY |
||
| ) |
| StocksListCtrl::~StocksListCtrl | ( | ) |
| void StocksListCtrl::doRefreshItems | ( | int64 | trx_id = -1 | ) |
|
inline |
| void StocksListCtrl::getInvestmentBalance | ( | double & | invested, |
| double & | current | ||
| ) |
| wxString StocksListCtrl::getStockInfo | ( | int | selectedIndex, |
| bool | addtotal | ||
| ) | const |
| int StocksListCtrl::initVirtualListControl | ( | int64 | trx_id = -1 | ) |
| void StocksListCtrl::OnDeleteStocks | ( | wxCommandEvent & | event | ) |
| void StocksListCtrl::OnEditStocks | ( | wxCommandEvent & | event | ) |
| void StocksListCtrl::OnMoveStocks | ( | wxCommandEvent & | event | ) |
| void StocksListCtrl::OnNewStocks | ( | wxCommandEvent & | event | ) |
| void StocksListCtrl::OnOpenAttachment | ( | wxCommandEvent & | event | ) |
| void StocksListCtrl::OnOrganizeAttachments | ( | wxCommandEvent & | event | ) |
| void StocksListCtrl::OnStockWebPage | ( | wxCommandEvent & | event | ) |
| Model_Stock::Data_Set StocksListCtrl::m_stocks |