diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-14 19:47:20 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-14 19:47:20 +0000 |
commit | 875ae8e38bc3663e5057ca910e7ebe4b2994edb9 (patch) | |
tree | ddd3b3bc4d6f0343bae986aebbf9555c20f8e558 /python/pykde/examples/uimodules/uimenus.py | |
parent | cb61a0436524f8ceba31db51ce3f1c5d4afbbb0e (diff) | |
download | tdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.tar.gz tdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.zip |
Updated python directory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1175349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pykde/examples/uimodules/uimenus.py')
-rw-r--r-- | python/pykde/examples/uimodules/uimenus.py | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/python/pykde/examples/uimodules/uimenus.py b/python/pykde/examples/uimodules/uimenus.py deleted file mode 100644 index 19173b3c..00000000 --- a/python/pykde/examples/uimodules/uimenus.py +++ /dev/null @@ -1,108 +0,0 @@ -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 () - - -class PageNotImpl: - def __init__ (self, parent): - self.page = parent.addPage () - - x = 10 - y = 10 - - niLbl = QLabel ("Nothing is currently implemented for this widget", self.page) - niLbl.setGeometry (x, y, 300, 20) - niLbl.show () - - -def menuKAccelGen (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKAccelMenu (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKAction (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKActionMenu (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKActionSeparator (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKContextMenuManager (parent): - pass - -def menuKDCOPActionProxy (parent): - pass - -def menuKHelpMenu (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKMenuBar (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKPanelApplet (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKPanelExtension (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKPanelMenu (parent): - parent.currentPageObj = PageNotImpl (parent) - -def menuKPopupFrame (parent): - pass - -def menuKPopupMenu (parent): - pass - -def menuKPopupTitle (parent): - pass - -def menuKStatusBar (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKStatusBarLabel (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKStdAction (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKToolBar (parent): - parent.currentPageObj = PageLaunch (parent) - os.system ("python menudemo.py") - -def menuKWindowListMenu (parent): - pass - - -if __name__ == "__main__": - print - print "Please run uisampler.py" - print
\ No newline at end of file |