Exemple #1
0
 def __init__(self, parentWindow, zblogPostEditor, model):
     ZBlogPostContentEditorBase.__init__(self, parentWindow,
                                         zblogPostEditor, model)
 def onUpdateUI(self, event):  #@UnusedVariable
     ZBlogPostContentEditorBase.onUpdateUI(self, event)
     self.contextToolBar.refresh()
 def __init__(self, parentWindow, zblogPostEditor, model):
     ZBlogPostContentEditorBase.__init__(self, parentWindow, zblogPostEditor, model)
 def _bindWidgetEvents(self):
     ZBlogPostContentEditorBase._bindWidgetEvents(self)
     self.Bind(ZEVT_TOOLBAR_RESIZE, self.onToolBarResize,
               self.contextToolBar)
 def _bindContentEditCtrlEvents(self):
     ZBlogPostContentEditorBase._bindContentEditCtrlEvents(self)
     self.Bind(IZEditControlEvents.ZEVT_DBL_CLICK, self.onDoubleClick,
               self._getContentEditControl())
    def __init__(self, parentWindow, zblogPostEditor, model):
        ZBlogPostContentEditorBase.__init__(self, parentWindow,
                                            zblogPostEditor, model)

        self.metaDataWidget.titleText.SetFocus()
 def _createWidgets(self):
     ZBlogPostContentEditorBase._createWidgets(self)
     self.contextToolBar = self._createContextToolBar()
 def onUpdateUI(self, event): #@UnusedVariable
     ZBlogPostContentEditorBase.onUpdateUI(self, event)
     self.contextToolBar.refresh()
 def _bindContentEditCtrlEvents(self):
     ZBlogPostContentEditorBase._bindContentEditCtrlEvents(self)
     self.Bind(IZEditControlEvents.ZEVT_DBL_CLICK, self.onDoubleClick, self._getContentEditControl())
 def _bindWidgetEvents(self):
     ZBlogPostContentEditorBase._bindWidgetEvents(self)
     self.Bind(ZEVT_TOOLBAR_RESIZE, self.onToolBarResize, self.contextToolBar)
 def _createWidgets(self):
     ZBlogPostContentEditorBase._createWidgets(self)
     self.contextToolBar = self._createContextToolBar()
    def __init__(self, parentWindow, zblogPostEditor, model):
        ZBlogPostContentEditorBase.__init__(self, parentWindow, zblogPostEditor, model)

        self.metaDataWidget.titleText.SetFocus()