Reply
Thread Tools
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#11
my N900 is on its way to me, will try this as soon as I get it
 

The Following User Says Thank You to Sin For This Useful Post:
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#12
I am working on a GUI version. I set up Qt Designer and Eric4, and got the Ui ready. Now working on doing the appropriate connections.
Can anybody answer me if it is possible to directly call my previous script from the GUI script, passing user-inputs from text boxes as arguments and showing script output in a label field?
 

The Following 2 Users Say Thank You to ejasmudar For This Useful Post:
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#13
No news for GUi yet?
 

The Following User Says Thank You to Sin For This Useful Post:
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#14
btw, I couldn't make it run. It says no buses
 
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#15
"no buses" means the program ran but couldnt find a good result. Check out the data file to see the timings of the buses. If you're running the app at a time BEFORE the time of the bus/ferry, it will show the next bus.

ie, If there are the following in the data file,

New York Chicago 1000
New York Chicago 1500

and you run the script at 1600, the result will be no buses
But if u run itat 1100, the result should be shown correctly.

GUI work was stopped temporarily. I am still figuring out how to make the GUI elements do something, instead of sitting there all pretty.
 

The Following 2 Users Say Thank You to ejasmudar For This Useful Post:
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#16
See the attached UI elements screenshot. Features wise, I am thinking of adding
  1. a "select Data File" button, which will include details like ferry/bus/airplane/train/etc
  2. a "time chooser" , So that we can see buses/ferry available in other timings also.

As i said, Its still not working. Haven't figured out actual UI programming.
Attached Images
 
 

The Following 2 Users Say Thank You to ejasmudar For This Useful Post:
Posts: 73 | Thanked: 8 times | Joined on Sep 2010 @ Izmir - TURKEY
#17
Originally Posted by ejasmudar View Post
"no buses" means the program ran but couldnt find a good result. Check out the data file to see the timings of the buses. If you're running the app at a time BEFORE the time of the bus/ferry, it will show the next bus.

ie, If there are the following in the data file,

New York Chicago 1000
New York Chicago 1500

and you run the script at 1600, the result will be no buses
But if u run itat 1100, the result should be shown correctly.

GUI work was stopped temporarily. I am still figuring out how to make the GUI elements do something, instead of sitting there all pretty.
As you described it works

Keep up the good work
 
Reply

Thread Tools

 
Forum Jump


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