| Reply | « Previous Thread | Next Thread » |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
How can I make settings screens in python?
Just like this: http://www.bilder-hochladen.net/files/4xyg-3t.jpg Thanks!!! |
|
Quote:
You can have them stored in a text file for reference and using them you can take a note of these customised settings. Kandyfloss V 7.0642.0 18-10-06 RH-51 Nokia 7610 |
| kandyfloss |
| View Public Profile |
| Find all posts by kandyfloss |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
|
Quote:
Can you give me a example of how can I use this? Thanks for the reply!!! |
|
Hello Rafael
![]() I'm sorry but this is a symbian class not implemented in PyS60 ![]() You need to program yourself an extension in C++ ... Volume setting and cache widget will be great use for everybody ... BR Cyke64 pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
|
Quote:
Otherwise if you just want the seetings, you could have an options menu created with sub menus for the different settings. Quote:
Kandyfloss V 7.0642.0 18-10-06 RH-51 Nokia 7610
Last edited by kandyfloss : 2008-04-05 at 21:45.
Reason: added
|
| kandyfloss |
| View Public Profile |
| Find all posts by kandyfloss |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
Thanks for the replies!
so, I'm trying to use the form. Some questions about it: 1- My application body is a text (tx), how can I make the form only appear when I select settings on the menu? and when the right soft key is pressed on the form screen, it would return to the main screen. It's that possible? 2- How to define a function of a option in the form? Ex: Code:
def forming(): ls = [u'Eight', u'Nine', u'Ten'] data = [(u'Aaa','combo', (ls,0))] How to define a function for Eight, Nine and Ten? 3- In axyz module, when I use axyz.connect(read), it's possible to use more than one argument? Ex: Code:
axyz.connect(read,read2,read3) Thanks! ![]() |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
Forget the axyz thing.
What I really want to know is how can I update a value when certain option is selected in the form e.g.: Code:
def forming(): ls = [u'Eight', u'Nine', u'Ten'] data = [(u'Aaa','combo', (ls,0))] flags = appuifw.FFormDoubleSpaced f = appuifw.Form(data, flags) f.execute() #How can I update a value if Eight, Nine or Ten is selected? #e.g.: i = (20,40) #When Nine is selected the value would be updated: i = (60,80) |
|
Quote:
say i = (20,40) in beginning have a flag, Quote:
Quote:
Code:
if (flag==1):
i = (60,80)
else: #else is optional here, as i is initialized at the start
i = (20,40)
Hopefully helps, Kandyfloss V 7.0642.0 18-10-06 RH-51 Nokia 7610 |
| kandyfloss |
| View Public Profile |
| Find all posts by kandyfloss |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
|
Quote:
Code:
i = (80,90)
def forming():
ls = [u'Eight', u'Nine', u'Ten']
data = [(u'Aaa','combo', (ls,0))]
flags = appuifw.FFormDoubleSpaced
f = appuifw.Form(data, flags)
f.execute()
if (ls==1):
i = (100,110)
Thanks!!! |
|
Quote:
Code:
L = [u'Eight', u'Nine', u'Ten'u'Exit']
index = appuifw.selection_list(choices=L , search_field=1)
if index == 0:
i = (60,80)
if index == 1:
i = (20,40)
if index == 2:
i = (100,120)
if index == 3:
i = (50,90)
Hopefully helps. Kandyfloss V 7.0642.0 18-10-06 RH-51 Nokia 7610 |
| kandyfloss |
| View Public Profile |
| Find all posts by kandyfloss |
|
Please tell how it doesn't work... What did you expect and what did you get.
Is the problem getting the user selection? Did you implement "save_hook" or try using "the subscript notation f[i]" to check the values? Wondering, --jouni |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
|
Quote:
No, I didn't try this options... I'm new to Python ... can you give me a example of how I should use this? Unfortunately, in my case I really have to use the form, the listbox wouldn't be good. But anyway, thanks for all the replies. Hope JOM can give me an example of the use of save_hook and the subscription notation!!! BR Rafael. |
|
Sorry, never used myself
But since I was interested in the question and the other replies were pointing close enough to right direction, I did some basic RTFM. Nothing special...Here's code sample from book: "Mobile Python" by Jürgen Scheible and Ville Tuulos. Recommended, contains an amazing amount of info for such a thin book (300+ pages)! I have bought too many 600+ page book with only tenth of content. http://www.mobilenin.com/mobilepytho...0-eventfu.html Enjoy, --jouni |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| SIP VoIP Settings Tool | petrosoi | VoIP | 19 | 2009-01-18 06:23 |
| New SIP settings without using settings -> sip settings | miikkis | Symbian Networking & Messaging | 20 | 2008-11-20 14:46 |
| how to change Screen from Form to FullCanvas | ihadreampp | Mobile Java General | 3 | 2003-08-15 09:50 |
| How to send complete email settings? | kick121 | Smart Messaging | 2 | 2003-02-26 06:48 |
| Problem sending GPRS settings | maronk | Smart Messaging | 1 | 2002-09-24 07:28 |