#NEWLINE# def newQuery( self ) : #NEWLINE# #INDENT# self . offset = 0 #NEWLINE# self . vistrail = None #NEWLINE# if self . vistrailEditCheckBox . isChecked ( ) : #NEWLINE# #INDENT# self . vistrail = str ( self . vistrailEdit . text ( ) ) . strip ( ) #NEWLINE# #UNINDENT# self . version = None #NEWLINE# if self . versionEditCheckBox . isChecked ( ) : #NEWLINE# #INDENT# self . version = str ( self . versionEdit . text ( ) ) . strip ( ) #NEWLINE# #UNINDENT# self . fromTime = None #NEWLINE# if self . fromTimeEditCheckBox . isChecked ( ) : #NEWLINE# #INDENT# self . fromTime = str ( self . fromTimeEdit . dateTime ( ) . toString ( 'yyyy-MM-d H:mm:ss' ) ) #NEWLINE# #UNINDENT# self . toTime = None #NEWLINE# if self . toTimeEditCheckBox . isChecked ( ) : #NEWLINE# #INDENT# self . toTime = str ( self . toTimeEdit . dateTime ( ) . toString ( 'yyyy-MM-d H:mm:ss' ) ) #NEWLINE# #UNINDENT# self . user = None #NEWLINE# if self . userEditCheckBox . isChecked ( ) : #NEWLINE# #INDENT# self . user = str ( self . userEdit . text ( ) ) . strip ( ) #NEWLINE# #UNINDENT# self . completed = None #NEWLINE# if self . completedEditCheckBox . isChecked ( ) : #NEWLINE# #INDENT# self . completed = str ( self . completedEdit . currentText ( ) ) . strip ( ) #NEWLINE# #UNINDENT# self . modules = [ ] #NEWLINE# if self . moduleEditCheckBox . isChecked ( ) : #NEWLINE# #INDENT# modules = str ( self . moduleEdit . text ( ) ) . strip ( ) #NEWLINE# for k in [ i . strip ( ) for i in modules . split ( ',' ) ] : #NEWLINE# #INDENT# v = k . split ( ':' ) #NEWLINE# if ( len ( v ) > 1 ) : #NEWLINE# #INDENT# self . modules . append ( ( v [ 0 ] . strip ( ) , v [ 1 ] . strip ( ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . modules . append ( ( v [ 0 ] . strip ( ) , None ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . thumbs = self . thumbsCheckBox . isChecked ( ) #NEWLINE# conn_id = self . connectionList . getCurrentItemId ( ) #NEWLINE# self . conn = self . connectionList . get_connection ( conn_id ) #NEWLINE# self . config = getConnectionInfo ( self . connectionList , conn_id ) #NEWLINE# self . searchDatabase ( )