#include <videogallery.h>

Definition at line 21 of file videogallery.h.
Public Member Functions | |
| VideoGallery (MythMainWindow *lparent, const QString &lname, VideoList *video_list) | |
Protected Slots | |
| void | moveCursor (const QString &action) |
| void | exitWin () |
| void | slotChangeView () |
| void | handleVideoSelect () |
Protected Member Functions | |
| ~VideoGallery () | |
| virtual void | parseContainer (QDomElement &element) |
| virtual void | fetchVideos () |
| void | doMenu (bool info=false) |
| void | paintEvent (QPaintEvent *e) |
| void | keyPressEvent (QKeyEvent *e) |
| bool | handleSelect () |
| void | handleDirSelect () |
| void | handleUpDirSelect () |
| bool | goBack () |
Private Member Functions | |
| void | LoadIconWindow () |
| void | updateText (QPainter *p) |
| void | updateView (QPainter *p) |
| void | updateArrows (QPainter *p) |
| void | updateSingleIcon (QPainter *p, int lx, int ly) |
| void | drawIcon (QPainter *p, GenericTree *curTreePos, int curPos, int xpos, int ypos) |
| void | positionIcon () |
| void | computeLastRowCol (int list_count) |
Private Attributes | |
| bool | subtitleOn |
| bool | keepAspectRatio |
| QRect | textRect |
| QRect | viewRect |
| QRect | arrowsRect |
| QPixmap | backRegPix |
| QPixmap | backSelPix |
| QPixmap | folderRegPix |
| QPixmap | folderSelPix |
| int | currRow |
| int | currCol |
| int | lastRow |
| int | lastCol |
| int | topRow |
| int | nRows |
| int | nCols |
| int | spaceW |
| int | spaceH |
| int | thumbW |
| int | thumbH |
| bool | allowselect |
| GenericTree * | video_tree_root |
| GenericTree * | where_we_are |
| VideoGallery::VideoGallery | ( | MythMainWindow * | lparent, | |
| const QString & | lname, | |||
| VideoList * | video_list | |||
| ) |
Definition at line 33 of file videogallery.cpp.
| VideoGallery::~VideoGallery | ( | ) | [inline, protected] |
Definition at line 36 of file videogallery.h.
| void VideoGallery::moveCursor | ( | const QString & | action | ) | [protected, slot] |
| void VideoGallery::exitWin | ( | ) | [protected, slot] |
| void VideoGallery::slotChangeView | ( | ) | [protected, slot] |
Definition at line 762 of file videogallery.cpp.
| void VideoGallery::handleVideoSelect | ( | ) | [protected, slot] |
| void VideoGallery::parseContainer | ( | QDomElement & | element | ) | [protected, virtual] |
| void VideoGallery::fetchVideos | ( | ) | [protected, virtual] |
Reimplemented from VideoDialog.
Definition at line 153 of file videogallery.cpp.
Referenced by slotChangeView(), and VideoGallery().
| void VideoGallery::doMenu | ( | bool | info = false |
) | [protected] |
Reimplemented from VideoDialog.
Definition at line 492 of file videogallery.cpp.
Referenced by keyPressEvent().
| void VideoGallery::paintEvent | ( | QPaintEvent * | e | ) | [protected] |
Definition at line 199 of file videogallery.cpp.
| void VideoGallery::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
| bool VideoGallery::handleSelect | ( | ) | [protected] |
| void VideoGallery::handleDirSelect | ( | ) | [protected] |
| void VideoGallery::handleUpDirSelect | ( | ) | [protected] |
| bool VideoGallery::goBack | ( | ) | [protected] |
| void VideoGallery::LoadIconWindow | ( | ) | [private] |
| void VideoGallery::updateText | ( | QPainter * | p | ) | [private] |
| void VideoGallery::updateView | ( | QPainter * | p | ) | [private] |
| void VideoGallery::updateArrows | ( | QPainter * | p | ) | [private] |
| void VideoGallery::updateSingleIcon | ( | QPainter * | p, | |
| int | lx, | |||
| int | ly | |||
| ) | [private] |
| void VideoGallery::drawIcon | ( | QPainter * | p, | |
| GenericTree * | curTreePos, | |||
| int | curPos, | |||
| int | xpos, | |||
| int | ypos | |||
| ) | [private] |
Definition at line 351 of file videogallery.cpp.
Referenced by updateSingleIcon(), and updateView().
| void VideoGallery::positionIcon | ( | ) | [private] |
| void VideoGallery::computeLastRowCol | ( | int | list_count | ) | [private] |
Definition at line 147 of file videogallery.cpp.
Referenced by fetchVideos(), handleDirSelect(), and positionIcon().
bool VideoGallery::subtitleOn [private] |
Definition at line 62 of file videogallery.h.
Referenced by drawIcon(), LoadIconWindow(), and VideoGallery().
bool VideoGallery::keepAspectRatio [private] |
Definition at line 63 of file videogallery.h.
QRect VideoGallery::textRect [private] |
Definition at line 65 of file videogallery.h.
Referenced by moveCursor(), paintEvent(), parseContainer(), and updateText().
QRect VideoGallery::viewRect [private] |
Definition at line 66 of file videogallery.h.
Referenced by LoadIconWindow(), moveCursor(), paintEvent(), parseContainer(), updateSingleIcon(), and updateView().
QRect VideoGallery::arrowsRect [private] |
Definition at line 67 of file videogallery.h.
Referenced by moveCursor(), paintEvent(), parseContainer(), and updateArrows().
QPixmap VideoGallery::backRegPix [private] |
QPixmap VideoGallery::backSelPix [private] |
QPixmap VideoGallery::folderRegPix [private] |
QPixmap VideoGallery::folderSelPix [private] |
int VideoGallery::currRow [private] |
Definition at line 74 of file videogallery.h.
Referenced by drawIcon(), fetchVideos(), handleDirSelect(), moveCursor(), and positionIcon().
int VideoGallery::currCol [private] |
Definition at line 75 of file videogallery.h.
Referenced by drawIcon(), fetchVideos(), handleDirSelect(), moveCursor(), and positionIcon().
int VideoGallery::lastRow [private] |
Definition at line 76 of file videogallery.h.
Referenced by computeLastRowCol(), fetchVideos(), moveCursor(), positionIcon(), and updateArrows().
int VideoGallery::lastCol [private] |
Definition at line 77 of file videogallery.h.
Referenced by computeLastRowCol(), fetchVideos(), and moveCursor().
int VideoGallery::topRow [private] |
Definition at line 78 of file videogallery.h.
Referenced by fetchVideos(), handleDirSelect(), moveCursor(), positionIcon(), updateArrows(), updateSingleIcon(), and updateView().
int VideoGallery::nRows [private] |
Definition at line 79 of file videogallery.h.
Referenced by LoadIconWindow(), moveCursor(), positionIcon(), updateArrows(), updateSingleIcon(), updateView(), and VideoGallery().
int VideoGallery::nCols [private] |
Definition at line 80 of file videogallery.h.
Referenced by computeLastRowCol(), drawIcon(), LoadIconWindow(), moveCursor(), positionIcon(), updateSingleIcon(), updateView(), and VideoGallery().
int VideoGallery::spaceW [private] |
Definition at line 82 of file videogallery.h.
Referenced by LoadIconWindow(), updateSingleIcon(), and updateView().
int VideoGallery::spaceH [private] |
Definition at line 83 of file videogallery.h.
Referenced by drawIcon(), LoadIconWindow(), updateSingleIcon(), and updateView().
int VideoGallery::thumbW [private] |
Definition at line 84 of file videogallery.h.
Referenced by drawIcon(), LoadIconWindow(), updateSingleIcon(), and updateView().
int VideoGallery::thumbH [private] |
Definition at line 85 of file videogallery.h.
Referenced by drawIcon(), LoadIconWindow(), updateSingleIcon(), and updateView().
bool VideoGallery::allowselect [private] |
Definition at line 87 of file videogallery.h.
Referenced by fetchVideos(), handleDirSelect(), handleSelect(), and handleUpDirSelect().
GenericTree* VideoGallery::video_tree_root [private] |
Reimplemented from VideoDialog.
Definition at line 89 of file videogallery.h.
Referenced by fetchVideos(), goBack(), handleUpDirSelect(), and keyPressEvent().
GenericTree* VideoGallery::where_we_are [private] |
Definition at line 90 of file videogallery.h.
Referenced by fetchVideos(), goBack(), handleDirSelect(), handleSelect(), handleUpDirSelect(), handleVideoSelect(), keyPressEvent(), moveCursor(), positionIcon(), updateSingleIcon(), updateText(), and updateView().
1.5.5