GRASS Programmer's Manual  6.4.4(2014)-r
dialogs.TextDialog Class Reference
Inheritance diagram for dialogs.TextDialog:
Collaboration diagram for dialogs.TextDialog:

Public Member Functions

def __init__ (self, parent, id, settings)
 
def OnRefit (self, event)
 
def OnRotation (self, event)
 
def OnPositionType (self, event)
 
def OnBackground (self, event)
 
def OnHighlight (self, event)
 
def OnBorder (self, event)
 
def update (self)
 
def updateDialog (self)
 Update text coordinates, after moving. More...
 
def __init__ (self, parent, id, title, plottype='', style=wx.DEFAULT_DIALOG_STYLE, kwargs)
 Dialog to set plot text options: font, title and font size, axis labels and font size. More...
 
def OnTitle (self, event)
 
def OnXLabel (self, event)
 
def OnYLabel (self, event)
 
def UpdateSettings (self)
 
def OnSave (self, event)
 Button 'Save' pressed. More...
 
def OnApply (self, event)
 Button 'Apply' pressed. More...
 
def OnOk (self, event)
 Button 'OK' pressed. More...
 
def OnCancel (self, event)
 Button 'Cancel' pressed. More...
 
- Public Member Functions inherited from dialogs.PsmapDialog
def __init__
 
def AddUnits (self, parent, dialogDict)
 
def AddPosition (self, parent, dialogDict)
 
def AddExtendedPosition (self, panel, gridBagSizer, dialogDict)
 Add widgets for setting position relative to paper and to map. More...
 
def AddFont
 

Data Fields

 objectType
 
 textDict
 
 id
 
 mapId
 
 textPanel
 
 positionPanel
 
 textCtrl
 
 effect
 
 xoffLabel
 
 yoffLabel
 
 xoffCtrl
 
 yoffCtrl
 
 radio
 
 rotCtrl
 
 rotValue
 
 ffamilydict
 
 fstyledict
 
 fwtdict
 
 parent
 
 plottype
 
 ptitle
 
 xlabel
 
 ylabel
 
 properties
 
 fontfamily
 
 fontstyle
 
 fontweight
 
 ptitleentry
 
 ptitlesize
 
 xlabelentry
 
 ylabelentry
 
 axislabelsize
 
 ffamilycb
 
 fstylecb
 
 fwtcb
 
- Data Fields inherited from dialogs.PsmapDialog
 apply
 
 id
 
 parent
 
 instruction
 
 objectType
 
 unitConv
 
 spinCtrlSize
 
 gridBagSizerP
 
 gridBagSizerM
 

Detailed Description

Definition at line 3671 of file psmap/dialogs.py.

Constructor & Destructor Documentation

def dialogs.TextDialog.__init__ (   self,
  parent,
  id,
  settings 
)

Definition at line 3672 of file psmap/dialogs.py.

def dialogs.TextDialog.__init__ (   self,
  parent,
  id,
  title,
  plottype = '',
  style = wx.DEFAULT_DIALOG_STYLE,
  kwargs 
)

Dialog to set plot text options: font, title and font size, axis labels and font size.

Definition at line 199 of file wxplot/dialogs.py.

Member Function Documentation

def dialogs.TextDialog.OnCancel (   self,
  event 
)

Button 'Cancel' pressed.

Definition at line 446 of file wxplot/dialogs.py.

Referenced by dialogs.DxfImportDialog.OnRun().

def dialogs.TextDialog.OnPositionType (   self,
  event 
)

Definition at line 3905 of file psmap/dialogs.py.

References widgets.GetValue().

def dialogs.TextDialog.OnRefit (   self,
  event 
)

Definition at line 3896 of file psmap/dialogs.py.

def dialogs.TextDialog.OnRotation (   self,
  event 
)

Definition at line 3899 of file psmap/dialogs.py.

def dialogs.TextDialog.OnTitle (   self,
  event 
)

Definition at line 406 of file wxplot/dialogs.py.

References base.BasePlotFrame.ptitle, and dialogs.TextDialog.ptitle.

def dialogs.TextDialog.OnXLabel (   self,
  event 
)

Definition at line 409 of file wxplot/dialogs.py.

References base.BasePlotFrame.xlabel, and dialogs.TextDialog.xlabel.

def dialogs.TextDialog.OnYLabel (   self,
  event 
)

Definition at line 412 of file wxplot/dialogs.py.

References base.BasePlotFrame.ylabel, and dialogs.TextDialog.ylabel.

def dialogs.TextDialog.updateDialog (   self)

Update text coordinates, after moving.

Definition at line 4041 of file psmap/dialogs.py.

References widgets.SetValue(), wxnviz.TextTexture.textDict, and dialogs.TextDialog.textDict.

Field Documentation

dialogs.TextDialog.axislabelsize

Definition at line 296 of file wxplot/dialogs.py.

dialogs.TextDialog.ffamilycb

Definition at line 319 of file wxplot/dialogs.py.

dialogs.TextDialog.ffamilydict

Definition at line 208 of file wxplot/dialogs.py.

Referenced by dialogs.TextDialog.UpdateSettings().

dialogs.TextDialog.fontfamily

Definition at line 234 of file wxplot/dialogs.py.

dialogs.TextDialog.fontstyle

Definition at line 235 of file wxplot/dialogs.py.

dialogs.TextDialog.fontweight

Definition at line 236 of file wxplot/dialogs.py.

dialogs.TextDialog.fstylecb

Definition at line 333 of file wxplot/dialogs.py.

dialogs.TextDialog.fstyledict

Definition at line 216 of file wxplot/dialogs.py.

Referenced by dialogs.TextDialog.UpdateSettings().

dialogs.TextDialog.fwtcb

Definition at line 347 of file wxplot/dialogs.py.

dialogs.TextDialog.fwtdict

Definition at line 220 of file wxplot/dialogs.py.

Referenced by dialogs.TextDialog.UpdateSettings().

dialogs.TextDialog.id

Definition at line 3678 of file psmap/dialogs.py.

dialogs.TextDialog.mapId
dialogs.TextDialog.objectType

Definition at line 3674 of file psmap/dialogs.py.

dialogs.TextDialog.parent

Definition at line 224 of file wxplot/dialogs.py.

dialogs.TextDialog.positionPanel

Definition at line 3693 of file psmap/dialogs.py.

dialogs.TextDialog.ptitle
dialogs.TextDialog.ptitleentry

Definition at line 255 of file wxplot/dialogs.py.

dialogs.TextDialog.ptitlesize

Definition at line 265 of file wxplot/dialogs.py.

dialogs.TextDialog.radio

Definition at line 3855 of file psmap/dialogs.py.

Referenced by dialogs.TextDialog.update().

dialogs.TextDialog.rotCtrl

Definition at line 3874 of file psmap/dialogs.py.

dialogs.TextDialog.rotValue

Definition at line 3875 of file psmap/dialogs.py.

dialogs.TextDialog.textCtrl

Definition at line 3713 of file psmap/dialogs.py.

dialogs.TextDialog.textDict
dialogs.TextDialog.textPanel

Definition at line 3692 of file psmap/dialogs.py.

dialogs.TextDialog.xlabel

Definition at line 228 of file wxplot/dialogs.py.

Referenced by dialogs.TextDialog.OnXLabel().

dialogs.TextDialog.xlabelentry

Definition at line 276 of file wxplot/dialogs.py.

dialogs.TextDialog.xoffCtrl

Definition at line 3833 of file psmap/dialogs.py.

dialogs.TextDialog.xoffLabel

Definition at line 3831 of file psmap/dialogs.py.

dialogs.TextDialog.ylabel
dialogs.TextDialog.ylabelentry

Definition at line 286 of file wxplot/dialogs.py.

dialogs.TextDialog.yoffCtrl

Definition at line 3834 of file psmap/dialogs.py.

dialogs.TextDialog.yoffLabel

Definition at line 3832 of file psmap/dialogs.py.


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