#NEWLINE# def initMenubar( self ) : #NEWLINE# #INDENT# menubar = self . menuBar ( ) #NEWLINE# file = menubar . addMenu ( 'File' ) #NEWLINE# edit = menubar . addMenu ( 'Edit' ) #NEWLINE# view = menubar . addMenu ( 'View' ) #NEWLINE# file . addAction ( view . newAction ) #NEWLINE# file . addAction ( self . openAction ) #NEWLINE# file . addAction ( self . saveAction ) #NEWLINE# file . addAction ( self . printAction ) #NEWLINE# file . addAction ( self . previewAction ) #NEWLINE# edit . addAction ( self . undoAction ) #NEWLINE# edit . addAction ( self . redoAction ) #NEWLINE# edit . addAction ( self . cutAction ) #NEWLINE# edit . addAction ( self . copyAction ) #NEWLINE# edit . addAction ( self . pasteAction )