Beispiel #1
0
 def load(self):
     """
     Loads the records from the query set linked with this item.
     """
     if self._loaded:
         return
     
     rset = self.recordSet()
     
     QApplication.setOverrideCursor(Qt.WaitCursor)
     self.loadRecords(rset)
     QApplication.restoreOverrideCursor()
Beispiel #2
0
    def load(self):
        """
        Loads the records from the query set linked with this item.
        """
        if self._loaded:
            return

        rset = self.recordSet()

        QApplication.setOverrideCursor(Qt.WaitCursor)
        self.loadRecords(rset)
        QApplication.restoreOverrideCursor()