710 Private slot to handle the "Filtered display" context menu entry. |
710 Private slot to handle the "Filtered display" context menu entry. |
711 |
711 |
712 @param on flag indicating the filter state (boolean) |
712 @param on flag indicating the filter state (boolean) |
713 """ |
713 """ |
714 if on and not self.taskFilter.hasActiveFilter(): |
714 if on and not self.taskFilter.hasActiveFilter(): |
715 res = QMessageBox.question(self, |
715 res = E5MessageBox.question(self, |
716 self.trUtf8("Activate task filter"), |
716 self.trUtf8("Activate task filter"), |
717 self.trUtf8("""The task filter doesn't have any active filters.""" |
717 self.trUtf8("""The task filter doesn't have any active filters.""" |
718 """ Do you want to configure the filter settings?"""), |
718 """ Do you want to configure the filter settings?"""), |
719 QMessageBox.StandardButtons(\ |
719 QMessageBox.StandardButtons(\ |
720 QMessageBox.No | \ |
720 QMessageBox.No | \ |