Ejemplo n.º 1
0
 def dataModify(self):
     try:
         check = self.fileManager.item.parent().text(0) == 'Data Tables'
         tablename = self.fileManager.item.text(0)
         if check:
             b = DisplayTable(self.project, tablename)
             
             b.exec_()
     except Exception, e:
         QMessageBox.warning(self, "Data",
                             """Select a table and then choose this option to display a table"""
                             """or use the context menu to view a table.""",
                             QMessageBox.Ok)
Ejemplo n.º 2
0
    def dataModify(self):
        try:
            check = self.fileManager.item.parent().text(0) == 'Data Tables'
            tablename = self.fileManager.item.text(0)
            if check:
                b = DisplayTable(self.project, tablename)

                b.exec_()
        except Exception, e:
            QMessageBox.warning(
                self, "Data",
                """Select a table and then choose this option to display a table"""
                """or use the context menu to view a table.""", QMessageBox.Ok)
Ejemplo n.º 3
0
    def displayTable(self):
        tablename = self.item.text(0)

        disp = DisplayTable(self.project, "%s" %tablename, self.item.parent().text(0))
        disp.exec_()
Ejemplo n.º 4
0
    def displayTable(self):
        #tablename = self.item.text(0)

        disp = DisplayTable(self.project, "%s" % self.tablename,
                            self.parentText)
        disp.exec_()
Ejemplo n.º 5
0
    def displayTable(self):
        #tablename = self.item.text(0)

        disp = DisplayTable(self.project, "%s" %self.tablename, self.parentText)
        disp.exec_()