本文整理汇总了Python中promogest.ui.GladeWidget.GladeWidget.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python GladeWidget.__init__方法的具体用法?Python GladeWidget.__init__怎么用?Python GladeWidget.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类promogest.ui.GladeWidget.GladeWidget
的用法示例。
在下文中一共展示了GladeWidget.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainWindow=None,daos=None, art=None):
"""Widget di transizione per visualizzare e confermare gli oggetti
preparati per la stampa ( Multi_dialog.glade tab 1)
"""
GladeWidget.__init__(self, root='label_dialog',
path='Label/gui/label_dialog.glade',
isModule=True)
self.mainWindow = mainWindow
self.completion = gtk.EntryCompletion()
self.completion.set_match_func(self.match_func,None)
self.completion.connect("match-selected",
self.on_completion_match)
listore = gtk.ListStore(str, object)
self.completion.set_model(listore)
self.completion.set_text_column(0)
self.articolo_entry.set_completion(self.completion)
self.mattu = False
self.sepric = " ~ " # separatore utile allo split
self.articolo_matchato = None
self.ricerca = "ricerca_codice_a_barre_button" # ATTENZIONE ...scorciatoia ... check non gestite
self.daos = daos
self.art = art
# fillComboboxListini(self.listino_combobox, True)
self.draw()
示例2: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainWindow, azs, parent=None, modules=None):
self.mainWindow = mainWindow
self.mainClass=parent
self.modules = modules
GladeWidget.__init__(self, root='parametri_select_frame',
path='_parametri_select.glade')
self.setModulesButtons()
示例3: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, anagrafica, windowTitle, previewTemplate, tipo=None):
GladeWidget.__init__(self, root='htmlviewer', path="htmlviewer.glade")
self.windowTitle = windowTitle
self.visualizzatore_html.set_title(windowTitle)
self._anagrafica = anagrafica
self._tipo = tipo
self.bodyWidget = FilterWidget(owner=self, resultsElement='html')
self.bodyWidget.filter_navigation_hbox.destroy()
self.bodyWidget.info_label.set_markup("INSERT INFO")
self.html_scrolledwindow.add_with_viewport(
self.bodyWidget.getTopLevel())
self.print_on_screen_html = self.bodyWidget.resultsElement
self._gtkHtmlDocuments = None
self._previewTemplate = previewTemplate
self.html = createHtmlObj(self)
#Prendo tutti i dati dalla finestra di filtraggio, compresi i dati
# di ordinamento e di batchSize
self._changeOrderBy = self.bodyWidget._changeOrderBy
self.orderBy = self.bodyWidget.orderBy
self.batchSize = self.bodyWidget.batchSize
self.offset = self.bodyWidget.offset
self.numRecords = self.bodyWidget.numRecords
self._filterClosure = self._anagrafica.filter._filterClosure
self._filterCountClosure = self._anagrafica.filter._filterCountClosure
self.placeWindow(self.visualizzatore_html)
self.bodyWidget.generic_button.set_property('visible', False)
def test():
self.html_code = "<html><body></body></html>"
glib.idle_add(self.refresh)
示例4: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, maino):
GladeWidget.__init__(self,
root='PrimaNota/gui/_anagrafica_primanota_setup_frame',
path='PrimaNota/gui/_anagrafica_primanota_setup.glade',
isModule=True)
self.maino = maino
self._draw()
示例5: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainWindow, azs, modules=None):
self.mainWindow = mainWindow
self.aziendaStr = azs
self.modules = modules
GladeWidget.__init__(self, root='anagrafiche_principali_select_frame',
path='_anagrafiche_principali_select.glade' )
self.setModulesButtons()
示例6: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainnn, aziendaa):
GladeWidget.__init__(self, root='azioni_veloci_frame',
path='azioni_veloce_notebook.glade')
# self.placeWindow(self.getTopLevel())
self.rowBackGround = None
self.main_wind = mainnn
self.aziendaStr = aziendaa or ""
示例7: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, daoListino, anagraficaListino):
self.dao = daoListino
GladeWidget.__init__(self, root='duplicazione_listino_window',
path='duplicazione_listino.glade')
self.placeWindow(self.getTopLevel())
self.draw()
示例8: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, idMagazzino=None, nome=""):
GladeWidget.__init__(self, root='statistica_dialog',
path='Statistiche/gui/statistiche_dialog.glade',
isModule=True)
self.placeWindow(self.getTopLevel())
self.da_data_entry.set_text('01/01/' + Environment.workingYear)
self.a_data_entry.set_text(dateToString(datetime.datetime.now()))
# self._idMagazzino = idMagazzino
self.da_data_entry.show_all()
self.a_data_entry.show_all()
for k, v in tipo_statistica_dict.iteritems():
self.tipo_statistica_listore.append([k, v])
self.tipo_statistica_combo.set_active(CONTROLLO_FATT_CLIENTI)
self.cateCliente = ["CATEGORIA CLIENTE", [], [],False, object]
self.cateArticolo = ["CATEGORIA ARTICOLO", [], [],False, object]
self.magazzino = ["MAGAZZINO", [], [], False, object]
self.produttore = ["PRODUTTORE", [], [], False, str]
self.cliente = ["CLIENTE", [], [], False, object]
self.fornitore = ["FORNITORE", [], [], False, object]
self.__setup_view()
self.draw()
示例9: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainWindow, articolo=None, data=None, idPerGiu=None,
idListino=None, fonteValore=None):
GladeWidget.__init__(self,
root='gestione_varianti_taglie_colore',
path='PromoWear/gui/gestione_varianti_taglia_colore.glade',
isModule=True)
#self.placeWindow(self.getTopLevel())
self.getTopLevel().set_modal(modal=True)
#self.getTopLevel().set_transient_for(mainWindow)
self.articoloPadre= articolo
self.idPerGiu = idPerGiu
self.data = data
self._id_listino = idListino
self._fornitura = None
self._listino = None
self._fonteValore=fonteValore
self.order = None
if ((self._fonteValore == "acquisto_iva") or (self._fonteValore == "acquisto_senza_iva")):
self.TipoOperazione = "acquisto"
elif ((self._fonteValore == "vendita_iva") or (self._fonteValore == "vendita_senza_iva")):
self.TipoOperazione = "vendita"
self._treeViewModel = None
self._rowEditingPath = None
self._tabPressed = False
self.denominazione_label.set_text(self.articoloPadre.codice +" - "+self.articoloPadre.denominazione)
self.mainWindow = mainWindow
self.draw()
示例10: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, selection=None):
""" finestra di gestione della fattura differita"""
GladeWidget.__init__(self, root='fatturazione_provv_window',
path='fatturazione_provv.glade')
if selection is None:
return
self.draw()
示例11: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainWindow, aziendaStr):
self._mainWindow = mainWindow
self.aziendaStr = aziendaStr
self._currentDao = None
GladeWidget.__init__(self, root='elenco_listini_frame',
path='_elenco_listini_elements.glade')
self.orderBy = 'denominazione'
示例12: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, dao):
self._dao_pg = dao
GladeWidget.__init__(self, root='abbinamento_pg_window',
path="abbinamento_persone_giuridiche.glade")
self._window = self.abbinamento_pg_window
self.placeWindow(self._window)
self.draw()
示例13: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainWindow):
self.mainWindow = mainWindow
GladeWidget.__init__(self, root='configura_window',
path='configura_window.glade')
self.placeWindow(self.getTopLevel())
self.draw()
self.addTabs()
示例14: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainWindow, dao=None):
self._mainWindow = mainWindow
GladeWidget.__init__(self, root='export_csv',
path='export_csv.glade')
self.getTopLevel()
self.placeWindow(self.getTopLevel())
self.dao = dao
self.draw()
示例15: __init__
# 需要导入模块: from promogest.ui.GladeWidget import GladeWidget [as 别名]
# 或者: from promogest.ui.GladeWidget.GladeWidget import __init__ [as 别名]
def __init__(self, mainnn):
GladeWidget.__init__(self, root='csa_frame',
path='Provvigione/gui/provv_notebook.glade',
isModule=True)
self.rowBackGround = None
self.ana = mainnn
self.dao_articolo_provv = None
self.draw()