92 QPixmap pixmap = icon.pixmap(32, 32);
93 QImage image = pixmap.toImage();
95 QSize(32,32), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
MythImage * GetDefaultFavIcon(void)
MythUIButtonList * m_pageList
void Assign(const QImage &img)
int DecrRef(void) override
Decrements reference count and deletes on 0.
MythImage * GetFormatImage()
Returns a blank reference counted image in the format required for the Draw functions for this painte...
Wrapper around QRect allowing us to handle percentage and other relative values for areas in mythui.
virtual void SetArea(const MythRect &rect)
void DeleteChild(const QString &name)
Delete a named child of this UIType.
QString GetTitle(void)
Gets the current page's title.
void iconChanged(const QIcon &icon)
link hit test messages
void titleChanged(const QString &title)
% of page loaded
void Init(void)
Initializes the widget ready for use.
void SetActive(bool active)
Toggles the active state of the widget.
void statusBarMessage(const QString &text)
a pages title has changed
void loadProgress(int progress)
a page has finished loading
void loadFinished(bool ok)
a page is starting to load
MythUIWebBrowser * m_browser
void SetActive(bool active)
MythUIButtonListItem * m_listItem
void slotLoadStarted(void)
void slotLoadFinished(bool OK)
WebPage(MythBrowser *parent, QRect area, const char *name)
void slotIconChanged(const QIcon &icon)
void loadProgress(int progress)
void slotStatusBarMessage(const QString &text)
void loadFinished(bool OK)
void slotLoadProgress(int progress)
void statusBarMessage(const QString &text)
void slotTitleChanged(const QString &title)
MythPainter * GetMythPainter(void)