You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytde/examples/uimodules/uixml.py

46 lines
1.2 KiB

import os
from PyTQt.qt import TQLabel
from tdecore import TDEApplication
class PageLaunch:
def __init__ (self, parent):
self.page = parent.addPage ()
x = 10
y = 10
launchLbl = TQLabel ("Launching application ... please wait\n\nClose launched application to continue", self.page)
launchLbl.setGeometry (x, y, 300, 80)
launchLbl.show ()
self.page.show ()
TDEApplication.kApplication ().processEvents ()
def xmlTDEActionCollection (parent):
parent.currentPageObj = PageLaunch (parent)
os.system ("python xmlmenudemo.py")
def xmlKEditToolbar (parent):
parent.currentPageObj = PageLaunch (parent)
os.system ("python xmlmenudemo.py")
def xmlKEditToolbarWidget (parent):
parent.currentPageObj = PageLaunch (parent)
os.system ("python xmlmenudemo.py")
def xmlKXMLGUIBuilder (parent):
parent.currentPageObj = PageLaunch (parent)
os.system ("python xmlmenudemo.py")
def xmlKXMLGUIClient (parent):
parent.currentPageObj = PageLaunch (parent)
os.system ("python xmlmenudemo.py")
def xmlKXMLGUIFactory (parent):
parent.currentPageObj = PageLaunch (parent)
os.system ("python xmlmenudemo.py")