151 project.newProject.connect(self.__projectOpened) |
151 project.newProject.connect(self.__projectOpened) |
152 project.projectClosed.connect(self.__projectClosed) |
152 project.projectClosed.connect(self.__projectClosed) |
153 |
153 |
154 # Set a flag for the passive debug mode |
154 # Set a flag for the passive debug mode |
155 self.passive = Preferences.getDebugger("PassiveDbgEnabled") |
155 self.passive = Preferences.getDebugger("PassiveDbgEnabled") |
156 |
156 |
|
157 def showNotification(self, notification): |
|
158 """ |
|
159 Public method to show some notification message. |
|
160 |
|
161 @param notification meessage to be shown |
|
162 @type str |
|
163 """ |
|
164 if self.ui.notificationsEnabled(): |
|
165 self.ui.showNotification( |
|
166 UI.PixmapCache.getPixmap("debug48"), |
|
167 self.tr("Notification"), notification) |
|
168 else: |
|
169 self.appendStdout.emit(notification) |
|
170 |
157 def variablesFilter(self, scope): |
171 def variablesFilter(self, scope): |
158 """ |
172 """ |
159 Public method to get the variables filter for a scope. |
173 Public method to get the variables filter for a scope. |
160 |
174 |
161 @param scope flag indicating global (True) or local (False) scope |
175 @param scope flag indicating global (True) or local (False) scope |