基本信息
源码名称:Developing MeeGo apps with Python and QML.pdf
源码大小:0.82M
文件格式:.pdf
开发语言:Python
更新时间:2020-03-18
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍


Table of Contents
Introduction.....................................................................................................3
Why should I use Python to develop MeeGo apps?......................................3
Links.............................................................................................................3
Setting up the environment.............................................................................3
Getting the build scripts...............................................................................4
Building PySide and installing into $HOME...................................................4
Setting up environment variables................................................................5
Testing the installations...............................................................................5
Basic QML tutorial examples............................................................................6
Hello World...................................................................................................6
The Python source (HelloMeeGo.py).........................................................6
The QML UI file (HelloMeeGo.qml)............................................................8
Displaying HTML content in a QML WebView...............................................9
The Python source code (WebKitView.py).................................................9
The QML content (WebKitView.qml).......................................................11
The HTML page (WebKitView.html).........................................................11
Writing a new QML UI for existing apps for MeeGo........................................13
A QML UI for gPodder.................................................................................13
The glue layer in Python (gpodder-qml.py)............................................14
The QML main UI file (gpodder-qml.qml)................................................18
The QML file for displaying a list of podcasts (PodcastList.qml).............21
The QML file for displaying a list of episodes (EpisodeList.qml).............24
Packaging a Python application for MeeGo....................................................25
Installing the required dependencies.........................................................25
Creating the required metadata files.........................................................25
The desktop entry: gpodder-qml.desktop...............................................25
The icon for the app menu: gpodder-qml.png........................................25
The Spectacle YAML file: gpodder-qml.yaml...........................................26
The Python distutils file: setup.py..........................................................26
Changes in the gpodder-qml.py script.......................................................26
Creating the RPM sources..........................................................................27
Building the RPM package from source......................................................27
Installing and testing the RPM package.....................................................27