mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[pyqgis-console] fix typo and indentation update
This commit is contained in:
parent
507756a7f7
commit
eb47ff5d8a
@ -1,7 +1,7 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
"""
|
||||
/***************************************************************************
|
||||
Python Conosle for QGIS
|
||||
Python Console for QGIS
|
||||
-------------------
|
||||
begin : 2012-09-10
|
||||
copyright : (C) 2012 by Salvatore Larosa
|
||||
@ -651,7 +651,7 @@ class PythonConsoleWidget(QWidget):
|
||||
tabWidget.save()
|
||||
except (IOError, OSError), e:
|
||||
errTr = QCoreApplication.translate("PythonConsole", "Save Error")
|
||||
msgErrTr = QCoreApplication.translate("PythonConsole",
|
||||
msgErrTr = QCoreApplication.translate("PythonConsole",
|
||||
"Failed to save %1: %2").arg(tabWidget.path, e)
|
||||
QMessageBox.warning(self, errTr, msgErrTr)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
"""
|
||||
/***************************************************************************
|
||||
Python Conosle for QGIS
|
||||
Python Console for QGIS
|
||||
-------------------
|
||||
begin : 2012-09-10
|
||||
copyright : (C) 2012 by Salvatore Larosa
|
||||
@ -786,7 +786,7 @@ class EditorTabWidget(QTabWidget):
|
||||
self.newTabButton.setIconSize(QSize(24, 24))
|
||||
self.setCornerWidget(self.newTabButton, Qt.TopLeftCorner)
|
||||
self.connect(self.newTabButton, SIGNAL('clicked()'), self.newTabEditor)
|
||||
|
||||
|
||||
def contextMenuEvent(self, e):
|
||||
tabBar = self.tabBar()
|
||||
self.idx = tabBar.tabAt(e.pos())
|
||||
@ -815,7 +815,7 @@ class EditorTabWidget(QTabWidget):
|
||||
closeAllTabAction.setEnabled(True)
|
||||
closeOthersTabAction.setEnabled(True)
|
||||
action = menu.exec_(self.mapToGlobal(e.pos()))
|
||||
|
||||
|
||||
def closeOthers(self):
|
||||
idx = self.idx
|
||||
countTab = self.count()
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
"""
|
||||
/***************************************************************************
|
||||
Python Conosle for QGIS
|
||||
Python Console for QGIS
|
||||
-------------------
|
||||
begin : 2012-09-10
|
||||
copyright : (C) 2012 by Salvatore Larosa
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
"""
|
||||
/***************************************************************************
|
||||
Python Conosle for QGIS
|
||||
Python Console for QGIS
|
||||
-------------------
|
||||
begin : 2012-09-10
|
||||
copyright : (C) 2012 by Salvatore Larosa
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
"""
|
||||
/***************************************************************************
|
||||
Python Conosle for QGIS
|
||||
Python Console for QGIS
|
||||
-------------------
|
||||
begin : 2012-09-10
|
||||
copyright : (C) 2012 by Salvatore Larosa
|
||||
|
Loading…
x
Reference in New Issue
Block a user