projects
/
biaweb_qt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completed the template editing functionality
[biaweb_qt.git]
/
article_dialog.py
diff --git
a/article_dialog.py
b/article_dialog.py
index
740692c
..
6b51e70
100644
(file)
--- a/
article_dialog.py
+++ b/
article_dialog.py
@@
-9,6
+9,8
@@
class ArticleDialog (PyQt4.QtGui.QDialog, ui_article_dialog.Ui_ArticleDialog):
def __init__ (self, parent):
PyQt4.QtGui.QDialog.__init__ (self, parent)
self.setupUi (self)
def __init__ (self, parent):
PyQt4.QtGui.QDialog.__init__ (self, parent)
self.setupUi (self)
+ # set window to be able to be maximized or minimized
+ self.setWindowFlags (PyQt4.QtCore.Qt.Window)
# set the code highlighter to the document
self.hltext = highlighter.SimpleHtmlHighlighter (self.content.document ())
# set the code highlighter to the document
self.hltext = highlighter.SimpleHtmlHighlighter (self.content.document ())