Share and Money Management  0.16
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gui.UITrade.UITrade Class Reference

Layout of trade dialog. More...

Inheritance diagram for gui.UITrade.UITrade:

Public Member Functions

def __init__
 Initialise dialog.
- Public Member Functions inherited from gui.controls.BaseDialog
def installOwnOKEventHandler
 Bind own event handler for pressiong OK to allow a proper validation.
def OnOK
 Own OK button handler to validate the dialog logically using validateDialog()
def ShowModal
 Show the dialog modal and process dialogs input.

Public Attributes

 static_line
 bn_OK
 bn_Cancel
 sb_position
 rbn_existing_position
 cc_Position
 rbn_new_position
 cc_Share
 cc_Currency
 st_WatchEntry
 rbn_WatchNote_append
 rbn_WatchNote_ignore
 rbn_WatchNote_replace
 sb_trade
 rbn_Buy
 rbn_Dividend
 rbn_Sell
 rbn_Split
 rbn_Swap
 st_BuyPrefixDate
 st_BuyOr
 dp_BuyDate
 st_BuyExchange
 cc_BuyExchange
 st_BuyCount
 st_BuyMultiSign1
 st_BuyValue
 st_BuyPlus1
 st_BuyFee
 st_BuyEqualsSign1
 st_BuySum
 tc_BuyCount
 st_BuyMultiSign2
 tc_BuyValue
 st_BuyPlus2
 tc_BuyFee
 st_BuyEqualsSign2
 tc_BuySum
 cb_SellCloseEmpty
 cb_SellWorthless
 cb_SellPositionReport
 st_DividendPrefixDate
 dp_DividendDate
 st_DividendCount
 st_DividendMultiSign1
 st_DividendValue
 st_DividendEqualsSign1
 st_DividendSum
 tc_DividendCount
 st_DividendMultiSign2
 tc_DividendValue
 st_DividendEqualsSign2
 tc_DividendSum
 st_SplitPrefixDate
 dp_SplitDate
 st_SplitOldRatio
 st_SplitColon1
 st_SplitNewRatio
 tc_SplitOldRatio
 st_SplitColon2
 tc_SplitNewRatio
 st_SwapPrefixDate
 dp_SwapDate
 st_SwapOldRatio
 st_SwapColon1
 st_SwapNewRatio
 st_SwapOldValue
 st_SwapColon2
 st_SwapNewValue
 st_SwapNewShare
 tc_SwapOldRatio
 st_SwapColon3
 tc_SwapNewRatio
 tc_SwapOldValue
 st_SwapColon4
 tc_SwapNewValue
 cc_SwapNewShare
 cb_SwapCloseEmpty
 cb_SwapPositionReport

Static Public Attributes

 flags_label = wx.ALL|wx.ALIGN_CENTER_VERTICAL
 Flags used with all label widgets (wx.StaticText)
 flags_input = wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL
 Flags used for all input widgets.
tuple max_size = (300, 27)
 Maximum widget size.

Detailed Description

Layout of trade dialog.

There is a wxGTK bug because tooltips won't show up sometimes e.g. for wxCheckBoxes. Details: http://trac.wxwidgets.org/ticket/9859 Fixed in wxPython 2.9

Constructor & Destructor Documentation

def gui.UITrade.UITrade.__init__ (   self,
  args,
  kwargs 
)

Initialise dialog.

Reimplemented from gui.controls.BaseDialog.

Member Data Documentation

gui.UITrade.UITrade.bn_Cancel
gui.UITrade.UITrade.bn_OK
gui.UITrade.UITrade.cb_SellCloseEmpty
gui.UITrade.UITrade.cb_SellPositionReport
gui.UITrade.UITrade.cb_SellWorthless
gui.UITrade.UITrade.cb_SwapCloseEmpty
gui.UITrade.UITrade.cb_SwapPositionReport
gui.UITrade.UITrade.cc_BuyExchange
gui.UITrade.UITrade.cc_Currency
gui.UITrade.UITrade.cc_Position
gui.UITrade.UITrade.cc_Share
gui.UITrade.UITrade.cc_SwapNewShare
gui.UITrade.UITrade.dp_BuyDate
gui.UITrade.UITrade.dp_DividendDate
gui.UITrade.UITrade.dp_SplitDate
gui.UITrade.UITrade.dp_SwapDate
gui.UITrade.UITrade.flags_input = wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL
static

Flags used for all input widgets.

gui.UITrade.UITrade.flags_label = wx.ALL|wx.ALIGN_CENTER_VERTICAL
static

Flags used with all label widgets (wx.StaticText)

tuple gui.UITrade.UITrade.max_size = (300, 27)
static

Maximum widget size.

gui.UITrade.UITrade.rbn_Buy
gui.UITrade.UITrade.rbn_Dividend
gui.UITrade.UITrade.rbn_existing_position
gui.UITrade.UITrade.rbn_new_position
gui.UITrade.UITrade.rbn_Sell
gui.UITrade.UITrade.rbn_Split
gui.UITrade.UITrade.rbn_Swap
gui.UITrade.UITrade.rbn_WatchNote_append
gui.UITrade.UITrade.rbn_WatchNote_ignore
gui.UITrade.UITrade.rbn_WatchNote_replace
gui.UITrade.UITrade.sb_position
gui.UITrade.UITrade.sb_trade
gui.UITrade.UITrade.st_BuyCount
gui.UITrade.UITrade.st_BuyEqualsSign1
gui.UITrade.UITrade.st_BuyEqualsSign2
gui.UITrade.UITrade.st_BuyExchange
gui.UITrade.UITrade.st_BuyFee
gui.UITrade.UITrade.st_BuyMultiSign1
gui.UITrade.UITrade.st_BuyMultiSign2
gui.UITrade.UITrade.st_BuyOr
gui.UITrade.UITrade.st_BuyPlus1
gui.UITrade.UITrade.st_BuyPlus2
gui.UITrade.UITrade.st_BuyPrefixDate
gui.UITrade.UITrade.st_BuySum
gui.UITrade.UITrade.st_BuyValue
gui.UITrade.UITrade.st_DividendCount
gui.UITrade.UITrade.st_DividendEqualsSign1
gui.UITrade.UITrade.st_DividendEqualsSign2
gui.UITrade.UITrade.st_DividendMultiSign1
gui.UITrade.UITrade.st_DividendMultiSign2
gui.UITrade.UITrade.st_DividendPrefixDate
gui.UITrade.UITrade.st_DividendSum
gui.UITrade.UITrade.st_DividendValue
gui.UITrade.UITrade.st_SplitColon1
gui.UITrade.UITrade.st_SplitColon2
gui.UITrade.UITrade.st_SplitNewRatio
gui.UITrade.UITrade.st_SplitOldRatio
gui.UITrade.UITrade.st_SplitPrefixDate
gui.UITrade.UITrade.st_SwapColon1
gui.UITrade.UITrade.st_SwapColon2
gui.UITrade.UITrade.st_SwapColon3
gui.UITrade.UITrade.st_SwapColon4
gui.UITrade.UITrade.st_SwapNewRatio
gui.UITrade.UITrade.st_SwapNewShare
gui.UITrade.UITrade.st_SwapNewValue
gui.UITrade.UITrade.st_SwapOldRatio
gui.UITrade.UITrade.st_SwapOldValue
gui.UITrade.UITrade.st_SwapPrefixDate
gui.UITrade.UITrade.st_WatchEntry
gui.UITrade.UITrade.static_line
gui.UITrade.UITrade.tc_BuyCount
gui.UITrade.UITrade.tc_BuyFee
gui.UITrade.UITrade.tc_BuySum
gui.UITrade.UITrade.tc_BuyValue
gui.UITrade.UITrade.tc_DividendCount
gui.UITrade.UITrade.tc_DividendSum
gui.UITrade.UITrade.tc_DividendValue
gui.UITrade.UITrade.tc_SplitNewRatio
gui.UITrade.UITrade.tc_SplitOldRatio
gui.UITrade.UITrade.tc_SwapNewRatio
gui.UITrade.UITrade.tc_SwapNewValue
gui.UITrade.UITrade.tc_SwapOldRatio
gui.UITrade.UITrade.tc_SwapOldValue

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