[ANNOUNCE] Quick Widgets 0.3.2 - quickly deploy qt quick as widgets
2 Attachment(s)
Hi all,
I had a stab at my first application - called quick-widgets. It allows to run Qt Quick applications (qml files) as desktop (hildon-home) widgets. The code is heavily based on venemo's q-extras and sticky notes. So A BIG THANKS for doing all the hard work. There are plenty of qml examples out there you can use., e.g. http://doc.qt.nokia.com/qt-maemo-4.7...eexamples.html Features
Usage
To Do
I am looking forward to people posting their useful widgets. Examples I have attached the source for building the qml Process plugin. I am using this on my Desktop for creating widgets under Qt SDK 1.1. See README for very basic instructions. |
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Sorry - I know this goes back a couple of steps on your post, but how do I go from http://doc.qt.nokia.com/qt-maemo-4.7...otoviewer.html looking longingly at this qml demo of a photo viewer app to getting it on my phone as a demo?
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
FYI the link has an extra "http" in it
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Quote:
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Quote:
This might be worth packaging up son one can easily create their own application wrappers as well. |
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
great stuff. Any particular reason this isn't in devel?
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Yep - I didn't have time to set it up yet. Small children can be a pain and the wife wants some attention too ;)
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Quote:
I will post an example of a widget which shows a webpage and updates it periodically soon. |
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Quote:
PS you could have uploaded to extras in the time it took to post that reply... ;) dpkg-buildpackage -sn -S -rfakeroot https://garage.maemo.org/extras-assi...dex.php?step=2 |
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Thanks! Done now. Digging through the docs and applying for upload permissions takes some time though. It isn't really the most transparent process. Hence me creating a package to make things easier from qml widgets
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Quote:
EDIT: Seems to work just fine. EDIT2: Tested with my magical spinning Deathspell Omega logo, and it worked very well. Awesome stuff! Prepare for lots of useless stuff! |
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Here we go. a webpage view as a widget...
save it to home or MyDocs rename to webpage.qml load it into quick-widgets You can edit the url field and make as many copies and instances as you want. I will also add a reload timer if wanted. |
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
nice nice nice, look at that, a web browser widget, bloody awesome mate .
just one question is it hard to get that .qml file ? |
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Quote:
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
1 Attachment(s)
ok here is an improved version:
You can set the update/reload interval at the top of the script You can scroll by tapping on the right hand side of the widget - top half scroll up/ bottom half scroll down. Off to bed - wife is complaining :p |
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
lmao, all of us have problems with our n900 and our girlfriend/wife, they just don't agree .
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
and scrolling isn't working .
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Are you sure you replaced the old one. You need to remove the widget and load the file again...
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
wait wait, the problem was that i was using it with touch.facebook.com before signing in, for some reason it didn't work, but now after signning in the scrolling is working perfectly, man you app might be the solution to all the problems we had with widgets, i mean we might end up getting a facebook status update widget, or a widget that displays a contatc's last twitter/fb update (still trying to figure out this one, no website that shows the last status update of a contact :( maybe i got to find my way arround here )
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Don't have my N900 out so can't try this out now but would someone be a hero and explain to me what a web widget does? It shows a web page with you being able to set size as well as how often it refreshes?
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
yes thats pretty much it, you can scroll up/down and browser normally like you do from a browser, and u can use the keyboard for input, its a web browser widget .
|
Re: [ANNOUNCE] Quick Widgets 0.2.0 - quickly deploy qt quick as widgets
quick-widgets-0.2.0 has been uploaded. The new features are:
This basically means any system command output can be accessed. So this is in alternative to the Desktop Command execution widget and/or beecons. |
Re: [ANNOUNCE] Quick Widgets 0.2.0 - quickly deploy qt quick as widgets
quick-widgets-0.2.1 has a fix to the installer.
|
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
1 Attachment(s)
here is the first useful example
It displays memory info. Note that it updates very rapidly. You can change it to your liking. * download attachment * unzip it * start quick-widgets and load meminfo.qml from the labelexample folder. |
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
Great work, congratulations to the author. I see a lot of potential here.
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Quote:
|
Re: [ANNOUNCE] Quick Widgets - quickly deploy qt quick as widgets
Quote:
Code:
apt-cache policy qt4-declarative-qmlviewer in a terminal type: Code:
sudo gainroot |
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
Quote:
If anybody can think of a widget I can have a go at it. The main constraint is that it should be limited to tap actions as the home screen scrolling is taking over dragging or flicking. The main highlights of qml are ease of use and animation eye candy. I will have a look at passing on orientation events to qml so the widgets could be working in portrait mode. |
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
2 Attachment(s)
Here is a better version of the web browser widget:
To scroll you have to tap on the right hand side of the widget. Upper half scrolls up , lower half down. Note that this prevents from clicking any links in that area (30 pixels) It defaults to a facebook touch view. Either cut-n-paste this code into a file named 'webwidget.qml' or save the attached file (note it has to be renamed or saved as webwidget.qml as this site doesn't allow qml extensions). Then load into quick widget. Code:
import Qt 4.7 |
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
GreatGonzo, is there any way to auto sign in with touch.facebook.com? Every time I restart my device the widget requires me to sign in again. The scrolling sometimes messes up too, going too far up or down and leaving a blank area in the widget. I've reduced the amount the widget scrolls to fine-tune the amount of empty space, but doesn't solve the underlying problem.
|
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
@yosarian : why don't you add bookmark (touch.facebook.com), i think that what Quick Widgets do if im right
|
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
Quote:
|
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
To suspend javascript when the widget is not visible use:
Code:
settings.javascriptEnabled: runtime.isActiveWindow Code:
WebView { |
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
Quote:
|
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
Quote:
|
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
so, i can have this in my desktop ? http://doc.qt.nokia.com/qt-maemo-4.7...ive-snake.html
|
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
Congrats to GreatGonzo, this app is very witty
|
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
Quote:
EDIT: unless facebook sign in supports the web address tyoe sign in.... e.g. username:password@webaddress.com in the url field, then you would just need to edit the url in the script to have your username and password. again, just guessing, test for yourself! |
Re: [ANNOUNCE] Quick Widgets 0.2.1 - quickly deploy qt quick as widgets
Quote:
another option is to build the POST request properly but I am not sure how easy that is to do in the qml webview. Be advised that both options are a bit on the gray area with regards to the facebook "no screen scrapping" policy... |
All times are GMT. The time now is 17:46. |
vBulletin® Version 3.8.8