Restored the gear SVG decoration for some dialogs until they're redesigned
This commit is contained in:
@@ -59,9 +59,10 @@ class GuiConfigEditor(QDialog):
|
|||||||
|
|
||||||
self.setWindowTitle("Preferences")
|
self.setWindowTitle("Preferences")
|
||||||
self.guiDeco = self.theParent.theTheme.loadDecoration("settings", (64,64))
|
self.guiDeco = self.theParent.theTheme.loadDecoration("settings", (64,64))
|
||||||
|
self.outerBox.setSpacing(16)
|
||||||
|
|
||||||
self.outerBox.addWidget(self.guiDeco, 0, Qt.AlignTop)
|
self.outerBox.addWidget(self.guiDeco, 0, Qt.AlignTop)
|
||||||
self.outerBox.addLayout(self.innerBox)
|
self.outerBox.addLayout(self.innerBox)
|
||||||
self.outerBox.setSpacing(16)
|
|
||||||
self.setLayout(self.outerBox)
|
self.setLayout(self.outerBox)
|
||||||
|
|
||||||
self.tabGeneral = GuiConfigEditGeneralTab(self.theParent)
|
self.tabGeneral = GuiConfigEditGeneralTab(self.theParent)
|
||||||
|
|||||||
@@ -54,15 +54,11 @@ class GuiItemEditor(QDialog):
|
|||||||
self.innerBox = QVBoxLayout()
|
self.innerBox = QVBoxLayout()
|
||||||
|
|
||||||
self.setWindowTitle("Item Settings")
|
self.setWindowTitle("Item Settings")
|
||||||
self.guiDeco = QLabel()
|
self.guiDeco = self.theParent.theTheme.loadDecoration("settings", (64,64))
|
||||||
self.guiDeco.setPixmap(
|
self.outerBox.setSpacing(16)
|
||||||
self.theParent.theTheme.getPixmap(
|
|
||||||
nwLabels.CLASS_ICON[self.theItem.itemClass], (64,64)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
self.outerBox.addWidget(self.guiDeco, 0, Qt.AlignTop)
|
self.outerBox.addWidget(self.guiDeco, 0, Qt.AlignTop)
|
||||||
self.outerBox.addLayout(self.innerBox)
|
self.outerBox.addLayout(self.innerBox)
|
||||||
self.outerBox.setSpacing(16)
|
|
||||||
self.setLayout(self.outerBox)
|
self.setLayout(self.outerBox)
|
||||||
|
|
||||||
self.mainGroup = QGroupBox("Item Settings")
|
self.mainGroup = QGroupBox("Item Settings")
|
||||||
|
|||||||
@@ -56,13 +56,11 @@ class GuiProjectEditor(QDialog):
|
|||||||
self.innerBox = QVBoxLayout()
|
self.innerBox = QVBoxLayout()
|
||||||
|
|
||||||
self.setWindowTitle("Project Settings")
|
self.setWindowTitle("Project Settings")
|
||||||
self.guiDeco = QLabel()
|
self.guiDeco = self.theParent.theTheme.loadDecoration("settings", (64,64))
|
||||||
self.guiDeco.setPixmap(
|
self.outerBox.setSpacing(16)
|
||||||
self.theParent.theTheme.getPixmap("cls_novel", (64,64))
|
|
||||||
)
|
|
||||||
self.outerBox.addWidget(self.guiDeco, 0, Qt.AlignTop)
|
self.outerBox.addWidget(self.guiDeco, 0, Qt.AlignTop)
|
||||||
self.outerBox.addLayout(self.innerBox)
|
self.outerBox.addLayout(self.innerBox)
|
||||||
self.outerBox.setSpacing(16)
|
|
||||||
self.setLayout(self.outerBox)
|
self.setLayout(self.outerBox)
|
||||||
|
|
||||||
self.theProject.countStatus()
|
self.theProject.countStatus()
|
||||||
|
|||||||
Reference in New Issue
Block a user