maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [maemo5] Qlister - Simple shopping list application (https://talk.maemo.org/showthread.php?t=52113)

mece 2010-05-07 12:47

[maemo5] Qlister - Simple shopping list application
 
Qlister 0.2-7 now supports russian, arabic, hebrew and other languages that didn't work before.

I made a simple shopping list app that you can use in portrait mode, mostly because I wanted one and because I wanted to test some Qt stuff. Either way it's up for grabs.

It is currently available in extras-devel So it is experimental software, and should be treated as such. It is currently in a "Works for me" kind of state.

It's written in python using pysidePyQt. It's mostly written on device using pygtkeditor and packaged with pypackager. So thanks for those Khertan.

The app itself is very simple. It's a list that you can edit and then view in portraít, and tick objects once you've put them in your cart when you're shopping. I'm not planning on implementing a great amount of features, but I'm always open to suggestions.

Known issues:
- Some ugly black areas when overscrolling the edit window
- Right to left languages are left aligned in the list

Here are a couple of screenshots:
http://media.share.ovi.com/m1/s/2024...0033a45ea3.jpg http://media.share.ovi.com/m1/s/2024...b0284ff387.jpg

mece 2010-06-05 07:31

Re: [maemo5] Qlister - Simple shopping list application
 
Version 0.2-3 fixed and is now in extras-testing. bugtracker is at http://bugs.maemo.org/buglist.cgi?product=qlister

EDIT: New version uses PyQt due to some issues with PySide.

LRM 2010-06-05 07:46

Re: [maemo5] Qlister - Simple shopping list application
 
thnx man :) iam really like it iwill download it now and test it and back with feed back :cool:

pthomas22 2010-06-05 08:31

Re: [maemo5] Qlister - Simple shopping list application
 
This is a simple but useful application and is the kind of thing that the N900 needs!

kinggo 2010-06-05 08:37

Re: [maemo5] Qlister - Simple shopping list application
 
Haven't try the new version yet.
But I have some ideas for this.
Is it possible to have some database? If we once enter item in our list that we don't have to enter that again but just select it from that database. And to make DB editable so we could edit wrong spelled items or remove some of them if we want to.
Second is to have quantity fields in the list.

cjp 2010-06-05 08:52

Re: [maemo5] Qlister - Simple shopping list application
 
Okay well the next obvious function/feature is being able to pay for your groceries with this app.

When's this coming, cap'n?

P.S. Thread tags still include "pyside".

ukki 2010-06-05 09:12

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by mece (Post 700713)
Version 0.2-3 fixed and is now in extras-testing. bugtracker is at http://bugs.maemo.org/buglist.cgi?product=qlister

EDIT: New version uses PyQt due to some issues with PySide.

Can I make a feature request? Add a dialog that allows you to choose your spouse from contacts. Then a button that would read your sms database and create a shopping list from the latest message(s) from that contact if the messages have enough commas for example. My wife often sends shopping lists via sms and I often miss an item or two.

mece 2010-06-05 16:44

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by ukki (Post 700794)
Can I make a feature request? Add a dialog that allows you to choose your spouse from contacts. Then a button that would read your sms database and create a shopping list from the latest message(s) from that contact if the messages have enough commas for example. My wife often sends shopping lists via sms and I often miss an item or two.

heh actually my wife does that too. I simply copy paste the sms to the app and add some line feeds.

mece 2010-06-05 16:49

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by kinggo (Post 700768)
Haven't try the new version yet.
But I have some ideas for this.
Is it possible to have some database? If we once enter item in our list that we don't have to enter that again but just select it from that database. And to make DB editable so we could edit wrong spelled items or remove some of them if we want to.
Second is to have quantity fields in the list.

that's a pretty good idea, I'll think about it. I'm a little strapped for time, and probly wont be doing that much during my vacation, so it might be a while before I'll implement.

mece 2010-06-05 17:47

Re: [maemo5] Qlister - Simple shopping list application
 
I forgot to mention, you can vote for qlister to go to extras here:
http://maemo.org/packages/package_in...qlister/0.2-3/

cjp I'm sorry but I don't really see this app used for paying for groceries. However I do believe that mobile payment is going to hit it big in the near future, so who knows ;)

Grant 2010-06-05 18:03

Re: [maemo5] Qlister - Simple shopping list application
 
Nice little app, I'll be using it for my grocery run today. What do you think about adding a little more contrast to the list colors, instead of the light gray on beige? If you wanted to go all out, maybe even provide custom color settings, but that may take away from the simplicity. Thanks!

deegore 2010-06-05 18:10

Re: [maemo5] Qlister - Simple shopping list application
 
50lbs of beef, now thats metal
nice app

mece 2010-06-05 18:19

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by Grant (Post 701355)
Nice little app, I'll be using it for my grocery run today. What do you think about adding a little more contrast to the list colors, instead of the light gray on beige? If you wanted to go all out, maybe even provide custom color settings, but that may take away from the simplicity. Thanks!

Yeah, I guess it could use a bit more contrast. I'll look over the colors on the next version. I guess simply making the text black would improve it.


Quote:

Originally Posted by deegore (Post 701368)
50lbs of beef, now thats metal
nice app

\,,/

cardiff-blues 2010-06-05 18:31

Re: [maemo5] Qlister - Simple shopping list application
 
am I missing something? I can't seem to add more than one item to a list. I only have the option to edit a note and not create another.

mece 2010-06-05 18:48

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by cardiff-blues (Post 701401)
am I missing something? I can't seem to add more than one item to a list. I only have the option to edit a note and not create another.

Each row in the text is one item, so just type something, press return and write something else. And yes there is only the one list :) keeping it simple...

jedi 2010-06-05 18:54

Re: [maemo5] Qlister - Simple shopping list application
 
like it. +1 vote for adding a "remote wife update" feature :)

cardiff-blues 2010-06-05 19:06

Re: [maemo5] Qlister - Simple shopping list application
 
ok thanks, once I understood that you just enter items on a different line I got it.

I love the simplicity of this app. It's not over engineered to the point of being unweildy and bothersome to use in a real life situation where you need to quickly add items and administer a list. Fab app.

Already promoted to my desktop :)

leviathan18 2010-06-05 19:24

Re: [maemo5] Qlister - Simple shopping list application
 
love it

i would love a data base so i dont have to enter them again and again

also a font color change or background

mece 2010-06-05 19:29

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by jedi (Post 701426)
like it. +1 vote for adding a "remote wife update" feature :)

hmm how about a remote-wife-update-light, where you cut 'n' paste the sms and it automagically makes the list. like replace commas with newline or something? I really don't want to bother with conversations api.

ukki 2010-06-06 14:09

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by mece (Post 701468)
hmm how about a remote-wife-update-light, where you cut 'n' paste the sms and it automagically makes the list. like replace commas with newline or something? I really don't want to bother with conversations api.

You can basically get it with sqlite with a simple sql query:

/home/user/.rtcom-eventlogger/el-v1.db

Code:

SELECT free_text FROM Events WHERE service_id = 3 AND remote_uid="WIFESPHONENUMBER" AND outgoing=0 ORDER BY id DESC LIMIT 1
Maybe add some logic to concat split messages.

lubabula 2010-06-06 16:39

Re: [maemo5] Qlister - Simple shopping list application
 
Hmm, for some odd reason this app doesent work for me. when i click on icon it loads but then returns to desktop. Ive rebooted n900 couple times but nothing happens.

El Amir 2010-06-06 16:42

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by lubabula (Post 702428)
Hmm, for some odd reason this app doesent work for me. when i click on icon it loads but then returns to desktop. Ive rebooted n900 couple times but nothing happens.

Exact same problem here :(

mece 2010-06-06 17:02

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by lubabula (Post 702428)
Hmm, for some odd reason this app doesent work for me. when i click on icon it loads but then returns to desktop. Ive rebooted n900 couple times but nothing happens.

could you run /usr/bin/qlister.sh from xterm and paste the output here?

lubabula 2010-06-06 17:07

Re: [maemo5] Qlister - Simple shopping list application
 
Nokia-N900-02-8:~# /usr/bin/qlister.sh
Unsupported date format character at 1 (%-d.%-m.)
Traceback (most recent call last):
File "qlister.py", line 151, in <module>
w = MyMainWindow()
File "qlister.py", line 23, in __init__
self.setAttribute(Qt.WA_Maemo5StackedWindow)
AttributeError: type object 'Qt' has no attribute 'WA_Maemo5StackedWindow'
Nokia-N900-02-8:~#

mece 2010-06-06 17:21

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by lubabula (Post 702457)
Nokia-N900-02-8:~# /usr/bin/qlister.sh
Unsupported date format character at 1 (%-d.%-m.)
Traceback (most recent call last):
File "qlister.py", line 151, in <module>
w = MyMainWindow()
File "qlister.py", line 23, in __init__
self.setAttribute(Qt.WA_Maemo5StackedWindow)
AttributeError: type object 'Qt' has no attribute 'WA_Maemo5StackedWindow'
Nokia-N900-02-8:~#

thanks, could you run it as user and not root, just to see if it's different.

lubabula 2010-06-06 17:29

Re: [maemo5] Qlister - Simple shopping list application
 
sure. here:

~ $ /usr/bin/qlister.sh
Unsupported date format character at 1 (%-d.%-m.)
Traceback (most recent call last):
File "qlister.py", line 151, in <module>
w = MyMainWindow()
File "qlister.py", line 23, in __init__
self.setAttribute(Qt.WA_Maemo5StackedWindow)
AttributeError: type object 'Qt' has no attribute 'WA_Maemo5StackedWindow'
~ $

El Amir 2010-06-06 17:33

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by mece (Post 702454)
could you run /usr/bin/qlister.sh from xterm and paste the output here?

Sure, here you go:

~ $ /usr/bin/qlister.sh
Traceback (most recent call last):
File "qlister.py", line 151, in <module>
w = MyMainWindow()
File "qlister.py", line 23, in __init__
self.setAttribute(Qt.WA_Maemo5StackedWindow)
AttributeError: type object 'Qt' has no attribute 'WA_Maemo5StackedWindow'
~ $

generationally 2010-06-06 18:18

Re: [maemo5] Qlister - Simple shopping list application
 
The app starts fine for me but pressing the Edit button doesn't do anything. Terminal output when pressing the Edit button is:

$ qlister.sh
Traceback (most recent call last):
File "qlister.py", line 41, in editPushed
a = EditWindow(self)
File "qlister.py", line 120, in __init__
scroller = self.editarea.property("kineticScroller").toPyObje ct()
TypeError: unable to convert a C++ 'QAbstractKineticScroller*' instance to a Python object

mece 2010-06-06 18:18

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by El Amir (Post 702494)
Sure, here you go:

~ $ /usr/bin/qlister.sh
Traceback (most recent call last):
File "qlister.py", line 151, in <module>
w = MyMainWindow()
File "qlister.py", line 23, in __init__
self.setAttribute(Qt.WA_Maemo5StackedWindow)
AttributeError: type object 'Qt' has no attribute 'WA_Maemo5StackedWindow'
~ $

thanks a bunch. could you do a
dpkg -l python2.5-qt4-core

and tell me what version you are running. I have 4.7.3-maemo5.

mece 2010-06-06 19:46

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by generationally (Post 702541)
The app starts fine for me but pressing the Edit button doesn't do anything.
...

Could you tell me what version of pyqt you're running?
type
dpkg -l python2.5-qt4-core
in xterm to find out. should start with 4.7

mece 2010-06-06 21:08

Re: [maemo5] Qlister - Simple shopping list application
 
ok I found the problem.

I was unaware that pyqt 4.7.3-maemo5 had yet to reach extras. I managed to vote it in now so it should be there shortly.

either way those of you with the issues, can upgrade pyqt to 4.7.3 by doing the following:
With extras-testing enabled launch xterm and type
Code:

root
apt-get install python2.5-qt4-core python2.5-qt4-gui

Qlister should work after that. no reinstallation needed.

generationally 2010-06-06 21:29

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by mece (Post 702691)

With extras-testing enabled launch xterm and type
Code:

root
apt-get install python2.5-qt4-core python2.5-qt4-gui

Qlister should work after that. no reinstallation needed.

Thanks. That helped ;)

lubabula 2010-06-07 05:57

Re: [maemo5] Qlister - Simple shopping list application
 
excellent. working now and i found this app very usefull.

basse 2010-06-07 07:34

Re: [maemo5] Qlister - Simple shopping list application
 
I would find the possibility to clear already checked items from the list very useful. When the list grows long it would make it easier to use.

mece 2010-06-07 08:17

Re: [maemo5] Qlister - Simple shopping list application
 
Quote:

Originally Posted by basse (Post 703104)
I would find the possibility to clear already checked items from the list very useful. When the list grows long it would make it easier to use.

I tested that but it caused me to forget stuff due to accidental clicks. Could be an option for a future version though. Or doubleclick to hide or whatnot. I'll think about it.

lubabula 2010-06-07 08:58

Re: [maemo5] Qlister - Simple shopping list application
 
Just noticed. Longpressing key to make different character doesent work I mean when you longpress Q it should be 1. Works on sms etc. thanks to PR. 1.2.

mece 2010-06-07 11:54

Re: [maemo5] Qlister - Simple shopping list application
 
For those of you who are into experimental stuff, there's a new version (0.2-4) coming to extras-devel that autorotates by default. To turn off autorotate, simply click the rotate button. There is currently no way to turn autorotate back on, so you have to restart the application to do that.

Let me know if it works.

And feel free to vote for version 0.2-3 in the testing queue:
http://maemo.org/packages/package_in...qlister/0.2-3/

mece 2010-06-07 12:34

Re: [maemo5] Qlister - Simple shopping list application
 
bollocks. An error in the control file made that one useless. Ok uploading 0.2-5 in a bit.

EDIT 0.2-5 is in the queue. Should be in extras-devel within 30 minutes. Is in extras devel, and it works on my device at least.

kinggo 2010-06-07 14:34

Re: [maemo5] Qlister - Simple shopping list application
 
auto-rotate works fine

lbt 2010-06-07 20:47

Re: [maemo5] Qlister - Simple shopping list application
 
You may also want to take a look at this thread

Shopper is available for testing - I'd appreciate help getting it to Stable :)

mece: the C++ code is at http://gitorious.org/lbt/shopper if you're interested.

I played with gestures too; although not the same as Qt Gestures - mine are per-widget.


All times are GMT. The time now is 20:18.

vBulletin® Version 3.8.8