pdf generation is working, needs debuged qt-webkit for right doc size

This commit is contained in:
Bachir Soussi Chiadmi
2017-05-31 18:40:59 +02:00
parent 4db47a9259
commit 201bed35b8
4 changed files with 63 additions and 25 deletions
+10 -1
View File
@@ -40,6 +40,10 @@ class Core():
self.initDeamons()
else:
self.initDeamons()
head, tail = os.path.split(self.cwd)
print('tail', tail)
self.projectname = tail
def initDeamons(self):
@@ -114,10 +118,15 @@ class Core():
def changeCWD(self, cwd):
if not cwd == self.cwd:
self.cwd = cwd
self._mw.setWindowTitle("Cascade "+self.cwd)
self.server.reload()
self.sasscompiler.reload()
self.contentcompiler.reload()
if not self.tempcwd:
self._mw.setWindowTitle("Cascade "+self.cwd)
head, tail = os.path.split(self.cwd)
print('tail', projectname)
self.projectname = tail
self._mw.designstack.refresh()
self._mw.contentstack.refresh()