#include <thumbview.h>
Definition at line 15 of file thumbview.h.
Public Member Functions | |
| ThumbItem () | |
| ThumbItem (const QString &name, const QString &path, bool isDir, MythMediaDevice *dev=NULL) | |
| ~ThumbItem () | |
| bool | Remove (void) |
| void | InitCaption (bool get_caption) |
| void | SetRotationAngle (int angle) |
| void | SetName (const QString &name) |
| void | SetCaption (const QString &caption) |
| void | SetPath (const QString &path, bool isDir) |
| void | SetPixmap (QPixmap *pixmap) |
| void | SetMediaDevice (MythMediaDevice *dev) |
| long | GetRotationAngle (void) |
| QString | GetName (void) const |
| bool | HasCaption (void) const |
| QString | GetCaption (void) const |
| QString | GetPath (void) const |
| bool | IsDir (void) const |
| QString | GetDescription (const QString &status, const QSize &sz, int angle) const |
| QPixmap * | GetPixmap (void) |
| MythMediaDevice * | GetMediaDevice (void) |
Private Attributes | |
| QString | m_name |
| QString | m_caption |
| QString | m_path |
| bool | m_isDir |
| QPixmap * | m_pixmap |
| MythMediaDevice * | m_mediaDevice |
| ThumbItem::ThumbItem | ( | ) | [inline] |
Definition at line 18 of file thumbview.h.
| ThumbItem::ThumbItem | ( | const QString & | name, | |
| const QString & | path, | |||
| bool | isDir, | |||
| MythMediaDevice * | dev = NULL | |||
| ) | [inline] |
Definition at line 22 of file thumbview.h.
| ThumbItem::~ThumbItem | ( | ) |
Definition at line 16 of file thumbview.cpp.
| bool ThumbItem::Remove | ( | void | ) |
Definition at line 25 of file thumbview.cpp.
| void ThumbItem::InitCaption | ( | bool | get_caption | ) |
| void ThumbItem::SetRotationAngle | ( | int | angle | ) |
Definition at line 53 of file thumbview.cpp.
Referenced by IconView::HandleRotateCCW(), IconView::HandleRotateCW(), SingleView::Rotate(), and GLSingleView::Rotate().
| void ThumbItem::SetName | ( | const QString & | name | ) | [inline] |
Definition at line 35 of file thumbview.h.
| void ThumbItem::SetCaption | ( | const QString & | caption | ) | [inline] |
Definition at line 37 of file thumbview.h.
Referenced by InitCaption(), and SingleView::paintEvent().
| void ThumbItem::SetPath | ( | const QString & | path, | |
| bool | isDir | |||
| ) | [inline] |
| void ThumbItem::SetPixmap | ( | QPixmap * | pixmap | ) |
Definition at line 69 of file thumbview.cpp.
Referenced by IconView::customEvent(), SingleView::keyPressEvent(), GLSingleView::keyPressEvent(), IconView::LoadThumbnail(), and SetRotationAngle().
| void ThumbItem::SetMediaDevice | ( | MythMediaDevice * | dev | ) | [inline] |
Definition at line 42 of file thumbview.h.
| long ThumbItem::GetRotationAngle | ( | void | ) |
Definition at line 76 of file thumbview.cpp.
Referenced by IconView::customEvent(), IconView::HandleRotateCCW(), IconView::HandleRotateCW(), SingleView::Load(), IconView::LoadThumbnail(), and GLTexture::SetItem().
| QString ThumbItem::GetName | ( | void | ) | const [inline] |
Definition at line 47 of file thumbview.h.
Referenced by GetDescription(), IconView::HandleImport(), IconView::HandleRename(), IconView::HandleShowDevices(), GalleryUtil::LoadDirectory(), IconView::LoadThumbnail(), and ImageView::UpdateLCD().
| bool ThumbItem::HasCaption | ( | void | ) | const [inline] |
Definition at line 48 of file thumbview.h.
Referenced by InitCaption(), and SingleView::paintEvent().
| QString ThumbItem::GetCaption | ( | void | ) | const [inline] |
Definition at line 49 of file thumbview.h.
Referenced by SingleView::paintEvent(), and IconView::UpdateText().
| QString ThumbItem::GetPath | ( | void | ) | const [inline] |
Definition at line 50 of file thumbview.h.
Referenced by SingleView::DisplayNext(), GLSingleView::DisplayNext(), SingleView::DisplayPrev(), GLSingleView::DisplayPrev(), GetDescription(), IconView::HandleDeleteCurrent(), IconView::HandleItemSelect(), IconView::HandleSelectAll(), ImageView::ImageView(), SingleView::keyPressEvent(), IconView::keyPressEvent(), GLSingleView::keyPressEvent(), SingleView::Load(), GLSingleView::Load(), IconView::LoadThumbnail(), SingleView::paintEvent(), GLSingleView::paintGL(), and IconView::UpdateView().
| bool ThumbItem::IsDir | ( | void | ) | const [inline] |
Definition at line 51 of file thumbview.h.
Referenced by IconView::HandleDeleteCurrent(), IconView::HandleImageSelect(), IconView::HandleItemSelect(), IconView::HandleRename(), IconView::HandleRotateCCW(), IconView::HandleRotateCW(), ImageView::ImageView(), IconView::LoadThumbnail(), and IconView::UpdateView().
| QString ThumbItem::GetDescription | ( | const QString & | status, | |
| const QSize & | sz, | |||
| int | angle | |||
| ) | const |
Definition at line 108 of file thumbview.cpp.
Referenced by GLTexture::GetDescription(), and SingleView::paintEvent().
| QPixmap* ThumbItem::GetPixmap | ( | void | ) | [inline] |
| MythMediaDevice* ThumbItem::GetMediaDevice | ( | void | ) | [inline] |
Definition at line 57 of file thumbview.h.
Referenced by IconView::HandleItemSelect(), and IconView::HandleMediaDeviceSelect().
QString ThumbItem::m_name [private] |
QString ThumbItem::m_caption [private] |
Definition at line 61 of file thumbview.h.
Referenced by GetCaption(), HasCaption(), and SetCaption().
QString ThumbItem::m_path [private] |
Definition at line 62 of file thumbview.h.
Referenced by GetPath(), GetRotationAngle(), InitCaption(), Remove(), SetPath(), and SetRotationAngle().
bool ThumbItem::m_isDir [private] |
QPixmap* ThumbItem::m_pixmap [private] |
Definition at line 64 of file thumbview.h.
Referenced by GetPixmap(), SetPixmap(), and ~ThumbItem().
MythMediaDevice* ThumbItem::m_mediaDevice [private] |
1.5.5