Project/Project.py

changeset 3591
2f2a4a76dd22
parent 3532
86ac124f322c
child 3600
7d17c492ab95
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
2452 self.setStatusMonitorInterval( 2452 self.setStatusMonitorInterval(
2453 Preferences.getVCS("StatusMonitorInterval")) 2453 Preferences.getVCS("StatusMonitorInterval"))
2454 2454
2455 def __showFiletypeAssociations(self): 2455 def __showFiletypeAssociations(self):
2456 """ 2456 """
2457 Public slot to display the filetype association dialog. 2457 Private slot to display the filetype association dialog.
2458 """ 2458 """
2459 from .FiletypeAssociationDialog import FiletypeAssociationDialog 2459 from .FiletypeAssociationDialog import FiletypeAssociationDialog
2460 dlg = FiletypeAssociationDialog(self) 2460 dlg = FiletypeAssociationDialog(self)
2461 if dlg.exec_() == QDialog.Accepted: 2461 if dlg.exec_() == QDialog.Accepted:
2462 dlg.transferData() 2462 dlg.transferData()
2463 self.setDirty(True) 2463 self.setDirty(True)
2464 2464
2465 def __showLexerAssociations(self): 2465 def __showLexerAssociations(self):
2466 """ 2466 """
2467 Public slot to display the lexer association dialog. 2467 Private slot to display the lexer association dialog.
2468 """ 2468 """
2469 from .LexerAssociationDialog import LexerAssociationDialog 2469 from .LexerAssociationDialog import LexerAssociationDialog
2470 dlg = LexerAssociationDialog(self) 2470 dlg = LexerAssociationDialog(self)
2471 if dlg.exec_() == QDialog.Accepted: 2471 if dlg.exec_() == QDialog.Accepted:
2472 dlg.transferData() 2472 dlg.transferData()
4435 """ 4435 """
4436 self.showMenu.emit("Graphics", self.graphicsMenu) 4436 self.showMenu.emit("Graphics", self.graphicsMenu)
4437 4437
4438 def handleApplicationDiagram(self): 4438 def handleApplicationDiagram(self):
4439 """ 4439 """
4440 Private method to handle the application diagram context menu action. 4440 Public method to handle the application diagram context menu action.
4441 """ 4441 """
4442 res = E5MessageBox.yesNo( 4442 res = E5MessageBox.yesNo(
4443 self.ui, 4443 self.ui,
4444 self.tr("Application Diagram"), 4444 self.tr("Application Diagram"),
4445 self.tr("""Include module names?"""), 4445 self.tr("""Include module names?"""),

eric ide

mercurial