70 self.__layout.addRow( |
70 self.__layout.addRow( |
71 self.tr("Last Modified at:"), self.__infoLabels["modificationDate"] |
71 self.tr("Last Modified at:"), self.__infoLabels["modificationDate"] |
72 ) |
72 ) |
73 self.__layout.addRow(self.tr("Keywords:"), self.__infoLabels["keywords"]) |
73 self.__layout.addRow(self.tr("Keywords:"), self.__infoLabels["keywords"]) |
74 self.__layout.addRow(self.tr("Security:"), self.__infoLabels["security"]) |
74 self.__layout.addRow(self.tr("Security:"), self.__infoLabels["security"]) |
75 #self.__layout.addRow(self.tr(""), self.__infoLabels[""]) |
|
76 # TODO: add more info labels |
|
77 |
75 |
78 self.setLayout(self.__layout) |
76 self.setLayout(self.__layout) |
79 |
77 |
80 self.__document.statusChanged.connect(self.__populateInfoLabels) |
78 self.__document.statusChanged.connect(self.__populateInfoLabels) |
81 self.__document.pageCountChanged.connect(self.__handlePageCountChanged) |
79 self.__document.pageCountChanged.connect(self.__handlePageCountChanged) |