Exemplo n.º 1
0
 def show_external_product_window(self, model, path):
     product_id = model[path][0]
     if self.p_o == None or not self.p_o.window:
         import products_overview
         self.p_o = products_overview.ProductsOverviewGUI(product_id)
     self.p_o.product_id = product_id
     self.p_o.select_product()
Exemplo n.º 2
0
	def row_activate(self, treeview, path, treeviewcolumn):
		treeiter = self.product_location_store.get_iter(path)
		product_id = self.product_location_store.get_value(treeiter, 9)
		import products_overview
		po = products_overview.ProductsOverviewGUI(product_id)
Exemplo n.º 3
0
 def product_window(self, column):
     import products_overview
     products_overview.ProductsOverviewGUI()
Exemplo n.º 4
0
 def product_overview_clicked(self, button):
     import products_overview
     products_overview.ProductsOverviewGUI(self.product_id)
     self.window.destroy()
Exemplo n.º 5
0
 def edit_product_clicked(self, button):
     import products_overview
     p_gui = products_overview.ProductsOverviewGUI(self.product_id)
     p_gui.edit_product(self.product_id)
     self.window.destroy()
Exemplo n.º 6
0
 def add_product(self, widget):
     import products_overview
     po = products_overview.ProductsOverviewGUI()
     po.get_object('radiobutton3').set_active(True)
Exemplo n.º 7
0
 def products_activated(self, button):
     import products_overview
     products_overview.ProductsOverviewGUI()
Exemplo n.º 8
0
	def product_window_activated (self, menuitem):
		import products_overview
		products_overview.ProductsOverviewGUI()
Exemplo n.º 9
0
 def product_clicked(self, menuitem):
     import products_overview
     products_overview.ProductsOverviewGUI()