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</code> and <code>libqt4-xmlpatterns</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 libqt4-xmlpatterns</pre> | + | # There is a dependency on <code>libqt4-webkit</code> and <code>libqt4-xmlpatterns</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:// | + | and |
+ | <pre>apt-get install libqt4-xmlpatterns</pre> | ||
+ | # Install the .deb file manually from [http://talk.maemo.org/showthread.php?p=646591&posted=1#post646591 this post] and launch it from the file manager. | ||
Please note that, just like with the previous dependency, it seems that the app dies the first time you try to launch it. After that, it should be OK. | Please note that, just like with the previous dependency, it seems that the app dies the first time you try to launch it. After that, it should be OK. | ||
Line 29: | Line 27: | ||
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 37: | ||
#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 43: | ||
==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 [http://doc.qt.nokia.com/4.6/stylesheet-syntax.html documentation] and [http://thesmithfam.org/blog/2009/09/10/qt-stylesheets-tutorial/ 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: | ||
<pre> | <pre> | ||
- | background-image: url( | + | background-image: url(<full path to the image you want to use>); |
</pre> | </pre> | ||
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 68: | ||
Version '''0.0.5''' (Previous) was downloaded 99 times. | Version '''0.0.5''' (Previous) was downloaded 99 times. | ||
- | Version '''0.0.6''' (Previous) was downloaded 51 | + | Version '''0.0.6''' (Previous) was downloaded 51 time. It was released on Tuesday 27th April. The main changes were: |
#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 77: | ||
- | Version '''0.0.7 - Stadio Olimpico di Roma''' ( | + | Version '''0.0.7 - Stadio Olimpico di Roma''' (Current) was released on Thursday 6th May. The main changes are: |
#Much faster download of full league results. Now it should take 3-5 seconds. | #Much faster download of full league results. Now it should take 3-5 seconds. | ||
#In the 'Downloaded Matches' tab is possible to select by Team as well as by round. | #In the 'Downloaded Matches' tab is possible to select by Team as well as by round. | ||
- | #When a RSS URL is selected, | + | #When a RSS URL is selected, a CSS will be applied to it to render it in a readable fashion. |
#Partially user configurable UI using Qt widget stylesheets and XSL for the news page. | #Partially user configurable UI using Qt widget stylesheets and XSL for the news page. | ||
#Did I mention live scores? | #Did I mention live scores? | ||
- | Version '''0.0.8 - | + | Version '''0.0.8 - Stamford Bridge''' (Future) |
#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 Table' tab, it should be possible to view the table standings for a specific round, not only the most recent situation. | ||
- | # | + | #New about page, potentially with a link to this Wiki. |
- | + | #Flag icons instead of country name in the 'regions' of the 'Favourites' tab. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | #Flag icons instead of country name in the 'regions' of the 'Favourites' tab | + | |
#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. | ||
#If PR1.2 is released, this might make it to Extras-Devel, but don't count on it too much... | #If PR1.2 is released, this might make it to Extras-Devel, but don't count on it too much... | ||
- | Version '''0.1.0''' (Future) | + | |
+ | Version '''0.0.9 - San Siro''' (Future) | ||
+ | |||
+ | #Reserve version | ||
+ | |||
+ | Version '''0.1.0 - Santiago Bernabeu''' (Future) | ||
#This is the one for Extras-Testing and (hopefully...) Extras | #This is the one for Extras-Testing and (hopefully...) Extras |
Learn more about Contributing to the wiki.