ProjectFlask/RoutesDialog.py

branch
eric7
changeset 84
f39230b845e4
parent 83
d8788dc3442f
child 87
075f7667f69d
equal deleted inserted replaced
83:d8788dc3442f 84:f39230b845e4
96 else: 96 else:
97 with EricOverridenCursor(): 97 with EricOverridenCursor():
98 EricMessageBox.critical( 98 EricMessageBox.critical(
99 None, 99 None,
100 self.tr("Flask Routes"), 100 self.tr("Flask Routes"),
101 self.tr( 101 self.tr("""The Flask process could not be started."""),
102 """The Flask process could not be""" """ started."""
103 ),
104 ) 102 )
105 for column in range(self.routesList.columnCount()): 103 for column in range(self.routesList.columnCount()):
106 self.routesList.resizeColumnToContents(column) 104 self.routesList.resizeColumnToContents(column)
107 return ok 105 return ok
108 else: 106 else:
177 """ 175 """
178 if checked: 176 if checked:
179 self.showRoutes() 177 self.showRoutes()
180 178
181 @pyqtSlot(bool) 179 @pyqtSlot(bool)
182 def on_allMethodsCheckBox_toggled(self, checked): 180 def on_allMethodsCheckBox_toggled(self, checked): # noqa: U100
183 """ 181 """
184 Private slot handling the selection to show all methods. 182 Private slot handling the selection to show all methods.
185 183
186 @param checked state of the button 184 @param checked state of the button
187 @type bool 185 @type bool

eric ide

mercurial