![]() |
Qt Project: Countdown timer
1 Attachment(s)
Here is a little project of mine which I did for two reasons. I wanted to learn C++/Qt and I needed a countdown timer. Initially I had no intentions to release this app, but now that it's almost ready, I thought someone else mind find it useful too. ;)
Basically it is a simple countdown timer with 1 second precision that can countdown all the way from 60 minutes (60 minutes and 59 seconds to be precise :D). It has 4 customisable buttons for preset times in addition to the normal + and - dials. I still have some issues and I would appreciate any help. :) 1. SOLVED Sound doesn't work. EDIT: Using Phonon instead of QSound now. 2. SOLVED EDIT: This issue is only present when doing a run with MADDE. Once the app is properly installed there is no issue. I can't access the /home/user/MyDocs/.sounds directory with native dialog. With the following setting it works, but that dialog is not very finger friendly: Code:
QFileDialog::DontUseNativeDialog 4. SOLVED How to optify this app. 5. DONE Thanks to Juxxxer! And finally, could someone please make an icon for this app. I absolutely stink with anything that requires even only very basic drawing skills. :D Countdwon Timer is now available in Extras-Devel. :) Here are the source files. |
Re: Qt Project: Countdown timer
OK, here is some more info about the sound problem:
I'm using QSound::play(fileName). This works fine in Windows, but I get no sound in N900. I'm also trying to test Phonon::MediaObject, but I don't seem to have the necessary libraries on my 64 bit Windows 7 for it to work. |
Re: Qt Project: Countdown timer
Hi,
Quote:
Quote:
Quote:
Quote:
Daniel |
Re: Qt Project: Countdown timer
Quote:
thats what Ive done at the moment for a QT app I created. Read about this debian/optify in the maemo mailing list as Daniel has mentioned, need to try it out. cheers |
Re: Qt Project: Countdown timer
1 Attachment(s)
Quote:
This is what I did now (with no success so far): I created the CountdownTimer.desktop file in the /src directory (I also tried without the Icon line, since I don't have any icons yet): Code:
[Desktop Entry] Code:
TARGET = timer Code:
mad dpkg-buildpackage |
Re: Qt Project: Countdown timer
Quote:
thats where it should be. And, Ive still not managed to add this as a widget, but I can add it as a shortcut to app on the home desktop. |
Re: Qt Project: Countdown timer
Quote:
|
Re: Qt Project: Countdown timer
Quote:
this can be configured in the .pro file. something like desktop.files = <<your .desktop file> desktop.path = /usr/share/applications/hildon INSTALLS += desktop EDIT:: oops I read between the lines. No the shortcut wont appear automatically after installing your app using dpkg. You need to manually create a shortcut from the home screen. This is the info I have with my limited knowledge. |
Re: Qt Project: Countdown timer
Quote:
Daniel |
Re: Qt Project: Countdown timer
Hi, do you know any information about the logo size (in pixels). I could be interested to do something :)
Edit: Or are those svg pics? Should I look Hildon documentation or QT documentation about what kind of format etc this logo needs to be? Are there any examples around? Jux |
All times are GMT. The time now is 15:01. |
vBulletin® Version 3.8.8