i would like to write a timesheet programme with qtRuby. Now I have a
lot of problems to do that. At the beginning it sounds very easy to
programme
a timesheet but it’s not like it seems…
So:
I uploaded a picture from the GUI I have created. The Software is still
working very fine, but i dont implemented a CalenderWidget, yet.
That is my problem at the moment. For every day i need a new
TableWidget, where the Projects with the working hours for each Projects
are.
And if i navigate to the day before to look in which Projects i worked i
need the created working hours at that day.
I hope you get my problem with my bad english.
My idea is that I can create an Array.
date = Array.new
every day i can write in date to create a new tablewidget object.
date[0] = TableWidget.new and next day
date[1] = TableWidget.new.
But i dont like this version of solution. It is verry terrible and after
one year I have an Array with 365+1 elements :D, haha.
i would like to write a timesheet programme with qtRuby.
Would be awesome if you could share the code, I am really interested in
building desktop applications using Ruby, but never found good resources
to
help me.
My idea is that I can create an Array.
Why an array, why can’t u store it into the DB and load from there?
Would be awesome if you could share the code, I am really interested in
building desktop applications using Ruby, but never found good resources
to
help me.
Write a pm message with your mail adress.
Why an array, why can’t u store it into the DB and load from there?
Do you know how I can create a internal DB with Ruby…
Have I understood correctly? I have only one TableWidget. And if I
change the date i look in my DB if any entries exists? If exists then
load in tablewidget and if not display a empty tablewidget?
I wrote a basic timesheet program using a Rails server on the local
network, and a host named “timesheet”. It uses a SQLite database backend
via Active Record. Even following a basic Rails tutorial gets you most
of the way there.
Would be awesome if you could share the code, I am really interested in
building desktop applications using Ruby, but never found good resources
to
help me.
Write a pm message with your mail adress.
I have just send you my mail id.
Why an array, why can’t u store it into the DB and load from there?
Do you know how I can create a internal DB with Ruby…
Sequel is a light weight ruby library which can be used t communicate
with
databases. The exams provided in the website are straight forward and
simple.
Have I understood correctly? I have only one TableWidget. And if I
change the date i look in my DB if any entries exists? If exists then
load in tablewidget and if not display a empty tablewidget?
I have just send you my mail id.
I send you the code…
Sequel is a light weight ruby library which can be used t communicate
with
databases. The exams provided in the website are straight forward and
simple.