Editing QSportsEvent
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
The thread to follow on talk.maemo.org is [http://talk.maemo.org/showthread.php?t=49508 QSportsEvent - FIFA World Cup and Football App]. | The thread to follow on talk.maemo.org is [http://talk.maemo.org/showthread.php?t=49508 QSportsEvent - FIFA World Cup and Football App]. | ||
- | |||
- | |||
==Installation== | ==Installation== | ||
- | + | Do '''not''' install '''QSportsEvent''' from [[extras-devel]] at the moment as you are likely to encounter dependency issues. The long story is long, the short story is that Qt apps need PR1.2 to be released. | |
- | + | ||
- | + | ||
- | + | '''Fremantle (Nokia N900)''' | |
# Manually uninstall any previous versions first (I've never tested installing on top on an existing one) | # Manually uninstall any previous versions first (I've never tested installing on top on an existing one) | ||
# Your database will be replaced, so you will loose all your favourites and all URLs you have entered (I will try to figure out a solution for this...) | # Your database will be replaced, so you will loose all your favourites and all URLs you have entered (I will try to figure out a solution for this...) | ||
# The app does use your Internet connection and there is no 'optimization'. The pages and data downloaded are not huge, so there should not be a big problem, but at least you've been warned... | # The app does use your Internet connection and there is no 'optimization'. The pages and data downloaded are not huge, so there should not be a big problem, but at least you've been warned... | ||
- | # There is a dependency on <code>libqt4-webkit | + | # There is a dependency on <code>libqt4-webkit</code>. If you need it, you have to [[root access|be root]] and once you are, you can do:<pre>apt-get install libqt4-webkit</pre> |
- | # Install the .deb file manually from [http:// | + | # Install the .deb file manually from [http://talk.maemo.org/showthread.php?p=629138#post629138 this post] and launch it from the file manager. |
- | + | ||
- | + | ||
If you don't know how to do that you should probably wait for it to appear in the repositories. | If you don't know how to do that you should probably wait for it to appear in the repositories. | ||
- | + | '''Diablo (Nokia 8xx)''' | |
- | For Diablo it IS possible to download from Extras-Devel! Some users have reported issues with the 'SQL plugin'. | + | For Diablo it IS possible to download from Extras-Devel! Some users have reported issues with the 'SQL plugin' (insert link to relevant post here.), however, some are able to use the app. |
- | + | ||
- | + | ||
- | + | ||
==User Guide== | ==User Guide== | ||
Line 42: | Line 33: | ||
#Matches | #Matches | ||
#Table | #Table | ||
- | #News | + | #News<br />This will render the URL that was selected for the current league. Currently, the RSS feed is rendered as 'raw' XML data. Attempts have been made to make it more readable through applying a Cascading Style Sheet (CSS). Due to limited knowledge of CSS, there is more work to do on this, so the community is encouraged to give a helping hand. The current state of the CSS can be found in [http://talk.maemo.org/showpost.php?p=626524&postcount=258 this] post. |
#Update Score | #Update Score | ||
Line 48: | Line 39: | ||
==UI Customization== | ==UI Customization== | ||
- | One of the new features is that the UI will be somewhat 'user configurable'. In Qt, stylesheets can be applied to application widgets. These stylesheets can be read from a file and be changed in runtime. There will be a .qsportsevent/user folder where you can put your own matches.css, table.css, select | + | One of the new features is that the UI will be somewhat 'user configurable'. In Qt, stylesheets can be applied to application widgets. These stylesheets can be read from a file and be changed in runtime. There will be a .qsportsevent/user folder where you can put your own matches.css, table.css, select.css and favourites.css files with the stylesheets to be used in those respective tabs of the application. Instructions as to exactly what and how you can use it can be found in the Qt [documentation|http://doc.qt.nokia.com/4.6/stylesheet-syntax.html] and [tutorial|thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/]. As an example, it should be possible for you to change the background image (your favourite team's stadium? a team picture? your girlfriend??) and the appearance of the 'matches' and 'table' tables. |
- | + | ||
- | + | ||
Example: | Example: | ||
- | + | [CODE] | |
- | background-image: url( | + | background-image: url(<full path to the image you want to use>); |
- | + | [/CODE] | |
In the sample file, the full path is preceeded by a ':' character. You should NOT use it! It is only needed when the item is taken from a Qt resource file. For user customization you will take it directly from the file system, so you shouldn't use that prefix! | In the sample file, the full path is preceeded by a ':' character. You should NOT use it! It is only needed when the item is taken from a Qt resource file. For user customization you will take it directly from the file system, so you shouldn't use that prefix! | ||
- | The other 'user configurable' feature is the rendering of the RSS feeds. You'll find this file in .qsportsevent | + | The other 'user configurable' feature is the rendering of the RSS feeds. You'll find this file in .qsportsevent/rss.xsl. |
Find samples in the attachment. Please note that the default implementation has the same stylesheet for all tabs, so I only attach one example. To be able to upload files to TMO, they have to have an 'acceptable' extension, that's why I had to add .txt. You don't need that on the device. | Find samples in the attachment. Please note that the default implementation has the same stylesheet for all tabs, so I only attach one example. To be able to upload files to TMO, they have to have an 'acceptable' extension, that's why I had to add .txt. You don't need that on the device. | ||
Line 75: | Line 64: | ||
Version '''0.0.5''' (Previous) was downloaded 99 times. | Version '''0.0.5''' (Previous) was downloaded 99 times. | ||
- | Version '''0.0.6''' ( | + | Version '''0.0.6''' ('''Current''') was released on Tuesday 27th April. The main changes are: |
#It is now possible to download full league information from SoccerDB, both current and historical data. Two new 'tabs' are available for that purpose: 'Downloaded Matches' and 'Downloaded Table'. | #It is now possible to download full league information from SoccerDB, both current and historical data. Two new 'tabs' are available for that purpose: 'Downloaded Matches' and 'Downloaded Table'. | ||
Line 84: | Line 73: | ||
- | Version '''0.0.7 | + | Version '''0.0.7''' (Future) will include the following. Tentative release date is 5-10 days after 0.0.6: |
- | # | + | #Flag icons instead of country name in the 'regions' of the 'Favourites' tab. |
- | #In the 'Downloaded Matches' tab is possible to select by Team as well as by round. | + | #New about page, potentially with a link to this Wiki. |
- | #When a RSS URL is selected, | + | #In the 'Downloaded Table' tab, it should be possible to view the table standings for a specific round, not only the most recent situation. |
- | # | + | #In the 'Downloaded Matches' tab is should be possible to select by Team as well as by round. |
- | # | + | #When a RSS URL is selected, a CSS will be applied to it to render it in a more readable fashion. |
+ | #Some surprises? We'll see what time will allow... | ||
+ | #If PR1.2 is released, this might make it to Extras-Devel, but don't count on it too much... | ||
- | |||
- | + | Version '''0.0.8''' (Future) | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
#Bugfix version only. | #Bugfix version only. | ||
#This will be the candidate for pushing to Extras-Testing. Help will be needed for testing this one. | #This will be the candidate for pushing to Extras-Testing. Help will be needed for testing this one. | ||
- | + | ||
+ | |||
+ | Version '''0.0.9''' (Future) | ||
+ | |||
+ | #Reserve version | ||
+ | |||
Version '''0.1.0''' (Future) | Version '''0.1.0''' (Future) |
Learn more about Contributing to the wiki.