# -*- coding: utf-8 -*-
from PyQt4 import QtGui, QtCore
from widgets.window_generator import Generator_Window
class Generator_View(QtGui.QMainWindow):
    def __init__(self, controle):
        QtGui.QMainWindow.__init__(self)
        self.controle = controle
        self.ui = Generator_Window()
        self.ui.setup(self)
        
        QtCore.QObject.connect(self.ui.botao_editar, QtCore.SIGNAL(
                                    'clicked()'), self.controle.atualizar_campo)
        QtCore.QObject.connect(self.ui.botao_novo_campo, QtCore.SIGNAL(
                                    'clicked()'), self.controle.gerar_novo_campo)
        QtCore.QObject.connect(self.ui.botao_analisar, QtCore.SIGNAL(
                                    'clicked()'), self.controle.analisar)
        QtCore.QObject.connect(self.ui.botao_combinar, QtCore.SIGNAL(
                                    'clicked()'), self.controle.combina_campos)
        QtCore.QObject.connect(self.ui.botao_limpar, QtCore.SIGNAL(
                                    'clicked()'), self.controle.limpa_lista)
        QtCore.QObject.connect(self.ui.botao_remove, QtCore.SIGNAL(
                                    'clicked()'), self.controle.remove_item)

    def getListWidget(self):
        return self.ui.listWidget
cec3086293ee9b90e2c92c97bf6dbc1e512cf7f4
<mask token>


class Generator_View(QtGui.QMainWindow):
    <mask token>
    <mask token>

<mask token>


class Generator_View(QtGui.QMainWindow):
    <mask token>

    def getListWidget(self):
        return self.ui.listWidget

<mask token>


class Generator_View(QtGui.QMainWindow):

    def __init__(self, controle):
        QtGui.QMainWindow.__init__(self)
        self.controle = controle
        self.ui = Generator_Window()
        self.ui.setup(self)
        QtCore.QObject.connect(self.ui.botao_editar, QtCore.SIGNAL(
            'clicked()'), self.controle.atualizar_campo)
        QtCore.QObject.connect(self.ui.botao_novo_campo, QtCore.SIGNAL(
            'clicked()'), self.controle.gerar_novo_campo)
        QtCore.QObject.connect(self.ui.botao_analisar, QtCore.SIGNAL(
            'clicked()'), self.controle.analisar)
        QtCore.QObject.connect(self.ui.botao_combinar, QtCore.SIGNAL(
            'clicked()'), self.controle.combina_campos)
        QtCore.QObject.connect(self.ui.botao_limpar, QtCore.SIGNAL(
            'clicked()'), self.controle.limpa_lista)
        QtCore.QObject.connect(self.ui.botao_remove, QtCore.SIGNAL(
            'clicked()'), self.controle.remove_item)

    def getListWidget(self):
        return self.ui.listWidget

from PyQt4 import QtGui, QtCore
from widgets.window_generator import Generator_Window


class Generator_View(QtGui.QMainWindow):

    def __init__(self, controle):
        QtGui.QMainWindow.__init__(self)
        self.controle = controle
        self.ui = Generator_Window()
        self.ui.setup(self)
        QtCore.QObject.connect(self.ui.botao_editar, QtCore.SIGNAL(
            'clicked()'), self.controle.atualizar_campo)
        QtCore.QObject.connect(self.ui.botao_novo_campo, QtCore.SIGNAL(
            'clicked()'), self.controle.gerar_novo_campo)
        QtCore.QObject.connect(self.ui.botao_analisar, QtCore.SIGNAL(
            'clicked()'), self.controle.analisar)
        QtCore.QObject.connect(self.ui.botao_combinar, QtCore.SIGNAL(
            'clicked()'), self.controle.combina_campos)
        QtCore.QObject.connect(self.ui.botao_limpar, QtCore.SIGNAL(
            'clicked()'), self.controle.limpa_lista)
        QtCore.QObject.connect(self.ui.botao_remove, QtCore.SIGNAL(
            'clicked()'), self.controle.remove_item)

    def getListWidget(self):
        return self.ui.listWidget

# -*- coding: utf-8 -*-
from PyQt4 import QtGui, QtCore
from widgets.window_generator import Generator_Window
class Generator_View(QtGui.QMainWindow):
    def __init__(self, controle):
        QtGui.QMainWindow.__init__(self)
        self.controle = controle
        self.ui = Generator_Window()
        self.ui.setup(self)
        
        QtCore.QObject.connect(self.ui.botao_editar, QtCore.SIGNAL(
                                    'clicked()'), self.controle.atualizar_campo)
        QtCore.QObject.connect(self.ui.botao_novo_campo, QtCore.SIGNAL(
                                    'clicked()'), self.controle.gerar_novo_campo)
        QtCore.QObject.connect(self.ui.botao_analisar, QtCore.SIGNAL(
                                    'clicked()'), self.controle.analisar)
        QtCore.QObject.connect(self.ui.botao_combinar, QtCore.SIGNAL(
                                    'clicked()'), self.controle.combina_campos)
        QtCore.QObject.connect(self.ui.botao_limpar, QtCore.SIGNAL(
                                    'clicked()'), self.controle.limpa_lista)
        QtCore.QObject.connect(self.ui.botao_remove, QtCore.SIGNAL(
                                    'clicked()'), self.controle.remove_item)

    def getListWidget(self):
        return self.ui.listWidget