Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: bf89d391e3
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (15 sloc) 0.51 kb
# -*- coding: utf-8 -*-
import os
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from text_editor_ui import Ui_DockWidget
class TextEditor(QDockWidget, Ui_DockWidget):
def __init__(self, parent=None):
QDockWidget.__init__(self, parent.iface.mainWindow())
# Set up the user interface from Designer.
self.parent = parent
def closeEvent(self, event):
self.parent.dock_window = None
Jump to Line
Something went wrong with that request. Please try again.