Esempio 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)
Esempio n. 2
0
    def displayTable(self):
        tablename = self.item.text(0)

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

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