#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( QMessageBoxPatched , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# copy_action = QtGui . QAction ( '&Copy' , self ) #NEWLINE# copy_action . setShortcut ( QtGui . QKeySequence . Copy ) #NEWLINE# copy_action . triggered . connect ( self . copy_detailed ) #NEWLINE# select_all = QtGui . QAction ( 'Select &All' , self ) #NEWLINE# select_all . setShortcut ( QtGui . QKeySequence . SelectAll ) #NEWLINE# select_all . triggered . connect ( self . select_all ) #NEWLINE# menubar = QtGui . QMenuBar ( ) #NEWLINE# editMenu = menubar . addMenu ( '&Edit' ) #NEWLINE# editMenu . addAction ( copy_action ) #NEWLINE# editMenu . addAction ( select_all ) #NEWLINE# self . layout ( ) . setMenuBar ( menubar )