... and the same for outline tree
This commit is contained in:
@@ -89,8 +89,9 @@ class GuiProjectOutline(QTreeWidget):
|
|||||||
self.mainConf = nw.CONFIG
|
self.mainConf = nw.CONFIG
|
||||||
self.theParent = theParent
|
self.theParent = theParent
|
||||||
self.theProject = theProject
|
self.theProject = theProject
|
||||||
self.theIndex = self.theParent.theIndex
|
self.theTheme = theParent.theTheme
|
||||||
self.optState = self.theProject.optState
|
self.theIndex = theParent.theIndex
|
||||||
|
self.optState = theProject.optState
|
||||||
self.headerMenu = GuiOutlineHeaderMenu(self)
|
self.headerMenu = GuiOutlineHeaderMenu(self)
|
||||||
|
|
||||||
self.firstView = True
|
self.firstView = True
|
||||||
@@ -337,6 +338,8 @@ class GuiProjectOutline(QTreeWidget):
|
|||||||
headItem.setTextAlignment(self.colIndex[nwOutline.CCOUNT], Qt.AlignRight)
|
headItem.setTextAlignment(self.colIndex[nwOutline.CCOUNT], Qt.AlignRight)
|
||||||
headItem.setTextAlignment(self.colIndex[nwOutline.WCOUNT], Qt.AlignRight)
|
headItem.setTextAlignment(self.colIndex[nwOutline.WCOUNT], Qt.AlignRight)
|
||||||
headItem.setTextAlignment(self.colIndex[nwOutline.PCOUNT], Qt.AlignRight)
|
headItem.setTextAlignment(self.colIndex[nwOutline.PCOUNT], Qt.AlignRight)
|
||||||
|
for hItem in self.treeOrder:
|
||||||
|
headItem.setFont(self.colIndex[hItem], self.theTheme.guiFont)
|
||||||
|
|
||||||
currTitle = None
|
currTitle = None
|
||||||
currChapter = None
|
currChapter = None
|
||||||
@@ -427,6 +430,9 @@ class GuiProjectOutline(QTreeWidget):
|
|||||||
newItem.setText(self.colIndex[nwOutline.ENTITY], ", ".join(theRefs[nwKeyWords.ENTITY_KEY]))
|
newItem.setText(self.colIndex[nwOutline.ENTITY], ", ".join(theRefs[nwKeyWords.ENTITY_KEY]))
|
||||||
newItem.setText(self.colIndex[nwOutline.CUSTOM], ", ".join(theRefs[nwKeyWords.CUSTOM_KEY]))
|
newItem.setText(self.colIndex[nwOutline.CUSTOM], ", ".join(theRefs[nwKeyWords.CUSTOM_KEY]))
|
||||||
|
|
||||||
|
for i in self.treeOrder:
|
||||||
|
newItem.setFont(self.colIndex[i], self.theTheme.guiFont)
|
||||||
|
|
||||||
return newItem
|
return newItem
|
||||||
|
|
||||||
# END Class GuiProjectOutline
|
# END Class GuiProjectOutline
|
||||||
|
|||||||
Reference in New Issue
Block a user