Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
idTech Layout Register Plugin
import lx
import lxifc
import PySide
from PySide import QtGui
import doom.main
class idTechExporter(lxifc.CustomView):
def customview_Init(self, pane):
if pane == None:
return False
custPane = lx.object.CustomPane(pane)
if custPane.test() == False:
return False
# get the parent object
parent = custPane.GetParent()
# convert to PySide QWidget
parentWidget = lx.getQWidget(parent)
# Check that it succeeds
if parentWidget != None:
layout = PySide.QtGui.QVBoxLayout()
self.form = doom.main.idTech()
return True
return False
lx.bless(idTechExporter, "idTech Exporter")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.