From: Flavio Tordini Date: Thu, 25 Jun 2009 15:34:07 +0000 (+0200) Subject: Deleted videowidget class X-Git-Tag: 0.4~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d1dd5a23b58dd2063e43c996286a9453e0f5f1ad;p=minitube Deleted videowidget class Created data dir --- diff --git a/CHANGES b/CHANGES index 2973ab9..7f86748 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ - Unified (i.e. cool) toolbar on the Mac - Display title and description while loading the video - es_AR (argentin spanish) translation, thanks to Sergio Tocalini Joerg +- Keyboard shortcuts now work when in full screen mode 0.3 - June 15, 2009 - Can sort videos by relevance, date and popularity diff --git a/TODO b/TODO index 7b30f6e..66221db 100644 --- a/TODO +++ b/TODO @@ -3,12 +3,10 @@ - Always remember the playlist width - Investigate ways to ensure Minitube never ever stops playing - Truncate overflowing text in the playlist -- Crash occurring on stop/seach/stop/search - Hide the mouse cursor in full screen mode * Features -- Build system PREFIX thing -- Show buffering progress and title of the video +- Show buffering progress (when Phonon backends will work) - Windows build - Clear recent keywords - Video download @@ -17,6 +15,7 @@ - Mark playlist items that have errors - Settings: number of "Recent Keywords", Phonon settings - Accept YouTube URLs in the search box +- Accept any URL and scrape web pages searching for YouTube videos - Search autocomplete - Dragndrop on video widget - Controls in Fullscreen mode diff --git a/data/minitube.svg b/data/minitube.svg new file mode 100644 index 0000000..5d2670d --- /dev/null +++ b/data/minitube.svg @@ -0,0 +1,382 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minitube.pro b/minitube.pro index 65fc040..eb397e5 100755 --- a/minitube.pro +++ b/minitube.pro @@ -102,10 +102,9 @@ unix { icon32 \ icon128 translations.path = $$PKGDATADIR - translations.files += .qm/locale + translations.files += $$DESTDIR/locale desktop.path = $$DATADIR/applications desktop.files += minitube.desktop - # iconxpm.path = $$DATADIR/pixmaps # iconxpm.files += data/minitube.xpm iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps diff --git a/src/videowidget.cpp b/src/videowidget.cpp deleted file mode 100644 index 1dffda5..0000000 --- a/src/videowidget.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "videowidget.h" - -VideoWidget::VideoWidget(QWidget *parent) : Phonon::VideoWidget(parent) { - -} - -void VideoWidget::mouseDoubleClickEvent(QMouseEvent *event) { - switch(event->button()) { - case Qt::LeftButton: - emit doubleClicked(); - break; - case Qt::RightButton: - - break; - } -} - -void VideoWidget::mousePressEvent(QMouseEvent *event) { - switch(event->button()) { - case Qt::LeftButton: - - break; - case Qt::RightButton: - emit rightClicked(); - break; - } -} diff --git a/src/videowidget.h b/src/videowidget.h deleted file mode 100644 index 76ef108..0000000 --- a/src/videowidget.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef VIDEOWIDGET_H -#define VIDEOWIDGET_H - -#include -#include - -class VideoWidget : public Phonon::VideoWidget { - - Q_OBJECT - -public: - VideoWidget(QWidget *parent); - -signals: - void doubleClicked(); - void rightClicked(); - -protected: - void mouseDoubleClickEvent(QMouseEvent *event); - void mousePressEvent(QMouseEvent *event); - -}; - -#endif // VIDEOWIDGET_H diff --git a/svg/tv.svg b/svg/tv.svg deleted file mode 100644 index 5d2670d..0000000 --- a/svg/tv.svg +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - -