def __init__(self): gladeXml.__init__(self) logs.__init__(self) self.table = cyr_table() self.xmlTableDef = 1 self.sNameOfTable = "EMPTY" self.openDB() self.td = self.loadObject('td') self.oUser = self.loadObject('User') self.closeDB() #print '##############################################################' #print `self.oUser.getSqlDicUser()` #print '**************************************************************' self.rpc = cuon.XMLRPC.xmlrpc.myXmlRpc() self.listHeader = {} self.dicEntries = cuon.Windows.setOfEntries.setOfEntries() self.ID = 0 self.sWhere = '' self.liFields = [] self.sSort = '' self.store = None self.connectTreeId = 0 self.sCoding = 'utf-8' self.sDateFormat = "%d.%m.%Y" self.dicUser = self.oUser.getDicUser() self.sqlDicUser = self.oUser.getSqlDicUser() self.path = None self.statusfields = [] self.sStatus = '' self.firstRecord = None self.p1 = re.compile('\(select .*\) as')
def __init__(self): gladeXml.__init__(self) logs.__init__(self) self.table = cyr_table() self.xmlTableDef = 1 self.sNameOfTable = "EMPTY" self.withoutColumns = None self.oUser = self.loadObject('User') if not self.oUser: self.oUser = cuon.User.user.User() #print '##############################################################' #print `self.oUser.getSqlDicUser()` #print '**************************************************************' self.rpc = cuon.XMLRPC.xmlrpc.myXmlRpc() self.listHeader = {} self.dicEntries = cuon.Windows.setOfEntries.setOfEntries() self.ID = 0 self.sWhere = '' self.liFields = [] self.sSort = '' self.store = None self.connectTreeId = 0 self.sCoding = 'utf-8' self.sDateFormat = "%d.%m.%Y" #self.oUser.client = 1 self.dicUser = self.oUser.getDicUser() self.sqlDicUser = self.oUser.getSqlDicUser() self.dicInternetUser = self.oUser.getInternetUser() self.path = None self.statusfields = [] self.sStatus = '' self.firstRecord = None self.p1 = re.compile('\(select .*\) as') self.iter = None self.liItems = None self.bDistinct = False self.xml = None self.win1 = None self.TreePos = 0 self.TREEFIRST=-100 self.TREELAST = -1000 self.loading = False
def __init__(self): gladeXml.__init__(self) self.area = None self.pangolayout = None self.sw = None self.table = None self.hruler = None self.vruler = None self.drawObjects = [] self.reportObjects = [] self.table = gtk.Table(2,2) self.hruler = gtk.HRuler() self.vruler = gtk.VRuler() self.Zoom = 4 self.ColorRed = gtk.gdk.color_parse("red") self.ColorBlue = gtk.gdk.color_parse("blue") self.ColorGreen = gtk.gdk.color_parse("green") self.ColorNavajoWhite = gtk.gdk.color_parse("navajowhite") self.ColorBlack = gtk.gdk.color_parse("black") self.ColorWhite = gtk.gdk.color_parse("white")
def __init__(self): gladeXml.__init__(self, False) self.tree = None self.addresses = None self.treeConnectedRow = False self.newID = 0
def __init__(self ): gladeXml.__init__(self, False)