diff options
| author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
|---|---|---|
| committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
| commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
| tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /python/pykde/examples/uimodules/uixml.py | |
| download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip | |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pykde/examples/uimodules/uixml.py')
| -rw-r--r-- | python/pykde/examples/uimodules/uixml.py | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/python/pykde/examples/uimodules/uixml.py b/python/pykde/examples/uimodules/uixml.py new file mode 100644 index 00000000..baa6c866 --- /dev/null +++ b/python/pykde/examples/uimodules/uixml.py @@ -0,0 +1,45 @@ +import os + +from qt import QLabel + +from kdecore import KApplication + +class PageLaunch: + def __init__ (self, parent): + self.page = parent.addPage () + + x = 10 + y = 10 + + launchLbl = QLabel ("Launching application ... please wait\n\nClose launched application to continue", self.page) + launchLbl.setGeometry (x, y, 300, 80) + launchLbl.show () + + self.page.show () + + KApplication.kApplication ().processEvents () + +def xmlKActionCollection (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") + |
