Share and Money Management 0.18devel
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gui.MainWindow Class Reference

Main window of our application. More...

Inheritance diagram for gui.MainWindow:

Public Member Functions

def __init__ (self, parent, id, title)
 Constructor. More...
 
def createMenus (self)
 Create all menus. More...
 
def createMenuEntry (self, menu, mid, item, htext, func, kind=wx.ITEM_NORMAL)
 Create a single menu item. More...
 
def createFileMenu (self)
 Create "File" menu. More...
 
def createManageMenu (self)
 Create "Manage" menu. More...
 
def createReportMenu (self)
 Create "Reports" menu. More...
 
def createViewMenu (self)
 Create "View" menu. More...
 
def createHelpMenu (self)
 Create "Help" menu. More...
 
def OnAbout (self, event)
 Open about dialog. More...
 
def OnFileExit (self, event)
 Finish this application. More...
 
def OnFetchQuotes (self, event)
 Open fetch quotes dialog. More...
 
def OnNewIndex (self, event)
 Open new index dialog. More...
 
def OnNewShare (self, event)
 Open new share dialog. More...
 
def OnNewTransaction (self, event)
 Open new transaction dialog. More...
 
def OnPositionReport (self, event)
 Open a new dialog to show a position report. More...
 
def OnPortfolioReport (self, event)
 Open a new dialog to show a depot report. More...
 
def OnPreferences (self, event)
 Open preferences dialog. More...
 
def handleMDIChild (self, panelClass, attr, closeEvent, title)
 Creates and closes MDI child windows. More...
 
def OnCreateSummary (self, event)
 Show a summary about the current deposit. More...
 
def OnCreateCurrency (self, event)
 Show and maintain all currencies. More...
 
def OnCreateExchange (self, event)
 Show and maintain all exchanges. More...
 
def OnCreateShare (self, event)
 Show and maintain all shares. More...
 
def OnCreateTransaction (self, event)
 Show and maintain all transactions. More...
 
def OnCreateIndex (self, event)
 Show and maintain all indices. More...
 
def OnCreatePositionList (self, event)
 Show all open positions. More...
 
def OnCreatePositionDetails (self, event)
 Show all open positions. More...
 
def OnCreateWatchList (self, event)
 Show all watch list entries. More...
 
def OnCloseSummary (self, event)
 Cleanup / update actions on closing summary panel. More...
 
def OnCloseCurrency (self, event)
 Cleanup / update actions on closing currency panel. More...
 
def OnCloseExchange (self, event)
 Cleanup / update actions on closing exchange panel. More...
 
def OnCloseShare (self, event)
 Cleanup / update actions on closing share panel. More...
 
def OnCloseTransaction (self, event)
 Cleanup / update actions on closing transaction panel. More...
 
def OnCloseIndex (self, event)
 Cleanup / update actions on closing indices panel. More...
 
def OnClosePositionList (self, event)
 Cleanup / update actions on closing open position panel. More...
 
def OnClosePositionDetails (self, event)
 Cleanup / update actions on closing open position panel. More...
 
def OnCloseWatchList (self, event)
 Cleanup / update actions on closing watch list panel. More...
 
def closeView (self, attr, event)
 Close an open view and perform all cleanup actions. More...
 
def OnClose (self, event)
 Save the current configuration before the GUI is closed. More...
 
def restoreGUIConfig (self)
 Restore general GUI configuration. More...
 
def restoreSMMConfig (self)
 Restore GUI configuration of all SMM elements. More...
 
def saveGUIConfig (self)
 Store general GUI configuration. More...
 
def saveSMMConfig (self)
 Store general GUI configuration. More...
 

Public Attributes

 filemenu
 All menu entries grouped to the "File" menu. More...
 
 helpmenu
 All menu entries grouped to the "Help" menu. More...
 
 managemenu
 All menu entries grouped to the "Manage" menu. More...
 
 reportmenu
 All menu entries grouped to the "Reports" menu. More...
 
 viewmenu
 All menu entries grouped to the "View" menu. More...
 
 menubar
 Main menubar with all submenus. More...
 
 ViewSummary
 Reference to the "Summary" MDI client panel. More...
 
 ViewCurrency
 Reference to the "Currency" MDI client panel. More...
 
 ViewExchange
 Reference to the "Exchange" MDI client panel. More...
 
 ViewShare
 Reference to the "Share" MDI client panel. More...
 
 ViewTransaction
 Reference to the "Transaction" MDI client panel. More...
 
 ViewIndex
 Reference to the "Indices" MDI client panel. More...
 
 ViewPositionList
 Reference to the "OpenPositionList" MDI client panel. More...
 
 ViewPositionDetails
 Reference to the "OpenPositionDetails" MDI client panel. More...
 
 ViewWatchList
 
 nativeMDI
 

Static Public Attributes

bool nativeMDI = False
 Indicates native MDI support. More...
 
list views_open = []
 List of all open views. More...
 
 ID_FILEMENU_PREFERENCES = wx.NewIdRef()
 
 ID_MANAGEMENU_FETCHQUOTES = wx.NewIdRef()
 
 ID_MANAGEMENU_ADDINDEX = wx.NewIdRef()
 
 ID_MANAGEMENU_ADDSHARE = wx.NewIdRef()
 
 ID_MANAGEMENU_TRADE = wx.NewIdRef()
 
 ID_REPORTMENU_POSITIONREPORT = wx.NewIdRef()
 
 ID_REPORTMENU_PORTFOLIOREPORT = wx.NewIdRef()
 
 ID_VIEWMENU_SUMMARY = wx.NewIdRef()
 
 ID_VIEWMENU_CURRENCY = wx.NewIdRef()
 
 ID_VIEWMENU_EXCHANGE = wx.NewIdRef()
 
 ID_VIEWMENU_SHARE = wx.NewIdRef()
 
 ID_VIEWMENU_TRANSACTION = wx.NewIdRef()
 
 ID_VIEWMENU_INDEX = wx.NewIdRef()
 
 ID_VIEWMENU_POSITIONLIST = wx.NewIdRef()
 
 ID_VIEWMENU_POSITIONDETAILS = wx.NewIdRef()
 
 ID_VIEWMENU_WATCHLIST = wx.NewIdRef()
 
dictionary attr2menu
 Mapping between view name and menu id. More...
 

Detailed Description

Main window of our application.

The application is an MDI application to provide the user more flexibility in selection and positioning of the displayed data.

The content of an MDI child is a simple wx.Frame. That unifies the handling of the MDI children.

Constructor & Destructor Documentation

◆ __init__()

def gui.MainWindow.__init__ (   self,
  parent,
  id,
  title 
)

Constructor.

Member Function Documentation

◆ closeView()

def gui.MainWindow.closeView (   self,
  attr,
  event 
)

Close an open view and perform all cleanup actions.

References gui.MainWindow.attr2menu, gui.MainWindow.viewmenu, and gui.MainWindow.views_open.

Referenced by gui.MainWindow.OnCloseCurrency(), gui.MainWindow.OnCloseExchange(), gui.MainWindow.OnCloseIndex(), gui.MainWindow.OnClosePositionDetails(), gui.MainWindow.OnClosePositionList(), gui.MainWindow.OnCloseShare(), gui.MainWindow.OnCloseSummary(), gui.MainWindow.OnCloseTransaction(), and gui.MainWindow.OnCloseWatchList().

Here is the caller graph for this function:

◆ createFileMenu()

def gui.MainWindow.createFileMenu (   self)

Create "File" menu.

References gui.MainWindow.createMenuEntry(), gui.MainWindow.filemenu, gui.MainWindow.ID_FILEMENU_PREFERENCES, gui.MainWindow.OnFileExit(), and gui.MainWindow.OnPreferences().

Referenced by gui.MainWindow.createMenus().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createHelpMenu()

def gui.MainWindow.createHelpMenu (   self)

Create "Help" menu.

References gui.MainWindow.createMenuEntry(), gui.MainWindow.helpmenu, and gui.MainWindow.OnAbout().

Referenced by gui.MainWindow.createMenus().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createManageMenu()

def gui.MainWindow.createManageMenu (   self)

Create "Manage" menu.

References gui.MainWindow.createMenuEntry(), gui.MainWindow.ID_MANAGEMENU_ADDINDEX, gui.MainWindow.ID_MANAGEMENU_ADDSHARE, gui.MainWindow.ID_MANAGEMENU_FETCHQUOTES, gui.MainWindow.ID_MANAGEMENU_TRADE, gui.MainWindow.managemenu, gui.MainWindow.OnFetchQuotes(), gui.dialogs.DlgFetchQuotes.OnFetchQuotes(), gui.MainWindow.OnNewIndex(), gui.panel.PanelIndex.OnNewIndex(), gui.MainWindow.OnNewShare(), gui.panel.PanelShare.OnNewShare(), and gui.MainWindow.OnNewTransaction().

Referenced by gui.MainWindow.createMenus().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createMenuEntry()

def gui.MainWindow.createMenuEntry (   self,
  menu,
  mid,
  item,
  htext,
  func,
  kind = wx.ITEM_NORMAL 
)

Create a single menu item.

Parameters
selfThe object pointer
menuMenu to append
midID of the entry
itemMenu text
htextHelp text
funcFunction to call if the menu event occur
kindKind of the menu entry

Referenced by gui.MainWindow.createFileMenu(), gui.MainWindow.createHelpMenu(), gui.MainWindow.createManageMenu(), gui.MainWindow.createReportMenu(), and gui.MainWindow.createViewMenu().

Here is the caller graph for this function:

◆ createMenus()

def gui.MainWindow.createMenus (   self)

◆ createReportMenu()

def gui.MainWindow.createReportMenu (   self)

Create "Reports" menu.

References gui.MainWindow.createMenuEntry(), gui.MainWindow.ID_REPORTMENU_PORTFOLIOREPORT, gui.MainWindow.ID_REPORTMENU_POSITIONREPORT, gui.MainWindow.OnPortfolioReport(), gui.MainWindow.OnPositionReport(), and gui.MainWindow.reportmenu.

Referenced by gui.MainWindow.createMenus().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createViewMenu()

def gui.MainWindow.createViewMenu (   self)

◆ handleMDIChild()

def gui.MainWindow.handleMDIChild (   self,
  panelClass,
  attr,
  closeEvent,
  title 
)

Creates and closes MDI child windows.

The function toggles the state of an MDI child between created and closed. A created child has a valid reference.

New children are set up by creating a wx.MDIChildFrame and placing the content in form of a wx.Frame in it.

The menu item will be disabled for native MDI platforms and a event handler for the close event will be installed to re-enable the menu item.

The state of the menu entry is set depending on the platform.

Parameters
selfThe object pointer
panelClassClass that provides the content of the window.
attrName of the attribute to store the reference to the MDI child.
closeEventHandler for MDI children close event
titleTitle of the MDI child window

References gui.MainWindow.attr2menu, gui.MainWindow.viewmenu, and gui.MainWindow.views_open.

Referenced by gui.MainWindow.OnCreateCurrency(), gui.MainWindow.OnCreateExchange(), gui.MainWindow.OnCreateIndex(), gui.MainWindow.OnCreatePositionDetails(), gui.MainWindow.OnCreatePositionList(), gui.MainWindow.OnCreateShare(), gui.MainWindow.OnCreateSummary(), gui.MainWindow.OnCreateTransaction(), and gui.MainWindow.OnCreateWatchList().

Here is the caller graph for this function:

◆ OnAbout()

def gui.MainWindow.OnAbout (   self,
  event 
)

Open about dialog.

See also
gui.dialogs.showAboutDialog()

Referenced by gui.MainWindow.createHelpMenu().

Here is the caller graph for this function:

◆ OnClose()

def gui.MainWindow.OnClose (   self,
  event 
)

Save the current configuration before the GUI is closed.

See also
saveGUIConfig(), saveSMMConfig(), restoreGUIConfig() and restoreConfig()

References gui.MainWindow.saveGUIConfig(), gui.MainWindow.saveSMMConfig(), and gui.MainWindow.views_open.

Here is the call graph for this function:

◆ OnCloseCurrency()

def gui.MainWindow.OnCloseCurrency (   self,
  event 
)

Cleanup / update actions on closing currency panel.

See also
gui.panel.PanelCurrency

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreateCurrency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCloseExchange()

def gui.MainWindow.OnCloseExchange (   self,
  event 
)

Cleanup / update actions on closing exchange panel.

See also
gui.panel.PanelExchange

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreateExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCloseIndex()

def gui.MainWindow.OnCloseIndex (   self,
  event 
)

Cleanup / update actions on closing indices panel.

See also
gui.panel.PanelIndex

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreateIndex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnClosePositionDetails()

def gui.MainWindow.OnClosePositionDetails (   self,
  event 
)

Cleanup / update actions on closing open position panel.

See also
gui.panel.PanelOpenPositionDetails

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreatePositionDetails().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnClosePositionList()

def gui.MainWindow.OnClosePositionList (   self,
  event 
)

Cleanup / update actions on closing open position panel.

See also
gui.panel.PanelOpenPositionList

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreatePositionList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCloseShare()

def gui.MainWindow.OnCloseShare (   self,
  event 
)

Cleanup / update actions on closing share panel.

See also
gui.panel.PanelShare

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreateShare().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCloseSummary()

def gui.MainWindow.OnCloseSummary (   self,
  event 
)

Cleanup / update actions on closing summary panel.

See also
gui.panel.PanelSummary

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreateSummary().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCloseTransaction()

def gui.MainWindow.OnCloseTransaction (   self,
  event 
)

Cleanup / update actions on closing transaction panel.

See also
gui.panel.PanelTransaction

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreateTransaction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCloseWatchList()

def gui.MainWindow.OnCloseWatchList (   self,
  event 
)

Cleanup / update actions on closing watch list panel.

See also
gui.panel.PanelWatch

References gui.MainWindow.closeView().

Referenced by gui.MainWindow.OnCreateWatchList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreateCurrency()

def gui.MainWindow.OnCreateCurrency (   self,
  event 
)

Show and maintain all currencies.

See also
gui.panel.PanelCurrency
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnCloseCurrency().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreateExchange()

def gui.MainWindow.OnCreateExchange (   self,
  event 
)

Show and maintain all exchanges.

See also
gui.panel.PanelExchange
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnCloseExchange().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreateIndex()

def gui.MainWindow.OnCreateIndex (   self,
  event 
)

Show and maintain all indices.

See also
gui.panel.PanelIndex
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnCloseIndex().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreatePositionDetails()

def gui.MainWindow.OnCreatePositionDetails (   self,
  event 
)

Show all open positions.

See also
gui.panel.PanelOpenPositionDetails
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnClosePositionDetails().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreatePositionList()

def gui.MainWindow.OnCreatePositionList (   self,
  event 
)

Show all open positions.

See also
gui.panel.PanelOpenPositionList
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnClosePositionList().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreateShare()

def gui.MainWindow.OnCreateShare (   self,
  event 
)

Show and maintain all shares.

See also
gui.panel.PanelShare
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnCloseShare().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreateSummary()

def gui.MainWindow.OnCreateSummary (   self,
  event 
)

Show a summary about the current deposit.

See also
gui.panel.PanelSummary
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnCloseSummary().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreateTransaction()

def gui.MainWindow.OnCreateTransaction (   self,
  event 
)

Show and maintain all transactions.

See also
gui.panel.PanelTransaction
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnCloseTransaction().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnCreateWatchList()

def gui.MainWindow.OnCreateWatchList (   self,
  event 
)

Show all watch list entries.

See also
gui.panel.PanelWatchList
handleMDIChild()

References gui.MainWindow.handleMDIChild(), and gui.MainWindow.OnCloseWatchList().

Referenced by gui.MainWindow.createViewMenu(), and gui.MainWindow.restoreSMMConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnFetchQuotes()

def gui.MainWindow.OnFetchQuotes (   self,
  event 
)

Open fetch quotes dialog.

See also
gui.dialogs.DlgFetchQuotes

Referenced by gui.MainWindow.createManageMenu().

Here is the caller graph for this function:

◆ OnFileExit()

def gui.MainWindow.OnFileExit (   self,
  event 
)

Finish this application.

References smm.objects.Position.Close().

Referenced by gui.MainWindow.createFileMenu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnNewIndex()

def gui.MainWindow.OnNewIndex (   self,
  event 
)

Open new index dialog.

See also
gui.dialogs.DlgShare and gui.dialogs.DlgShare.setFixedShareKind

Referenced by gui.MainWindow.createManageMenu().

Here is the caller graph for this function:

◆ OnNewShare()

def gui.MainWindow.OnNewShare (   self,
  event 
)

Open new share dialog.

See also
gui.dialogs.DlgShare

Referenced by gui.MainWindow.createManageMenu().

Here is the caller graph for this function:

◆ OnNewTransaction()

def gui.MainWindow.OnNewTransaction (   self,
  event 
)

Open new transaction dialog.

See also
gui.dialogs.DlgTrade

Referenced by gui.MainWindow.createManageMenu().

Here is the caller graph for this function:

◆ OnPortfolioReport()

def gui.MainWindow.OnPortfolioReport (   self,
  event 
)

Open a new dialog to show a depot report.

See also
gui.dialogs.DlgHtml

Referenced by gui.MainWindow.createReportMenu().

Here is the caller graph for this function:

◆ OnPositionReport()

def gui.MainWindow.OnPositionReport (   self,
  event 
)

Open a new dialog to show a position report.

See also
gui.dialogs.DlgHtml

Referenced by gui.MainWindow.createReportMenu().

Here is the caller graph for this function:

◆ OnPreferences()

def gui.MainWindow.OnPreferences (   self,
  event 
)

Open preferences dialog.

See also
gui.dialogs.DlgPreferences

Referenced by gui.MainWindow.createFileMenu().

Here is the caller graph for this function:

◆ restoreGUIConfig()

def gui.MainWindow.restoreGUIConfig (   self)

Restore general GUI configuration.

See also
restoreSMMConfig(), saveGUIConfig() and saveSMMConfig()

◆ restoreSMMConfig()

def gui.MainWindow.restoreSMMConfig (   self)

◆ saveGUIConfig()

def gui.MainWindow.saveGUIConfig (   self)

Store general GUI configuration.

See also
saveSMMConfig(), restoreGUIConfig() and restoreSMMConfig()

Referenced by gui.MainWindow.OnClose().

Here is the caller graph for this function:

◆ saveSMMConfig()

def gui.MainWindow.saveSMMConfig (   self)

Store general GUI configuration.

See also
saveGUIConfig(), restoreGUIConfig() and restoreSMMConfig()

References gui.MainWindow.views_open.

Referenced by gui.MainWindow.OnClose().

Here is the caller graph for this function:

Member Data Documentation

◆ attr2menu

dictionary gui.MainWindow.attr2menu
static
Initial value:
= {
"ViewSummary": ID_VIEWMENU_SUMMARY,
"ViewCurrency": ID_VIEWMENU_CURRENCY,
"ViewExchange": ID_VIEWMENU_EXCHANGE,
"ViewShare": ID_VIEWMENU_SHARE,
"ViewTransaction": ID_VIEWMENU_TRANSACTION,
"ViewIndex": ID_VIEWMENU_INDEX,
"ViewPositionList": ID_VIEWMENU_POSITIONLIST,
"ViewPositionDetails": ID_VIEWMENU_POSITIONDETAILS,
"ViewWatchList": ID_VIEWMENU_WATCHLIST,
}

Mapping between view name and menu id.

Referenced by gui.MainWindow.closeView(), and gui.MainWindow.handleMDIChild().

◆ filemenu

gui.MainWindow.filemenu

All menu entries grouped to the "File" menu.

Referenced by gui.MainWindow.createFileMenu(), and gui.MainWindow.createMenus().

◆ helpmenu

gui.MainWindow.helpmenu

All menu entries grouped to the "Help" menu.

Referenced by gui.MainWindow.createHelpMenu(), and gui.MainWindow.createMenus().

◆ ID_FILEMENU_PREFERENCES

gui.MainWindow.ID_FILEMENU_PREFERENCES = wx.NewIdRef()
static

◆ ID_MANAGEMENU_ADDINDEX

gui.MainWindow.ID_MANAGEMENU_ADDINDEX = wx.NewIdRef()
static

◆ ID_MANAGEMENU_ADDSHARE

gui.MainWindow.ID_MANAGEMENU_ADDSHARE = wx.NewIdRef()
static

◆ ID_MANAGEMENU_FETCHQUOTES

gui.MainWindow.ID_MANAGEMENU_FETCHQUOTES = wx.NewIdRef()
static

◆ ID_MANAGEMENU_TRADE

gui.MainWindow.ID_MANAGEMENU_TRADE = wx.NewIdRef()
static

◆ ID_REPORTMENU_PORTFOLIOREPORT

gui.MainWindow.ID_REPORTMENU_PORTFOLIOREPORT = wx.NewIdRef()
static

◆ ID_REPORTMENU_POSITIONREPORT

gui.MainWindow.ID_REPORTMENU_POSITIONREPORT = wx.NewIdRef()
static

◆ ID_VIEWMENU_CURRENCY

gui.MainWindow.ID_VIEWMENU_CURRENCY = wx.NewIdRef()
static

◆ ID_VIEWMENU_EXCHANGE

gui.MainWindow.ID_VIEWMENU_EXCHANGE = wx.NewIdRef()
static

◆ ID_VIEWMENU_INDEX

gui.MainWindow.ID_VIEWMENU_INDEX = wx.NewIdRef()
static

◆ ID_VIEWMENU_POSITIONDETAILS

gui.MainWindow.ID_VIEWMENU_POSITIONDETAILS = wx.NewIdRef()
static

◆ ID_VIEWMENU_POSITIONLIST

gui.MainWindow.ID_VIEWMENU_POSITIONLIST = wx.NewIdRef()
static

◆ ID_VIEWMENU_SHARE

gui.MainWindow.ID_VIEWMENU_SHARE = wx.NewIdRef()
static

◆ ID_VIEWMENU_SUMMARY

gui.MainWindow.ID_VIEWMENU_SUMMARY = wx.NewIdRef()
static

◆ ID_VIEWMENU_TRANSACTION

gui.MainWindow.ID_VIEWMENU_TRANSACTION = wx.NewIdRef()
static

◆ ID_VIEWMENU_WATCHLIST

gui.MainWindow.ID_VIEWMENU_WATCHLIST = wx.NewIdRef()
static

◆ managemenu

gui.MainWindow.managemenu

All menu entries grouped to the "Manage" menu.

Referenced by gui.MainWindow.createManageMenu(), and gui.MainWindow.createMenus().

◆ menubar

gui.MainWindow.menubar

Main menubar with all submenus.

See also
filemenu and helpmenu

Referenced by gui.MainWindow.createMenus().

◆ nativeMDI [1/2]

gui.MainWindow.nativeMDI = False
static

Indicates native MDI support.

◆ nativeMDI [2/2]

gui.MainWindow.nativeMDI

◆ reportmenu

gui.MainWindow.reportmenu

All menu entries grouped to the "Reports" menu.

Referenced by gui.MainWindow.createMenus(), and gui.MainWindow.createReportMenu().

◆ ViewCurrency

gui.MainWindow.ViewCurrency

Reference to the "Currency" MDI client panel.

◆ ViewExchange

gui.MainWindow.ViewExchange

Reference to the "Exchange" MDI client panel.

◆ ViewIndex

gui.MainWindow.ViewIndex

Reference to the "Indices" MDI client panel.

◆ viewmenu

gui.MainWindow.viewmenu

◆ ViewPositionDetails

gui.MainWindow.ViewPositionDetails

Reference to the "OpenPositionDetails" MDI client panel.

◆ ViewPositionList

gui.MainWindow.ViewPositionList

Reference to the "OpenPositionList" MDI client panel.

◆ views_open

gui.MainWindow.views_open = []
static

◆ ViewShare

gui.MainWindow.ViewShare

Reference to the "Share" MDI client panel.

◆ ViewSummary

gui.MainWindow.ViewSummary

Reference to the "Summary" MDI client panel.

◆ ViewTransaction

gui.MainWindow.ViewTransaction

Reference to the "Transaction" MDI client panel.

◆ ViewWatchList

gui.MainWindow.ViewWatchList

The documentation for this class was generated from the following file: