Added the template editor dialog
[biaweb_qt.git] / templates_dialog.py
diff --git a/templates_dialog.py b/templates_dialog.py
new file mode 100644 (file)
index 0000000..7d8fbf0
--- /dev/null
@@ -0,0 +1,12 @@
+# BiaWeb Website content manager (c) 2010 V.Harishankar
+# Templates dialog class
+
+import PyQt4
+import ui_templates_dialog
+import highlighter
+
+class TemplatesDialog (PyQt4.QtGui.QDialog, ui_templates_dialog.Ui_TemplatesDialog):
+       def __init__ (self, master):
+               PyQt4.QtGui.QDialog.__init__ (self, master)
+               self.setupUi (self)
+               self.setWindowFlags (PyQt4.QtCore.Qt.Window)