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