
Euro 2008 league table
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A simple plasmoid that pulls the current Euro 2008 tables from the UEFA website. The table will refresh every 30 mins.
This is likely to break if UEFA change the format of the page (e.g. when the group stage ends and we move into the knockout stage).
v0.2.1: Fixed a bug whereby the widgets size is set to 0. If you see this problem it can be fixed by deleting the cached image at ~/.Euro2008/Euro2008.jpg.
v0.2: Now the table is cached in ~/.Euro2008/ so the widget continues to work when you are off-line.
The tables are now timestamped.
Changed the title from "STANDINGS" to "EURO 2008 STANDINGS".
polrus
12 years ago
http://www.kde-look.org/content/show.php/Euro+2008+results,+talbles+[idea]?content=82791
You are my hero :)
If You could just add live scores using for example http://livescore.com/euro.dll and 3 miuntes refresh time this would be great
Report
morfeusz
12 years ago
(qt 4.3.4, kde 4.0.4)
Quote:# make install
[ 33%] Generating euro2008table_automoc.cpp
Scanning dependencies of target euro2008table
[ 66%] Building CXX object CMakeFiles/euro2008table.dir/euro2008table_automoc.o
[100%] Building CXX object CMakeFiles/euro2008table.dir/euro2008table.o
In file included from /home/mateusz/euro/euro2008table.cpp:20:
/home/mateusz/euro/euro2008table.h:25:21: error: QWebFrame: The file or directory does not exist.
/home/mateusz/euro/euro2008table.h:26:20: error: QWebPage: The file or directory does not exist.
In file included from /home/mateusz/euro/euro2008table.cpp:20:
/home/mateusz/euro/euro2008table.h:58: error: ISO C++ forbids declaration of ‘QWebPage’ with no type
/home/mateusz/euro/euro2008table.h:58: error: expected ‘;’ before ‘*’ token
/home/mateusz/euro/euro2008table.cpp: In constructor ‘Euro2008Table::Euro2008Table(QObject*, const QVariantList&)’:
/home/mateusz/euro/euro2008table.cpp:34: error: no matching function for call to ‘Plasma::Svg::Svg(Euro2008Table* const)’
/opt/kde4/include/KDE/Plasma/../../plasma/svg.h:88: note: candidates are: Plasma::Svg::Svg(const QString&, QObject*)
/opt/kde4/include/KDE/Plasma/../../plasma/svg.h:48: note: Plasma::Svg::Svg(const Plasma::Svg&)
/home/mateusz/euro/euro2008table.cpp:38: error: ‘class Plasma::Svg’ has no member named ‘setImagePath’
/home/mateusz/euro/euro2008table.cpp:39: error: ‘DefaultBackground’ was not declared in this scope
/home/mateusz/euro/euro2008table.cpp:39: error: ‘setBackgroundHints’ was not declared in this scope
/home/mateusz/euro/euro2008table.cpp:41: error: ‘page’ was not declared in this scope
/home/mateusz/euro/euro2008table.cpp:41: error: expected type-specifier before ‘QWebPage’
/home/mateusz/euro/euro2008table.cpp:41: error: expected `;' before ‘QWebPage’
/home/mateusz/euro/euro2008table.cpp: In destructor ‘virtual Euro2008Table::~Euro2008Table()’:
/home/mateusz/euro/euro2008table.cpp:75: error: ‘page’ was not declared in this scope
/home/mateusz/euro/euro2008table.cpp:75: error: ‘QWebPage’ has not been declared
/home/mateusz/euro/euro2008table.cpp:77: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
/home/mateusz/euro/euro2008table.cpp: In member function ‘void Euro2008Table::loaded()’:
/home/mateusz/euro/euro2008table.cpp:88: error: ‘page’ was not declared in this scope
/home/mateusz/euro/euro2008table.cpp:88: error: ‘QWebPage’ has not been declared
/home/mateusz/euro/euro2008table.cpp: In member function ‘virtual void Euro2008Table::timerEvent(QTimerEvent*)’:
/home/mateusz/euro/euro2008table.cpp:179: error: invalid use of incomplete type ‘struct QTimerEvent’
/usr/lib/qt4/include/QtCore/qobject.h:62: error: forward declaration of ‘struct QTimerEvent’
/home/mateusz/euro/euro2008table.cpp:184: error: ‘page’ was not declared in this scope
/home/mateusz/euro/euro2008table.cpp:184: error: ‘QWebPage’ has not been declared
make[2]: *** [CMakeFiles/euro2008table.dir/euro2008table.o] Error 1
make[1]: *** [CMakeFiles/euro2008table.dir/all] Error 2
make: *** [all] Error 2
Report
GeorgeNorton
12 years ago
This widget requires QT4.4 or higher as it uses the new webkit API's to render the table.
Regards,
George
Report