MythBrowser Class Reference

#include <mythbrowser.h>

Inheritance diagram for MythBrowser:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Slots

void slotOpenURL (const QString &url)

Public Member Functions

 MythBrowser (MythScreenStack *parent, QStringList &urlList, float zoom)
 ~MythBrowser ()
bool Create (void)
bool keyPressEvent (QKeyEvent *)
 Key event handler.
void setDefaultSaveDirectory (const QString saveDir)
void setDefaultSaveFilename (const QString saveFile)
MythImagegetDefaultFavIcon (void)

Protected Slots

void slotZoomIn ()
void slotZoomOut ()
void slotBack ()
void slotForward ()
void slotEnterURL (void)
void slotAddTab (const QString &url="", bool doSwitch=true)
void slotDeleteTab (void)
void slotAddBookmark (void)
void slotLoadStarted (void)
void slotLoadFinished (bool OK)
void slotLoadProgress (int progress)
void slotTitleChanged (const QString &title)
void slotStatusBarMessage (const QString &text)
void slotTabSelected (MythUIButtonListItem *item)
void slotTabLosingFocus (void)

Private Member Functions

MythUIWebBrowseractiveBrowser (void)
void switchTab (int newTab)

Private Attributes

QStringList m_urlList
MythUIButtonListm_pageList
QList< WebPage * > m_browserList
MythUIProgressBarm_progressBar
MythUITextm_titleText
MythUITextm_statusText
int m_currentBrowser
QUrl m_url
float m_zoom
QString m_defaultSaveDir
QString m_defaultSaveFilename
Bookmark m_editBookmark
MythDialogBoxm_menuPopup
MythImagem_defaultFavIcon

Friends

class WebPage

Detailed Description

Definition at line 16 of file mythbrowser.h.


Constructor & Destructor Documentation

MythBrowser::MythBrowser ( MythScreenStack parent,
QStringList &  urlList,
float  zoom 
)

Definition at line 21 of file mythbrowser.cpp.

MythBrowser::~MythBrowser (  ) 

Definition at line 33 of file mythbrowser.cpp.


Member Function Documentation

bool MythBrowser::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 40 of file mythbrowser.cpp.

Referenced by handleMedia(), and BookmarkManager::slotShowMarked().

bool MythBrowser::keyPressEvent ( QKeyEvent *   )  [virtual]

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 296 of file mythbrowser.cpp.

void MythBrowser::setDefaultSaveDirectory ( const QString  saveDir  )  [inline]

Definition at line 28 of file mythbrowser.h.

Referenced by handleMedia().

void MythBrowser::setDefaultSaveFilename ( const QString  saveFile  )  [inline]

Definition at line 29 of file mythbrowser.h.

Referenced by handleMedia().

MythImage* MythBrowser::getDefaultFavIcon ( void   )  [inline]

Definition at line 30 of file mythbrowser.h.

Referenced by WebPage::slotIconChanged().

void MythBrowser::slotOpenURL ( const QString &  url  )  [slot]

Definition at line 202 of file mythbrowser.cpp.

Referenced by Create(), and slotEnterURL().

void MythBrowser::slotZoomIn (  )  [protected, slot]

Definition at line 217 of file mythbrowser.cpp.

Referenced by keyPressEvent().

void MythBrowser::slotZoomOut (  )  [protected, slot]

Definition at line 212 of file mythbrowser.cpp.

Referenced by keyPressEvent().

void MythBrowser::slotBack (  )  [protected, slot]

Definition at line 222 of file mythbrowser.cpp.

Referenced by keyPressEvent().

void MythBrowser::slotForward (  )  [protected, slot]

Definition at line 227 of file mythbrowser.cpp.

Referenced by keyPressEvent().

void MythBrowser::slotEnterURL ( void   )  [protected, slot]

Definition at line 116 of file mythbrowser.cpp.

Referenced by keyPressEvent().

void MythBrowser::slotAddTab ( const QString &  url = "",
bool  doSwitch = true 
) [protected, slot]

Definition at line 132 of file mythbrowser.cpp.

Referenced by Create(), and keyPressEvent().

void MythBrowser::slotDeleteTab ( void   )  [protected, slot]

Definition at line 162 of file mythbrowser.cpp.

Referenced by keyPressEvent().

void MythBrowser::slotAddBookmark ( void   )  [protected, slot]

Definition at line 232 of file mythbrowser.cpp.

Referenced by keyPressEvent().

void MythBrowser::slotLoadStarted ( void   )  [protected, slot]

Definition at line 248 of file mythbrowser.cpp.

void MythBrowser::slotLoadFinished ( bool  OK  )  [protected, slot]

Definition at line 255 of file mythbrowser.cpp.

void MythBrowser::slotLoadProgress ( int  progress  )  [protected, slot]

Definition at line 263 of file mythbrowser.cpp.

Referenced by Create(), and slotAddTab().

void MythBrowser::slotTitleChanged ( const QString &  title  )  [protected, slot]

Definition at line 269 of file mythbrowser.cpp.

void MythBrowser::slotStatusBarMessage ( const QString &  text  )  [protected, slot]

Definition at line 276 of file mythbrowser.cpp.

Referenced by Create(), keyPressEvent(), slotAddTab(), and slotTabSelected().

void MythBrowser::slotTabSelected ( MythUIButtonListItem item  )  [protected, slot]

Definition at line 282 of file mythbrowser.cpp.

Referenced by Create().

void MythBrowser::slotTabLosingFocus ( void   )  [protected, slot]

Definition at line 291 of file mythbrowser.cpp.

MythUIWebBrowser * MythBrowser::activeBrowser ( void   )  [private]
void MythBrowser::switchTab ( int  newTab  )  [private]

Definition at line 181 of file mythbrowser.cpp.

Referenced by Create(), slotDeleteTab(), and slotTabSelected().


Friends And Related Function Documentation

friend class WebPage [friend]

Definition at line 82 of file mythbrowser.h.

Referenced by Create(), and slotAddTab().


Member Data Documentation

QStringList MythBrowser::m_urlList [private]

Definition at line 62 of file mythbrowser.h.

Referenced by Create().

Definition at line 66 of file mythbrowser.h.

Referenced by Create(), slotLoadFinished(), and slotLoadProgress().

Definition at line 67 of file mythbrowser.h.

Referenced by Create().

Definition at line 68 of file mythbrowser.h.

Referenced by Create(), and slotStatusBarMessage().

Definition at line 70 of file mythbrowser.h.

Referenced by activeBrowser(), slotDeleteTab(), and switchTab().

QUrl MythBrowser::m_url [private]

Definition at line 71 of file mythbrowser.h.

float MythBrowser::m_zoom [private]

Definition at line 72 of file mythbrowser.h.

Referenced by Create(), and slotAddTab().

QString MythBrowser::m_defaultSaveDir [private]

Definition at line 73 of file mythbrowser.h.

Referenced by Create(), and setDefaultSaveDirectory().

Definition at line 74 of file mythbrowser.h.

Referenced by Create(), and setDefaultSaveFilename().

Definition at line 76 of file mythbrowser.h.

Referenced by slotAddBookmark().

Definition at line 78 of file mythbrowser.h.

Referenced by keyPressEvent().

Definition at line 80 of file mythbrowser.h.

Referenced by Create(), and getDefaultFavIcon().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:14 2012 for MythTV by  doxygen 1.6.3