Ejemplo n.º 1
0
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setupUi(self)

        self.facade = None
        self.mainini = None
        # Place holder: Data Model/ Data model view
        self.mainmodel = None
        self.viewEdit = view.PandasTableModelEdit
        self.form_entries = None

        # Placeholders: Data tables
        self.project_table = None

        # Placeholder: Director (table builder), log
        self.maindirector = None
        self._log = None

        # Actions
        self.btnPreview.clicked.connect(self.submit_change)
        self.btnSaveClose.clicked.connect(self.submit_change)
        self.btnCancel.clicked.connect(self.close)

        self.preview = tprev.TablePreview()
        self.message = QtGui.QMessageBox
        self.error = QtGui.QErrorMessage()
Ejemplo n.º 2
0
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setupUi(self)
        # Facade set up for the taxa dialog
        # box. These inputs will have been already
        # logged in the computer in order to
        # reach this phase

        # Place holders for user inputs
        self.obslned = {}
        self.obsckbox = {}
        self.obsraw = {}
        self.available = None
        self.null = None
        # Place holder: Data Model/ Data model view
        self.obsmodel = None
        self.viewEdit = view.PandasTableModelEdit
        # Placeholders: Data tables
        self.obstable = None
        # Placeholder: Director (table builder), log
        self.obsdirector = None
        self._log = None
        # Placeholder for maindata Orms
        self.obsorms = {}
        # Actions
        self.btnPreview.clicked.connect(self.submit_change)
        self.btnSaveClose.clicked.connect(self.submit_change)
        self.btnCancel.clicked.connect(self.close)
        self.tablename = None
        self.table = None

        # Update boxes/preview box
        self.message = QtGui.QMessageBox
        self.error = QtGui.QErrorMessage()
        self.preview = prev.TablePreview()
Ejemplo n.º 3
0
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setupUi(self)

        # Place holders for user inputs
        self.taxalned = {}
        self.taxackbox = {}
        self.taxacreate = {}
        self.available = None
        self.null = None
        self.saved = False
        # Place holder: Data Model/ Data model view
        self.taxamodel = None
        self.viewEdit = view.PandasTableModelEdit
        # Placeholders: Data tables
        self.taxa_table = None
        # Placeholder: Director (table builder), log
        self.taxadirector = None
        self._log = None
        # Placeholder for maindata Orms
        self.taxaorms = {}
        # Actions
        self.btnTaxasubmit.clicked.connect(self.submit_change)
        self.btnSaveClose.clicked.connect(self.submit_change)
        self.btnCancel.clicked.connect(self.close)

        # Update boxes/preview box
        self.message = QtGui.QMessageBox
        self.error = QtGui.QErrorMessage()
        self.preview = prev.TablePreview()
Ejemplo n.º 4
0
        def __init__(self, parent=None):
            super().__init__(parent)
            self.setupUi(self)

            # Facade set up
            self.facade = face.Facade()
            self.facade.input_register(meta_handle_1_count)
            self.facade.meta_verify()
            self.facade.input_register(file_handle_split_columns)
            self.facade.load_data()

            self.previous_click = False
            # Place holders for user inputs
            self.splitcolumnlned = {}

            # Place holder: Data Model/ Data model view
            self.splitcolumnmodel = None
            self.viewEdit = view.PandasTableModelEdit(None)
            # Placeholders: Data tables
            self.splitcolumntable = None

            # Actions
            self.btnPreview.clicked.connect(self.submit_change)
            self.btnSaveClose.clicked.connect(self.submit_change)
            self.btnCancel.clicked.connect(self.close)

            # Update boxes/preview box
            self.message = QtGui.QMessageBox
            self.error = QtGui.QErrorMessage()
            self.preview = tprev.TablePreview()
 def __init__(self, parent=None):
     super().__init__(parent)
     self.setupUi(self)
     # Place holders for user inputs
     self.widetolonglned = {}
     # Place holder: Data Model/ Data model view
     self.widetolongmodel = None
     self.viewEdit = view.PandasTableModel
     # Placeholders: Data tables
     self.widetolongtable = None
     # Actions
     self.btnPreview.clicked.connect(self.submit_change)
     self.btnSaveClose.clicked.connect(self.submit_change)
     self.btnCancel.clicked.connect(self.close)
     # Update boxes/preview box
     self.message = QtGui.QMessageBox
     self.error = QtGui.QErrorMessage()
     self.preview = tprev.TablePreview()
Ejemplo n.º 6
0
        def __init__(self, parent=None):
            super().__init__(parent)
            self.setupUi(self)
            # Facade set up for the taxa dialog
            # box. These inputs will have been already
            # logged in the computer in order to
            # reach this phase
            self.facade = face.Facade()
            self.facade.input_register(meta_handle_free)
            self.facade.meta_verify()
            self.facade.input_register(file_handle_free)
            self.facade.load_data()
            self.facade.input_register(site_handle_free)
            sitelevels = self.facade._data[site_handle_free.lnedentry[
                'study_site_key']].drop_duplicates().values.tolist()
            self.facade.register_site_levels(sitelevels)

            # Place holders for user inputs
            self.obslned = {}
            self.obsckbox = {}
            self.obsraw = {}
            self.available = None
            self.null = None
            # Place holder: Data Model/ Data model view
            self.obsmodel = None
            self.viewEdit = view.PandasTableModelEdit
            # Placeholders: Data tables
            self.obstable = None
            # Placeholder: Director (table builder), log
            self.obsdirector = None
            self._log = None
            # Placeholder for maindata Orms
            self.obsorms = {}
            # Actions
            self.btnPreview.clicked.connect(self.submit_change)
            self.btnSaveClose.clicked.connect(self.submit_change)
            self.btnCancel.clicked.connect(self.close)
            self.tablename = None
            self.table = None

            # Update boxes/preview box
            self.message = QtGui.QMessageBox
            self.error = QtGui.QErrorMessage()
            self.preview = prev.TablePreview()
Ejemplo n.º 7
0
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setupUi(self)

        # Attributes
        self.covarlned = {'columns': None}
        self.covarini = None
        self._log = None
        self.covardata = None
        self.covarmodel = None

        # Signals/slots
        self.btnColumns.clicked.connect(self.submit_change)
        self.btnPreview.clicked.connect(self.submit_change)
        self.btnSaveClose.clicked.connect(self.submit_change)
        self.btnCancel.clicked.connect(self.close)

        # Pop up widgets
        self.message = QtGui.QMessageBox
        self.error = QtGui.QErrorMessage()
        self.preview = tprev.TablePreview()
Ejemplo n.º 8
0
        def __init__(self, parent=None):
            super().__init__(parent)
            self.setupUi(self)

            self.facade = face.Facade()
            self.facade.input_register(meta_handle7)
            self.facade.meta_verify()
            self.facade.input_register(file_handle5)
            self.facade.load_data()
            self.facade.input_register(site_handle5)
            sitelevels = self.facade._data[
                site_handle5.lnedentry['study_site_key']   
            ].drop_duplicates().values.tolist()
            self.facade.register_site_levels(sitelevels)
            self.facade.input_register(taxa_handle5)


            self.mainini = None
            # Place holder: Data Model/ Data model view
            self.mainmodel = None
            self.viewEdit = view.PandasTableModelEdit
            self.form_entries = None
            
            # Placeholders: Data tables
            self.project_table = None

            # Placeholder: Director (table builder), log
            self.maindirector = None
            self._log = None

            # Actions
            self.btnPreview.clicked.connect(self.submit_change)
            self.btnSaveClose.clicked.connect(self.submit_change)
            self.btnCancel.clicked.connect(self.close)

            self.preview = tprev.TablePreview()
            self.message = QtGui.QMessageBox
            self.error = QtGui.QErrorMessage()
Ejemplo n.º 9
0
        def __init__(self, parent=None):
            super().__init__(parent)
            self.setupUi(self)

            # Facade set up for the taxa dialog
            # box. These inputs will have been already
            # logged in the computer in order to
            # reach this phase
            self.facade = face.Facade()
            self.facade.input_register(meta_handle_free)
            self.facade.meta_verify()
            self.facade.input_register(file_handle_wide_to_long)
            self.facade.load_data()
            self.facade.input_register(site_handle_wide_to_long)
            sitelevels = self.facade._data[
                self.facade._inputs['siteinfo'].
                lnedentry['study_site_key']].drop_duplicates().values.tolist()
            self.facade.register_site_levels(sitelevels)

            # Place holders for user inputs
            self.widetolonglned = {}

            # Place holder: Data Model/ Data model view
            self.widetolongmodel = None
            self.viewEdit = view.PandasTableModel
            # Placeholders: Data tables
            self.widetolongtable = None

            # Actions
            self.btnPreview.clicked.connect(self.submit_change)
            self.btnSaveClose.clicked.connect(self.submit_change)
            self.btnCancel.clicked.connect(self.close)

            # Update boxes/preview box
            self.message = QtGui.QMessageBox
            self.error = QtGui.QErrorMessage()
            self.preview = tprev.TablePreview()