#include <uitypes.h>

Definition at line 674 of file uitypes.h.
Public Slots | |
| void | refresh () |
| void | IntervalTimeout () |
Public Member Functions | |
| UIAnimatedImageType (const QString &, const QString &, int, int, int, int, QPoint) | |
| ~UIAnimatedImageType () | |
| QPoint | DisplayPos () |
| void | SetPosition (QPoint pos) |
| void | SetFlex (bool flex) |
| void | SetFilename (QString file) |
| void | SetSize (int x, int y) |
| void | SetSkip (int x, int y) |
| void | SetImageCount (int count) |
| int | GetImageCount () |
| void | SetInterval (int interval) |
| int | GetInterval () |
| void | SetStartInterval (int interval) |
| int | GetStartInterval () |
| void | SetWindow (MythDialog *win) |
| void | LoadImages () |
| void | Pause () |
| void | UnPause () |
| bool | IsPaused () |
| void | NextImage () |
| void | PreviousImage () |
| void | GotoFirstImage () |
| QSize | GetSize (bool scaled=false) |
| virtual void | Draw (QPainter *, int, int) |
Protected Member Functions | |
| void | InitImageCache () |
| void | ClearImages () |
| bool | LoadImage (int imageNo) |
Protected Attributes | |
| QPoint | m_displaypos |
| QString | orig_filename |
| QString | m_filename |
| bool | m_isvalid |
| bool | m_flex |
| bool | m_show |
| int | m_drop_x |
| int | m_drop_y |
| int | m_force_x |
| int | m_force_y |
| int | m_imagecount |
| int | m_currentimage |
| int | m_interval |
| int | m_startinterval |
| vector< QPixmap * > * | imageList |
| QTimer | timer |
| MythDialog * | m_window |
| UIAnimatedImageType::UIAnimatedImageType | ( | const QString & | name, | |
| const QString & | filename, | |||
| int | imagecount, | |||
| int | interval, | |||
| int | startinterval, | |||
| int | dorder, | |||
| QPoint | displaypos | |||
| ) |
Definition at line 1523 of file uitypes.cpp.
| UIAnimatedImageType::~UIAnimatedImageType | ( | ) |
Definition at line 1553 of file uitypes.cpp.
| QPoint UIAnimatedImageType::DisplayPos | ( | ) | [inline] |
| void UIAnimatedImageType::SetPosition | ( | QPoint | pos | ) | [inline] |
| void UIAnimatedImageType::SetFlex | ( | bool | flex | ) | [inline] |
| void UIAnimatedImageType::SetFilename | ( | QString | file | ) | [inline] |
| void UIAnimatedImageType::SetSize | ( | int | x, | |
| int | y | |||
| ) | [inline] |
Definition at line 687 of file uitypes.h.
Referenced by XMLParse::parseAnimatedImage(), and AnimatedImageScreen::prepareWidget().
| void UIAnimatedImageType::SetSkip | ( | int | x, | |
| int | y | |||
| ) | [inline] |
| void UIAnimatedImageType::SetImageCount | ( | int | count | ) |
| void UIAnimatedImageType::SetInterval | ( | int | interval | ) | [inline] |
| void UIAnimatedImageType::SetStartInterval | ( | int | interval | ) | [inline] |
| void UIAnimatedImageType::SetWindow | ( | MythDialog * | win | ) | [inline] |
| void UIAnimatedImageType::LoadImages | ( | ) |
Definition at line 1588 of file uitypes.cpp.
Referenced by AnimatedImageScreen::prepareWidget(), WeatherScreen::prepareWidget(), and SetImageCount().
| void UIAnimatedImageType::Pause | ( | void | ) |
| void UIAnimatedImageType::UnPause | ( | ) |
| void UIAnimatedImageType::NextImage | ( | ) |
Definition at line 1737 of file uitypes.cpp.
| void UIAnimatedImageType::PreviousImage | ( | ) |
Definition at line 1749 of file uitypes.cpp.
| void UIAnimatedImageType::GotoFirstImage | ( | ) | [inline] |
| QSize UIAnimatedImageType::GetSize | ( | bool | scaled = false |
) | [inline] |
| void UIAnimatedImageType::Draw | ( | QPainter * | dr, | |
| int | drawlayer, | |||
| int | context | |||
| ) | [virtual] |
| void UIAnimatedImageType::refresh | ( | ) | [virtual, slot] |
Reimplemented from UIType.
Definition at line 1687 of file uitypes.cpp.
Referenced by IntervalTimeout(), LoadImages(), NextImage(), and PreviousImage().
| void UIAnimatedImageType::IntervalTimeout | ( | ) | [slot] |
| void UIAnimatedImageType::InitImageCache | ( | ) | [protected] |
Definition at line 1559 of file uitypes.cpp.
Referenced by LoadImages(), SetImageCount(), and UIAnimatedImageType().
| void UIAnimatedImageType::ClearImages | ( | ) | [protected] |
Definition at line 1571 of file uitypes.cpp.
Referenced by InitImageCache(), and ~UIAnimatedImageType().
| bool UIAnimatedImageType::LoadImage | ( | int | imageNo | ) | [protected] |
QPoint UIAnimatedImageType::m_displaypos [protected] |
Definition at line 721 of file uitypes.h.
Referenced by Draw(), refresh(), and UIAnimatedImageType().
QString UIAnimatedImageType::orig_filename [protected] |
QString UIAnimatedImageType::m_filename [protected] |
bool UIAnimatedImageType::m_isvalid [protected] |
bool UIAnimatedImageType::m_flex [protected] |
bool UIAnimatedImageType::m_show [protected] |
int UIAnimatedImageType::m_drop_x [protected] |
int UIAnimatedImageType::m_drop_y [protected] |
int UIAnimatedImageType::m_force_x [protected] |
int UIAnimatedImageType::m_force_y [protected] |
int UIAnimatedImageType::m_imagecount [protected] |
Definition at line 731 of file uitypes.h.
Referenced by LoadImage(), LoadImages(), SetImageCount(), and UIAnimatedImageType().
int UIAnimatedImageType::m_currentimage [protected] |
Definition at line 732 of file uitypes.h.
Referenced by Draw(), IntervalTimeout(), NextImage(), PreviousImage(), and UIAnimatedImageType().
int UIAnimatedImageType::m_interval [protected] |
Definition at line 733 of file uitypes.h.
Referenced by IntervalTimeout(), UIAnimatedImageType(), and UnPause().
int UIAnimatedImageType::m_startinterval [protected] |
Definition at line 734 of file uitypes.h.
Referenced by IntervalTimeout(), and UIAnimatedImageType().
vector<QPixmap *>* UIAnimatedImageType::imageList [protected] |
Definition at line 735 of file uitypes.h.
Referenced by ClearImages(), Draw(), InitImageCache(), IntervalTimeout(), LoadImage(), NextImage(), PreviousImage(), refresh(), UIAnimatedImageType(), and ~UIAnimatedImageType().
QTimer UIAnimatedImageType::timer [protected] |
Definition at line 736 of file uitypes.h.
Referenced by IntervalTimeout(), NextImage(), Pause(), PreviousImage(), UIAnimatedImageType(), and UnPause().
MythDialog* UIAnimatedImageType::m_window [protected] |
1.5.5